[Bug target/17828] New: -O2 -fPIC doesn't work with switches in linkonce functions and new binutils
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Oct 4 09:25:00 GMT 2004
--- gcc/testsuite/g++.old-deja/g++.other/comdat5.C.jj 2004-10-04
11:20:08.335577980 +0200
+++ gcc/testsuite/g++.old-deja/g++.other/comdat5.C 2004-10-04
11:19:49.362989353 +0200
@@ -0,0 +1,5 @@
+// { dg-do link }
+// { dg-additional-sources " comdat5-aux.cc" }
+// { dg-options "-O2 -fPIC" }
+
+#include "comdat4.C"
--- gcc/testsuite/g++.old-deja/g++.other/comdat5-aux.cc.jj 2004-10-04
11:20:03.496448065 +0200
+++ gcc/testsuite/g++.old-deja/g++.other/comdat5-aux.cc 2004-10-04
11:19:59.249211735 +0200
@@ -0,0 +1,1 @@
+#include "comdat4-aux.cc"
fails on powerpc-redhat-linux.
The local label at the start of jump table is spilled into .got2 section.
--
Summary: -O2 -fPIC doesn't work with switches in linkonce
functions and new binutils
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17828
More information about the Gcc-bugs
mailing list