[Bug c++/89029] __builtin_constant_p erroneously true

2019-01-24 Thread pdimov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89029 --- Comment #4 from Peter Dimov --- (In reply to Jonathan Wakely from comment #3) > c.f. https://gcc.gnu.org/ml/libstdc++/2018-03/msg00031.html and the replies Yes, pretty much. > I doubt we would catch many bugs that way, as most bugs would in

[Bug c++/89029] __builtin_constant_p erroneously true

2019-01-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89029 --- Comment #3 from Jonathan Wakely --- (In reply to Peter Dimov from comment #0) > (This is simplified from an attempt to create a statically-diagnosed assert > facility that would warn when the asserted expression is known to be false: > https:

[Bug c++/89029] __builtin_constant_p erroneously true

2019-01-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89029 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/89029] __builtin_constant_p erroneously true

2019-01-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89029 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1