This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]