From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19371 invoked by alias); 7 Sep 2012 05:53:07 -0000 Received: (qmail 19358 invoked by uid 22791); 7 Sep 2012 05:53:05 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 07 Sep 2012 05:52:52 +0000 From: "daniel.kruegler at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54511] internal compiler error: in make_decl_rtl, at varasm.c:1147 Date: Fri, 07 Sep 2012 05:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel.kruegler at googlemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-09/txt/msg00523.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54511 Daniel Kr=C3=BCgler changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler at | |googlemail dot com --- Comment #1 from Daniel Kr=C3=BCgler 2012-09-07 05:52:51 UTC --- I can confirm the problem for gcc 4.8.0 20120819 (experimental). I reduced = the example to get rid of some "magic" values, which are not relevant to be present. One important requirement for reproducing the ICE is that A is a template.=20 template struct A { A() { union { int a; }; a =3D 0; } }; A a; The error I'm getting compiled with=20 -Wall -pedantic -std=3Dc++11 is: "|In constructor 'A< >::A() [with =3D int]':| 10|internal compiler error: in make_decl_rtl, at varasm.c:1143|"