Fix PCH testsuite failures on SPARC with -fPIC

Eric Botcazou ebotcazou@libertysurf.fr
Mon Feb 16 20:22:00 GMT 2004


This patch fixes all the PCH testsuite failures with -fPIC on SPARC spotted 
by Kaveh's testing:

FAIL: g++.dg/pch/system-1.C -g assembly comparison
FAIL: g++.dg/pch/system-2.C -g assembly comparison
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-1.c  -O1  assembly comparison
FAIL: gcc.dg/pch/static-2.c -O0 -g assembly comparison
FAIL: gcc.dg/pch/static-2.c  -O0  assembly comparison
FAIL: gcc.dg/pch/static-2.c  -O1  assembly comparison

Applied to mainline and 3.4 branch.


2004-02-16  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* config/sparc/sparc.c (get_pc_symbol_name): Mark with GTY(()).


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pch_pic.diff
Type: text/x-diff
Size: 566 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040216/33417862/attachment.bin>


More information about the Gcc-patches mailing list