[Bug middle-end/37921] __builtin_constant_p seems to be giving false positives

2014-02-05 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37921 Marek Polacek changed: What|Removed |Added Status|REOPENED|RESOLVED CC|

[Bug middle-end/37921] __builtin_constant_p seems to be giving false positives

2010-01-02 Thread manu at gcc dot gnu dot org
--- Comment #9 from manu at gcc dot gnu dot org 2010-01-02 20:33 --- (In reply to comment #8) > Re-confirmed. The issue is that we fold __builtin_constant_p only after > VRP1 so the dead code remains and we warn about it. Perhaps this is the root cause of both PR35392 and PR35903. -

[Bug middle-end/37921] __builtin_constant_p seems to be giving false positives

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-01-02 19:35 --- Re-confirmed. The issue is that we fold __builtin_constant_p only after VRP1 so the dead code remains and we warn about it. -- rguenth at gcc dot gnu dot org changed: What|Removed