http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42073
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Target Milestone|4.4.6 |4.4.7
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42073
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Target Milestone|4.4.5 |4.4.6
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|4.4.4 |4.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42073
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42073
--- Comment #7 from ludovic at ludovic-brenta dot org 2009-11-19 18:50
---
Created an attachment (id=19060)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19060action=view)
Disassembly of prj-part.adb, with sources (objdump -S)
--
--- Comment #6 from ludovic at ludovic-brenta dot org 2009-11-18 22:09
---
With a stock GCC 4.4.2 bootstrapped with the default options (-g -O2, I think)
on alpha the symptoms are the same. Here is a backtrace:
(gdb) run -vP2 -Pp
Starting program: /home/lbrenta/gcc-obj/gcc/gnatmake
--- Comment #1 from ludovic at ludovic-brenta dot org 2009-11-17 10:27
---
The following project file is known to work on alpha-gnu-linux with GCC 4.3.4:
project Build_XMLAda is
for Source_Dirs use (dom, input_sources, sax, schema, unicode);
for Library_Name use xmlada;
for
--- Comment #2 from ubizjak at gmail dot com 2009-11-17 17:47 ---
(In reply to comment #0)
I have access to an alpha-linux-gnu machine, please tell me if I can help
narrow this problem down.
A debug trace from gdb would be a nice starting point.
--
--- Comment #3 from ludovic at ludovic-brenta dot org 2009-11-17 19:56
---
Even an empty project file triggers the bug:
$ cat p.gpr EOF
project p is
end p;
EOF
$ gdb gnatmake
(gdb) run -vP2 -Pp
Starting program: /usr/bin/gnatmake -vP2 -Pp
GPR_PROJECT_PATH=.:/usr/share/ada/adainclude/
--- Comment #4 from ludovic at ludovic-brenta dot org 2009-11-17 19:59
---
Actually the disassembly above was that of Tab.Get_Next. The source for
Tab.Get_Next is:
function Get_Next (T : Instance) return Elmt_Ptr is
begin
if T = null or else not T.Iterator_Started
#1 0x02853dd8 in ?? () from /usr/lib/libgnatprj.so.4.4
#2 0x02856abc in prj__part__parse () from /usr/lib/libgnatprj.so.4.4
#3 0x0284df7c in prj__pars__parse () from /usr/lib/libgnatprj.so.4.4
Well, there's no such thing as libgnatprj.so in GCC sources/Makefiles.
--- Comment #5 from charlet at adacore dot com 2009-11-17 21:45 ---
Subject: Re: [4.4 regression] Infinite loop when parsing a
project file, alpha only
#1 0x02853dd8 in ?? () from /usr/lib/libgnatprj.so.4.4
#2 0x02856abc in prj__part__parse () from
12 matches
Mail list logo