From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21372 invoked by alias); 7 Jul 2008 21:22:41 -0000 Received: (qmail 21023 invoked by uid 48); 7 Jul 2008 21:21:56 -0000 Date: Mon, 07 Jul 2008 21:22:00 -0000 Subject: [Bug target/36756] New: g++.dg/tls-3.C ICE with section-anchors, unit-at-a-time, no-toplevel-reorder X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "janis 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: 2008-07/txt/msg00839.txt.bz2 Test g++.dg/gomp/tls-3.C started failing on powerpc-unknown-linux-gnu with an ICE in rs6000_emit_move when the -O0 defaults were changed for -funit-at-a-time, -fsection-anchors, and -ftop-level-reorder. This smaller C test: __thread int i; int foo () { static __thread int k; return k; } gets the same ICE for earlier compilers back to 4.2.0 (when section anchors were added) when compiled with "-funit-at-a-time -fsection-anchors -fno-toplevel-reorder". -- Summary: g++.dg/tls-3.C ICE with section-anchors, unit-at-a-time, no-toplevel-reorder Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: janis at gcc dot gnu dot org GCC target triplet: powerpc-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36756