From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16954 invoked by alias); 28 Apr 2005 02:10:10 -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 16637 invoked by uid 48); 28 Apr 2005 02:09:51 -0000 Date: Thu, 28 Apr 2005 02:11:00 -0000 Message-ID: <20050428020950.16636.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050418172616.21089.matz@suse.de> References: <20050418172616.21089.matz@suse.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/21089] [4.0/4.1 Regression] C++ front-end does not "inline" the static const double X-Bugzilla-Reason: CC X-SW-Source: 2005-04/txt/msg03921.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-28 02:09 ------- (In reply to comment #11) > Is this optimization valid? Note that it will change the behavior of this c++ > program: You are correct Chris, this was an invalid optimization. This is a dup of bug 19320. Though we still have a "wrong code" bug with respect with const still being on the decl but that is PR 20912. *** This bug has been marked as a duplicate of 19320 *** -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21089