target/10348: sparc64-sun-solaris2.7 testsuite failure in execute/20020720-1.c with -fpic/-fPIC

Eric Botcazou ebotcazou@libertysurf.fr
Thu Apr 10 08:28:00 GMT 2003


> I'm getting testsuite failures in execute/20020720-1.c on
> sparc64-sun-solaris2.7 at -O1 and above when adding -fpic or -fPIC to the
> testsuite pass.  The logfile shows that the function `link_error' is still
> called, i.e. the call is not being optimized away like it should.

Note that this happens on sparc-sun-solaris2.9 too with -mcpu=v7|v8|v9.

-- 
Eric Botcazou



More information about the Gcc-bugs mailing list