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
aarch64: Add missing ACLE macro for NEON-SVE Bridge
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr113503_1.f90
blob
37c178e2ca8e1a7b0c7e634a6421d361935a335a
1
! PR fortran/113503
2
! { dg-do compile }
3
! { dg-options "-O2 -fno-inline -Wuninitialized" }
4
5
program
pr113503
6
implicit none
7
type
::
T
8
character
(
len
=:),
allocatable
::
u
9
end type
10
character
(
len
=
20
) ::
us
(
1
) =
'foobar'
11
type
(
T
) ::
x
12
x
=
T
(
u
=
trim
(
us
(
1
)))
! { dg-bogus "is used uninitialized" }
13
call
foo
14
contains
15
subroutine
foo
16
if
(
x
%
u
/=
'foobar'
)
stop
1
17
end subroutine
18
end