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: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Oct 2003 21:44:26 -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 dave at hiauly1 dot hia dot nrc dot ca 2003-10-31 21:44 -------
Subject: Re: [3.4 regression] Segmentation fault in gnat1 comp
> neroden at gcc dot gnu dot org changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|ASSIGNED |RESOLVED
> Resolution| |FIXED
>
>
> ------- Additional Comments From neroden at gcc dot gnu dot org 2003-10-31
> 09:54 -------
> I believe that my recent commit fixed this. Confirmation welcome. :-)
Sorry, the problem isn't fixed, although we now have "-mdisable-indexing"
in the compilation commands for ada:
stage1/xgcc -Bstage1/ -B/opt/gnu/hppa2.0w-hp-hpux11.00/bin/ -c -g -O2 -mdisable-
indexing -gnatpg -gnata -g -O1 -fno-inline \
-I- -I. -Iada -I../../gcc/gcc/ada ../../gcc/gcc/ada/a-except.adb -o ada/a-excep
t.o
+===========================GNAT BUG DETECTED==============================+
| 3.4 20031031 (experimental) (hppa2.0w-hp-hpux11.00) Bus error |
| No source file position information available |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html. |
| Include the entire contents of this bug box in the report. |
| Include the exact gcc or gnatmake command that you entered. |
| Also include sources listed below in gnatchop format |
| (concatenated together with no headers between files). |
+==========================================================================+
The analysis in the original report showed that the segmentation fault
was due to a misaligned displacement for a load. It didn't use an insn
affected by the "-mdisable-indexing" option.
Thanks for fixing the Makefile problem. I'll reopen the PR.
Dave