[Bug ada/48835] Porting GNAT to GNU/Linux/m68k
schwab@linux-m68k.org
gcc-bugzilla@gcc.gnu.org
Sat Apr 30 21:58:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48835
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dewar at gnat dot com
Host| |m68k-linux
--- Comment #2 from Andreas Schwab <schwab@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.
More information about the Gcc-bugs
mailing list