Page MenuHomeFreeBSD

Update csmith to 2.3.0
ClosedPublic

Authored by mmokhi on Jun 24 2017, 9:09 AM.
Tags
None
Referenced Files
F110206686: D11337.diff
Sat, Feb 15, 2:48 AM
Unknown Object (File)
Thu, Jan 30, 6:27 AM
Unknown Object (File)
Sat, Jan 18, 8:23 PM
Unknown Object (File)
Sat, Jan 18, 8:23 PM
Unknown Object (File)
Sat, Jan 18, 8:23 PM
Unknown Object (File)
Sat, Jan 18, 8:07 PM
Unknown Object (File)
Dec 1 2024, 4:57 AM
Unknown Object (File)
Nov 1 2024, 6:19 PM
Subscribers
None

Details

Summary

It has many changes like:

Added a CMake-based build system.( as well as Autoconf-based system).

Improved ability to generate C++-compatible code. First, the
command-line option --lang-cpp now sets other options automatically
(--match-exact-qualifiers, --no-vol-struct-union-fields, and
--no-const-struct-union-fields). Second, the new command-line option
--cpp11 tells Csmith to generate C++11-compatible code. The default is
to generate C++03-compatible code. Thanks to Natalia Glagoleva for the
implementation of these features.

Added command-line options:
--global-variables / --no-global-variables: allow or disallow global
variables (allowed by default)
--const-struct-union-fields / --no-const-struct-union-fields: allow or
disallow const fields in structs and unions (allowed by default)
--strict-float to disallow assignments
between floats and integers. Unless this option is specified, such
assignments are allowed.
--fast-execution that biases Csmith toward
generating faster programs.

Removed --deputy command-line option, which previously caused Csmith to
output annotations for Deputy, a dependent type system for C.

Test Plan

Builds fine.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 10101
Build 10524: arc lint + arc unit

Event Timeline

mmokhi created this object with edit policy "Administrators".
This revision is now accepted and ready to land.Jun 27 2017, 7:29 AM
This revision was automatically updated to reflect the committed changes.