[Bug middle-end/47661] predict is confused by FP comparisons when math can trap

2011-03-21 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47661

Richard Guenther  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2011.03.21 13:51:31
 Ever Confirmed|0   |1

--- Comment #2 from Richard Guenther  2011-03-21 
13:51:31 UTC ---
predict confusion about

 pred = a CMP b;
 if (pred)

remains.


[Bug middle-end/47661] predict is confused by FP comparisons when math can trap

2011-03-21 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47661

--- Comment #1 from Richard Guenther  2011-03-21 
13:50:35 UTC ---
Author: rguenth
Date: Mon Mar 21 13:50:26 2011
New Revision: 171236

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171236
Log:
2011-03-21  Richard Guenther  

PR middle-end/47661
* gimple.c (is_gimple_condexpr): Use tree_could_throw_p.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple.c