[Bug ada/13470] 64bits Ada bootstrap failure:xnmake etc. crash generating nmake.adb etc.

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 17 12:48:00 GMT 2005

------- Additional Comments From jakub at gcc dot gnu dot org  2005-01-17 12:48 -------
Seems if I recompile a-stunau.o with -O0 -fPIC as opposed to -O2 -fPIC and
relink/reinstall libgnat-3.4.so.1, xnmake works, at least on my x86-64.
When it is compiled with -O2 -fPIC, xnmake dies much earlier under
>From my debugging so far it looks like if Ada.Strings.Unbounded.Aux.Get_String
compiled with -O2 results in the freed Reference to be still used by subsequent
users instead of the newly allocated one.



More information about the Gcc-bugs mailing list