------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-09-17 
12:15 -------
> Program received signal SIGSEGV, Segmentation fault.
> 0x00015540 in system.secondary_stack.ss_release (m=) at s-secsta.adb:477
> Current language:  auto; currently ada
> (gdb) bt
> #0  0x00015540 in system.secondary_stack.ss_release (m=) at s-secsta.adb:477
> #1  0x00027a1c in _ada_ce3810b ()
> #2  0x00011c9c in main ()

The stack is trashed because a routine of the runtime writes one byte past the
end of the slot it is passed.  Recompile the runtime without -gnatp and you will
see a nice CONSTRAINT_ERROR.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20753

Reply via email to