[PATCH, testsuite]: Fix PR 38163

Uros Bizjak ubizjak@gmail.com
Fri Dec 12 22:42:00 GMT 2008


Attached patch fixes tree-ssa/loop-3.c testsuite failure on x86_64 
darwin targets. This test is not valid on fpic targets, so instead of 
passing -fno-pic (this doesn't work on darwin), simply skip the test on 
PIC targets in the preferred way.

2008-12-12  Uros Bizjak <ubizjak@gmail.com>

    PR testsuite/38163
    * gcc.dg/tree-ssa/loop-3.c: Compile only on nonpic x86 targets.
    Remove dg-skip-if directive.

Patch was tested on x86_64-pc-linux-gnu {,-m32}{,-fpic}. Patch was 
committed to mainline.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081212/f196a4ca/attachment.txt>

More information about the Gcc-patches mailing list