------- Comment #28 from dominiq at lps dot ens dot fr 2009-12-14 10:51 ------- (In reply to comment #27) > My current collection of patches and hacks for this problem. Obviously the > "if (0)" in tree-ssa-pre.c will break pr38819 again; apart from that untested, > hence probably miscompiles everything except this testcase here :-)
I have not tested the patch (yet), but it seems that replacing "if(0)" with something such as "if(!flag_trapping_math)" could make everybody happy: if you don't want to break pr38819, don't use -fno-trapping-math; if you want speed, use it or use -ffast-math. Would it be acceptable? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42108