[Bug optimization/13643] __builtin_constant_p() fails to notice known value of member variable

bryner at brianryner dot com gcc-bugzilla@gcc.gnu.org
Sun Jan 11 09:51:00 GMT 2004


------- Additional Comments From bryner at brianryner dot com  2004-01-11 09:51 -------
Created an attachment (id=5450)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5450&action=view)
testcase

Compiled with:
c++ -Os -c -o test_const.o test_const.cpp

$ c++ -v
Reading specs from /usr/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: ../gcc/configure --prefix=/usr/gcc34 --enable-shared
--enable-threads=posix --disable-checking --with-system-zlib
--enable-__cxa_atexit --enable-languages=c,c++ --host=i686-pc-linux-gnu
Thread model: posix
gcc version 3.4.0 20040110 (experimental)


-- 


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



More information about the Gcc-bugs mailing list