[Bug tree-optimization/25639] Loosing __builtin_constant_p during tree optimization

2006-01-02 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-02 17:12 --- Actually this is invalid and GCC is correct to do what it is doing. Quote from the docs: A return of 0 does not indicate that the value is not a constant, but merely that GCC cannot prove it is a constant with the s

[Bug tree-optimization/25639] Loosing __builtin_constant_p during tree optimization

2006-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-01-02 15:40 --- Seems to happen with current 4.1 and mainline, too. But I'm wrong in that this is not a regression. Seems this warning hack was introduced after our switch to 4.1. -- rguenth at gcc dot gnu dot org changed: