aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/g77/alpha1.f
blob: e8b8ed7cafd760037cd68824ca1ea80018797e23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
c { dg-do compile }
      REAL*8 A,B,C
      REAL*4 RARRAY(19)
      DATA RARRAY /19*-1/
      INTEGER BOTTOM,RIGHT
      INTEGER IARRAY(19)
      DATA IARRAY /0,0,0,0,0,0,0,0,0,0,0,0,13,14,0,0,0,0,0/
      EQUIVALENCE (RARRAY(13),BOTTOM),(RARRAY(14),RIGHT)
C
      IF(I.NE.0) call exit(1)
C gcc: Internal compiler error: program f771 got fatal signal 11
C  at this point!
      END

! previously g77.ftorture/compile/alpha1.f with following alpha1.x
!
!# This test fails compilation in cross-endian environments, for example as
!# below, with a "sorry" message.
!
!if { [ishost "i\[34567\]86-*-*"] } {
!    if { [istarget "mmix-knuth-mmixware"]
! || [istarget "powerpc-*-*"] } {
!    set torture_compile_xfail [istarget]
!    }
!}
!
!return 0