[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:04:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-16 00:04 -------
Here is a compile time testcase:
int f[__builtin_constant_p(&"Hello"[0])?1:-1];
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21595
More information about the Gcc-bugs
mailing list