[Bug ada/12761] [3.4 regression] Segmentation fault in gnat1 compiling a-except.adb

neroden at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Oct 24 20:27:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From neroden at gcc dot gnu dot org  2003-10-24 20:26 -------
xmake_file is specified per-host, as is normal for it, and is therefore now
specified in config.host.  This is not related to the problem.

The actual problem is different.  The LANG_MAKEFRAGS are currently included
*after* xmake_file is included in the main Makefile.in; accordingly, the
definition  X_ADA_CFLAGS= in ada/Make-lang.in *overrides* the definition
X_ADA_CFLAGS=-mdisable-indexing in config/pa/x-ada.

Suggestions for the correct fix are welcome.  I'm worried that moving the
xmake_file inclusion after the LANG_MAKEFRAGS inclusion will have unforseen
side effects (there are several other xmake_files, mostly more complicated).

Perhaps it's best to put the blank definition of X_ADA_CFLAGS
into the main Makefile.in near the top and take it out of the Make-lang.in ?



More information about the Gcc-bugs mailing list