https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78746
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #27 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- At revision r11-6550 my instrumented compiler gives: pr78746.f90:5:40: 5 | character(:), allocatable :: x(n) ! { dg-error "must have a deferred shape" } | 1 Error: Allocatable component of structure at (1) must have a deferred shape ================================================================= ==33829==ERROR: AddressSanitizer: heap-use-after-free on address 0x604000000ee8 at pc 0x000100423feb bp 0x7ffeefbfe3b0 sp 0x7ffeefbfe3a8 READ of size 8 at 0x604000000ee8 thread T0 ...