[Bug target/36756] New: g++.dg/tls-3.C ICE with section-anchors, unit-at-a-time, no-toplevel-reorder
janis at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jul 7 21:22:00 GMT 2008
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
More information about the Gcc-bugs
mailing list