From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5345 invoked by alias); 11 Jan 2004 09:51:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 5338 invoked by uid 48); 11 Jan 2004 09:51:36 -0000 Date: Sun, 11 Jan 2004 09:51:00 -0000 Message-ID: <20040111095136.5337.qmail@sources.redhat.com> From: "bryner at brianryner dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040111094956.13643.bryner@brianryner.com> References: <20040111094956.13643.bryner@brianryner.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/13643] __builtin_constant_p() fails to notice known value of member variable X-Bugzilla-Reason: CC X-SW-Source: 2004-01/txt/msg01080.txt.bz2 List-Id: ------- 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