This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13643] __builtin_constant_p() fails to notice known value of member variable
- From: "bryner at brianryner dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2004 09:51:36 -0000
- Subject: [Bug optimization/13643] __builtin_constant_p() fails to notice known value of member variable
- References: <20040111094956.13643.bryner@brianryner.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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