http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48835
Andreas Schwab <sch...@linux-m68k.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dewar at gnat dot com Host| |m68k-linux --- Comment #2 from Andreas Schwab <sch...@linux-m68k.org> 2011-04-30 21:56:16 UTC --- I see a different crash in opt___elabs, but perhaps related: __gnat_malloc is declared to returned a pointer, but it is aliased to the Ada function System.Memory.Alloc which returns a value of type System.Address, and this is apparently not treated as a pointer, thus the value is returned in %d0. But the caller expects the returned value in %a0.