]> granicus.if.org Git - python/commit
Get gcc to do strict IEEE math. This flag was already used for cc, just not
authorNeal Norwitz <nnorwitz@gmail.com>
Fri, 31 Mar 2006 06:54:45 +0000 (06:54 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Fri, 31 Mar 2006 06:54:45 +0000 (06:54 +0000)
commitdedeeaad040cdcb3c72b6f89cd33cc0264ea908d
tree6a2194c31ece73a3d70d644f0c86fff20bb8faa8
parent7b8cf389274c33a94879deed3141a3a7c627a946
Get gcc to do strict IEEE math.  This flag was already used for cc, just not
gcc.  Without this flag, doing pretty much anything with NaNs causes
a Floating Point Exception signal.  This causes the interpreter to quit.
The failing tests this fixes are:  test_float, test_long, and test_struct.
This is somewhat equivalent to doing signal(SIGFPE, SIG_IGN).

Will verify if this is a problem in 2.4 and backport if necessary (probably).
configure
configure.in