From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28898 invoked by alias); 6 Mar 2006 08:06:24 -0000 Received: (qmail 28882 invoked by uid 48); 6 Mar 2006 08:06:20 -0000 Date: Mon, 06 Mar 2006 08:06:00 -0000 Subject: [Bug c++/26577] New: [4.0/4.1/4.2 regression] ICE in cp_expr_size with volatile X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt at gcc dot gnu dot org" 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 X-SW-Source: 2006-03/txt/msg00594.txt.bz2 List-Id: As reported here: http://gcc.gnu.org/ml/gcc-bugs/2006-03/msg00589.html Confirmed. Fails since GCC 4.0.0. However, this has nothing to do with templates or inline asm as the reduced testcase shows: ================================== struct A { A(const A&); A& operator=(const A&); static void bar(); void foo() volatile {} void baz() volatile; }; void A::baz() volatile { foo(); bar(); } ================================== -- Summary: [4.0/4.1/4.2 regression] ICE in cp_expr_size with volatile Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26577