enum_9.f90: Use arm_eabi instead of arm*-*-linux*.

2015-02-01  Andreas Tobler  <andreast@gcc.gnu.org>

    * gfortran.dg/enum_9.f90: Use arm_eabi instead of arm*-*-linux*.
    * gfortran.dg/enum_10.f90: Likewise. Reorder dg-additional-sources.

From-SVN: r220330
This commit is contained in:
Andreas Tobler 2015-02-01 22:23:27 +01:00
parent b730d1c991
commit f8d6fa7ea0
3 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2015-02-01 Andreas Tobler <andreast@gcc.gnu.org>
* gfortran.dg/enum_9.f90: Use arm_eabi instead of arm*-*-linux*.
* gfortran.dg/enum_10.f90: Likewise. Reorder dg-additional-sources.
2015-02-01 Jakub Jelinek <jakub@redhat.com>
PR debug/64817

View file

@ -1,7 +1,7 @@
! { dg-do run }
! { dg-additional-sources enum_10.c }
! { dg-options "-fshort-enums -w" }
! { dg-options "-fshort-enums -w -Wl,--no-enum-size-warning" { target arm*-*-linux* } }
! { dg-options "-fshort-enums -w -Wl,--no-enum-size-warning" { target arm_eabi } }
! { dg-additional-sources enum_10.c }
! Make sure short enums are indeed interoperable with the
! corresponding C type.

View file

@ -1,6 +1,6 @@
! { dg-do run }
! { dg-options "-fshort-enums" }
! { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux* } }
! { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm_eabi } }
! Program to test enumerations when option -fshort-enums is given
program main