This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/43497] New: gcc.dg/pch/static-1.c and gcc.dg/pch/static-2.c fail on powerpc-unknown-linux-gnu with -fPIC
- From: "ghazi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2010 18:35:46 -0000
- Subject: [Bug pch/43497] New: gcc.dg/pch/static-1.c and gcc.dg/pch/static-2.c fail on powerpc-unknown-linux-gnu with -fPIC
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When running the testsuite on powerpc-unknown-linux-gnu with extra passes
containing -fPIC I get the following additional error on the 4.3 branch:
FAIL: gcc.dg/pch/static-1.c -O0 -g assembly comparison
FAIL: gcc.dg/pch/static-1.c -O0 assembly comparison
FAIL: gcc.dg/pch/static-2.c -O0 -g assembly comparison
FAIL: gcc.dg/pch/static-2.c -O0 assembly comparison
Testsuite results:
http://gcc.gnu.org/ml/gcc-testresults/2010-03/msg01996.html
The error does NOT occur with -fpic. Only -fPIC triggers it. Later versions
(4.4 branch or 4.5 trunk) also do NOT show this error.
--
Summary: gcc.dg/pch/static-1.c and gcc.dg/pch/static-2.c fail on
powerpc-unknown-linux-gnu with -fPIC
Product: gcc
Version: 4.3.5
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: pch
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ghazi at gcc dot gnu dot org
GCC target triplet: powerpc-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43497