From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20253 invoked by alias); 7 Jun 2004 19:11:58 -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 20206 invoked by uid 48); 7 Jun 2004 19:11:55 -0000 Date: Mon, 07 Jun 2004 19:11:00 -0000 Message-ID: <20040607191155.20205.qmail@sourceware.org> From: "bugzilla at little-bat dot de" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040606184318.15853.bugzilla@little-bat.de> References: <20040606184318.15853.bugzilla@little-bat.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug rtl-optimization/15853] [3.3 Regression] temporaries are not destroyed and overwritten later X-Bugzilla-Reason: CC X-SW-Source: 2004-06/txt/msg00815.txt.bz2 List-Id: ------- Additional Comments From bugzilla at little-bat dot de 2004-06-07 19:11 ------- The conclusion that it has nothing to do with inlining is wrong: the error occured with not-inlined member functions and adding -fno-inline to the command line is just a nop. :-) I tested a version of the test proggi where constructor & destructor are inlined: gcc -Wall -O2 -lstdc++ test-inlined.cpp -> a.out ok gcc -Wall -O2 -lstdc++ -fno-inline test-inlined.cpp -> a.out BUMMER gcc -Wall -O1 -lstdc++ -fno-inline test-inlined.cpp -> a.out ok see ... kio ! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15853