Debian Codegraph @

gcc/testsuite/gfortran.dg/pr109788.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-Os -fdump-tree-original-raw" }
3 ! { dg-final { scan-tree-dump {(?s)identifier_node strg: _gfortran_spread_char_scalar.*?function_type.*?prms: @[0-9]+.*?tree_list[^\n]*chan: @[0-9]+.*?tree_list[^\n]*chan: @[0-9]+.*?tree_list[^\n]*chan: @[0-9]+.*?tree_list[^\n]*chan: @[0-9]+.*?tree_list[^\n]*chan: @[0-9]+.*?tree_list[^\n]*chan: @8} "original" } }
4
5 character(3) :: a = 'abc'
6
7 associate (y => spread(trim(a), 1, 2) // 'd')
8 if (size(y) /= 2) stop 1
9 end associate
10 end