[Bug c/42461] Missed optimisation for pure functions with __builtin_unreachable

2009-12-22 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfir

[Bug c/42461] Missed optimisation for pure functions with __builtin_unreachable

2009-12-22 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-12-22 14:25 --- This broke with the EH rewrite changes, in particular: http://gcc.gnu.org/viewcvs/trunk/gcc/dce.c?r1=151696&r2=151695&pathrev=151696 causes no const or pure calls to be ever removed by RTL DCE. As __builtin_unreachable