[Bug c++/53239] [4.7 Regression] -ftree-vrp breaks min()
proski at gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri May 4 21:43:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53239
--- Comment #1 from proski at gnu dot org 2012-05-04 21:43:11 UTC ---
Created attachment 27310
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27310
Example (made on i386)
This line is miscompiled:
next = min (next, it->pending_moment ());
The result of comparison in min() is unused unless the -fno-tree-vrp option is
used.
More information about the Gcc-bugs
mailing list