[4.3 PATCH TESTSUITE]: Backport fix for PR testsuite/38163
Janis Johnson
janis.marie.johnson@gmail.com
Wed Mar 10 18:58:00 GMT 2010
On Wed, Mar 10, 2010 at 7:24 AM, Kaveh R. GHAZI <ghazi@caip.rutgers.edu> wrote:
> This patch backports the fix for PR 38163 to the 4.3 branch. (It
> alrady exists on trunk and 4.4.)
> http://gcc.gnu.org/ml/gcc-patches/2008-12/msg00783.html
>
> Tested on x86_64-unknown-linux-gnu on 4.3.x with extra -fpic/-fPIC
> passes for 32 and 64 bit.
>
> Okay for 4.3?
OK.
Janis
> 2010-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
>
> Backport:
> 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.
>
> --- trunk/gcc/testsuite/gcc.dg/tree-ssa/loop-3.c 2008/07/23 11:06:42 138078
> +++ trunk/gcc/testsuite/gcc.dg/tree-ssa/loop-3.c 2008/12/12 22:39:43 142726
> @@ -2,9 +2,8 @@
> Target is restricted to x86 type architectures, so that we may
> assume something about memory addressing modes. */
>
> -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
> -/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-fpic" "-fPIC" } { "" } } */
> -/* { dg-options "-O1 -fno-pic -fno-PIC -fdump-tree-optimized" } */
> +/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && nonpic } } } */
> +/* { dg-options "-O1 -fdump-tree-optimized" } */
>
> int arr_base[100];
>
More information about the Gcc-patches
mailing list