Commit 21505468 by Kyrylo Tkachov Committed by Kyrylo Tkachov

[arm] Fix gcc.target/arm/pr70278.c

This test needs an armv4t Thumb1 target but doesn't add the right effective target checks.
This patch adds them so the test is skipped appropriately on Thumb2 hard-float tarets.

     * gcc.target/arm/pr70278.c: Add effective target checks for armv4t
     and arm_thumb1_ok.

From-SVN: r256848
parent 7365279f
2018-01-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/pr70278.c: Add effective target checks for armv4t
and arm_thumb1_ok.
2018-01-18 Boris Kolpackov <boris@codesynthesis.com> 2018-01-18 Boris Kolpackov <boris@codesynthesis.com>
PR other/70268 PR other/70268
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-march=*" } { "-march=armv4t" } } */ /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-march=*" } { "-march=armv4t" } } */
/* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-marm" } { "" } } */ /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-marm" } { "" } } */
/* { dg-require-effective-target arm_arch_v4t_ok } */
/* { dg-require-effective-target arm_thumb1_ok } */
/* { dg-options "-mthumb" } */ /* { dg-options "-mthumb" } */
/* { dg-add-options arm_arch_v4t } */ /* { dg-add-options arm_arch_v4t } */
/* /*
......
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