Commit d83fae9d by Kyrylo Tkachov Committed by Kyrylo Tkachov

[arm] Fix gcc.target/arm/pr40887.c directives

This patch converts gcc.target/arm/pr40887.c to use the proper effective target check and dg-add-options for armv5te
so that we avoid situations where we end up trying to compile the test with a Thumb1 hard-float ABI, which makes the
compiler complain.

This allows the test to pass gracefully for me for my compiler configured with:
--with-cpu=cortex-a15 --with-fpu=neon-vfpv4 --with-float=hard --with-mode=thumb

     * gcc.target/arm/pr40887.c: Add armv5te effective target checks and
     directives.

From-SVN: r256784
parent b67d554c
2018-01-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/pr40887.c: Add armv5te effective target checks and
directives.
2018-01-17 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/83843
* gcc.dg/store_merging_18.c: Don't expect "Merging successful" on arm.
* gcc.dg/store_merging_19.c: New test.
2018-01-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2018-01-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/xor-and.c: Fix armv6 effective target checks
and options.
......
/* { dg-do compile } */
/* { dg-skip-if "need at least armv5" { *-*-* } { "-march=armv[234]*" } { "" } } */
/* { dg-options "-O2 -march=armv5te" } */
/* { dg-require-effective-target arm_arch_v5te_ok } */
/* { dg-add-options arm_arch_v5te } */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler "blx" } } */
int (*indirect_func)(int x);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment