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
2017-12-08 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr79886.f90
blob
a62cd1889c7ebcdf4698e04d3d6c4d6f529d7da6
1
! PR fortran/79886
2
! { dg-do compile }
3
! { dg-options "-Wpadded" }
4
5
subroutine
pr79886
6
type
::
foo
7
integer
(
kind
=
1
) ::
a
8
integer
(
kind
=
8
) ::
b
! { dg-warning "padding struct to align" }
9
integer
(
kind
=
1
) ::
c
10
integer
(
kind
=
8
) ::
d
! { dg-warning "padding struct to align" }
11
end type
12
type
(
foo
) ::
f
13
f
%
a
=
1
14
f
%
b
=
2
15
f
%
c
=
3
16
f
%
d
=
4
17
end subroutine