repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
common_4.f90
blob
f3dbf52ac56645db23f2f5decb8bfd2a775f7d17
1
! { dg-do run }
2
! Suppress warnings about misaligned common blocks.
3
! { dg-options "-w" }
4
! Check misaligned common blocks.
5
program
prog
6
common
/
block
/
a
,
b
,
c
7
integer
(
kind
=
1
)
a
8
integer
b
,
c
9
a
=
1
10
b
=
HUGE
(
b
)
11
c
=
2
12
call
foo
13
end program
14
subroutine
foo
15
common
/
block
/
a
,
b
,
c
16
integer
(
kind
=
1
)
a
17
integer
b
,
c
18
if
(
a
.
ne
.
1
.
or
.
b
.
ne
.
HUGE
(
b
) .
or
.
c
.
ne
.
2
)
STOP
1
19
end subroutine