From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14976 invoked by alias); 19 May 2010 16:42:41 -0000 Received: (qmail 14906 invoked by uid 48); 19 May 2010 16:42:20 -0000 Date: Wed, 19 May 2010 16:42:00 -0000 Subject: [Bug middle-end/44197] New: varpool SEGV X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ams at gcc dot gnu dot org" 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: 2010-05/txt/msg02090.txt.bz2 assemble_alias in varasm.c sets varpool->alias to 1, but fails to set varpool->extra_name to anything. This leads to trouble further down the line. In my case, varpool_remove_node fails with a NULL-pointer exception. This appears to be target/host independent. So far, the only work around I have is to disable optimization. Test case to follow ... -- Summary: varpool SEGV Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: critical Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ams at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44197