This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/12761] [3.4 regression] Segmentation fault in gnat1 compiling a-except.adb
- From: "neroden at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Oct 2003 20:26:32 -0000
- Subject: [Bug ada/12761] [3.4 regression] Segmentation fault in gnat1 compiling a-except.adb
- References: <20031024152802.12761.danglin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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 ?