2 ! { dg-options "-O -fdump-tree-original" }
3 ! Optimize unnecessary TRIMs in contained namespaces too.
9 character(len=4) :: b,c
13 if (a /= 'abc') call abort
14 if (c /= 'abc') call abort
26 character(len=4) :: b,c
30 if (a /= 'abc') call abort
31 if (c /= 'abc') call abort
35 ! { dg-final { scan-tree-dump-times "memmove" 4 "original" } }
36 ! { dg-final { scan-tree-dump-times "string_trim" 0 "original" } }
37 ! { dg-final { cleanup-tree-dump "original" } }