[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[csmith-project/csmith] 638956: runtime: allow combined CSMITH_MINIMAL and USE_MAT...



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/csmith
  Commit: 638956b89228a40f53fc9a656818c05c39562ae4
      https://github.com/csmith-project/csmith/commit/638956b89228a40f53fc9a656818c05c39562ae4
  Author: Tahina Ramananandro <ramananandro@reservoir.com>
  Date:   2015-11-05 (Thu, 05 Nov 2015)

  Changed paths:
    M runtime/csmith_minimal.h

  Log Message:
  -----------
  runtime: allow combined CSMITH_MINIMAL and USE_MATH_MACROS*

On the one hand, CSMITH_MINIMAL allows using csmith_minimal.h instead
of csmith.h, thus reducing the size of includes in Csmith-generated
files (in particular by avoiding the inclusion of too many standard
header files.)

On the other hand, USE_MATH_MACROS allows replacing functions defined
in safe_math.h with macros (which reduces the size of includes in
Csmith-generated files, in particular if they were generated using
--no-safe-math).

Previously, CSMITH_MINIMAL used to disable USE_MATH_MACROS. Now,
thanks to this commit, both preprocessing/compilation symbols can be
used together and their effects combined.

For more details, see the discussion on the csmith-dev mailing list,
starting from
http://www.flux.utah.edu/listarchives/csmith-dev/msg00498.html


  Commit: 67990477115734757db4ff3fc0e911f4287f8d0c
      https://github.com/csmith-project/csmith/commit/67990477115734757db4ff3fc0e911f4287f8d0c
  Author: John Regehr <regehr@cs.utah.edu>
  Date:   2015-11-20 (Fri, 20 Nov 2015)

  Changed paths:
    M runtime/csmith_minimal.h

  Log Message:
  -----------
  Merge pull request #25 from gnuvan/minimal-headers

runtime: allow combined CSMITH_MINIMAL and USE_MATH_MACROS*


Compare: https://github.com/csmith-project/csmith/compare/c51c4fbb0ae3...679904771157