[Bug middle-end/21595] [4.0/4.1 Regression] __builtin_constant_p(&"Hello"[0]) is true for C but not for C++
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 16 00:03:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-16 00:02 -------
This is also a regression from 3.4.0.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Known to fail| |4.0.0 4.1.0
Known to work| |3.4.0
Summary|__builtin_constant_p(&"Hello|[4.0/4.1 Regression]
|"[0]) is true for C but not |__builtin_constant_p(&"Hello
|for C++ |"[0]) is true for C but not
| |for C++
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21595
More information about the Gcc-bugs
mailing list