[Bug c++/21619] [4.0/4.1 regression] __builtin_constant_p(&"Hello"[0])?1:-1 not compile-time constant

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri May 27 18:08:00 GMT 2005



-- 
Bug 21619 depends on bug 21595, which changed state.

Bug 21595 Summary: [4.0 Regression] __builtin_constant_p(&"Hello"[0]) is true for C but not for C++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21595

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21619



More information about the Gcc-bugs mailing list