Page MenuHomeFreeBSD

Update csmith to 2.3.0
ClosedPublic

Authored by mmokhi on Jun 24 2017, 9:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 6:19 PM
Unknown Object (File)
Sep 24 2024, 6:29 PM
Unknown Object (File)
Sep 22 2024, 3:32 PM
Unknown Object (File)
Sep 19 2024, 11:00 AM
Unknown Object (File)
Sep 11 2024, 11:12 AM
Unknown Object (File)
Sep 8 2024, 12:08 AM
Unknown Object (File)
Sep 7 2024, 7:07 AM
Unknown Object (File)
Jun 29 2024, 12:35 AM
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
Lint Not Applicable
Unit
Tests Not Applicable

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.