https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29112
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Target Milestone|--- |13.0 Resolution|--- |FIXED CC| |ebotcazou at gcc dot gnu.org --- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- GCC 13 and later gives: p.adb:10:13: error: declarations mixed with statements is a GNAT-specific extension p.adb:10:13: error: unit must be compiled with -gnatX0 or use pragma Extensions_Allowed (All)