From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32062 invoked by alias); 5 Oct 2003 19:40:45 -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 32054 invoked by uid 48); 5 Oct 2003 19:40:45 -0000 Date: Sun, 05 Oct 2003 19:40:00 -0000 Message-ID: <20031005194045.32052.qmail@sources.redhat.com> From: "reichelt at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20031005174231.12519.olh@suse.de> References: <20031005174231.12519.olh@suse.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/12519] [3.4 regression] ICE tree check: in genrtl_cleanup_stmt, at c-semantics.c:761 X-Bugzilla-Reason: CC X-SW-Source: 2003-10/txt/msg00351.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12519 reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 GCC build triplet|powerpc-unknown-linux | GCC host triplet|powerpc-unknown-linux | GCC target triplet|powerpc-unknown-linux | Keywords| |ice-on-valid-code Priority|P2 |P1 Last reconfirmed|0000-00-00 00:00:00 |2003-10-05 19:40:44 date| | Summary|internal compiler error: |[3.4 regression] ICE tree |tree check: in |check: in |genrtl_cleanup_stmt, at c- |genrtl_cleanup_stmt, at c- |semantics.c:761 |semantics.c:761 ------- Additional Comments From reichelt at gcc dot gnu dot org 2003-10-05 19:40 ------- Here's a reduced code snippet that crashes on i686-pc-linux-gnu: when compiled with "-O": ====================================== struct A { ~A(); }; inline const A foo() { A a; return a; } A bar() { return foo(); } ====================================== This seems to be a problem with the const qualifier. I'm removing the target/build/host-triples since this seems to be a generic problem. It's a regression that was introduced in August according to Phil's regression hunter: : Search converges between 2003-08-20-trunk (#378) and 2003-08-21-trunk (#379).