https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78746
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |WAITING --- Comment #28 from anlauf at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #27) > 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 > ... There's no testcase named "pr78746.f90" in the testsuite. Would you please open a new PR with enough information?