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

2018-01-18  Christophe Lyon  <christophe.lyon@linaro.org>

	* gcc.target/arm/pr40887.c: Fix dg-options and dg-add-options
	order.

From-SVN: r256839
This commit is contained in:
Christophe Lyon 2018-01-18 09:13:27 +00:00 committed by Christophe Lyon
parent 8ae438811f
commit f2f4f2442c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2018-01-18 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/arm/pr40887.c: Fix dg-options and dg-add-options
order.
2018-01-18 Jakub Jelinek <jakub@redhat.com>
PR c/61240

View file

@ -1,8 +1,8 @@
/* { dg-do compile } */
/* { dg-skip-if "need at least armv5" { *-*-* } { "-march=armv[234]*" } { "" } } */
/* { dg-require-effective-target arm_arch_v5te_ok } */
/* { dg-add-options arm_arch_v5te } */
/* { dg-options "-O2" } */
/* { dg-add-options arm_arch_v5te } */
/* { dg-final { scan-assembler "blx" } } */
int (*indirect_func)(int x);