--- Comment #16 from hjl at gcc dot gnu dot org 2009-09-10 18:59 ---
Subject: Bug 41291
Author: hjl
Date: Thu Sep 10 18:57:46 2009
New Revision: 151611
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151611
Log:
2009-09-10 H.J. Lu
Backport from mainline:
2009-
--- Comment #15 from aoliva at gcc dot gnu dot org 2009-09-08 17:42 ---
Subject: Bug 41291
Author: aoliva
Date: Tue Sep 8 17:42:11 2009
New Revision: 151521
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151521
Log:
gcc/ChangeLog:
PR debug/41229
PR debug/41291
PR debug/41300
*
--- Comment #14 from aoliva at gcc dot gnu dot org 2009-09-08 16:53 ---
*** This bug has been marked as a duplicate of 41229 ***
--
aoliva at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #13 from laurent at guerby dot net 2009-09-08 15:37 ---
The patch for bug 41229 seems to fix this bug too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41291
--- Comment #12 from aoliva at gcc dot gnu dot org 2009-09-08 15:04 ---
I couldn't duplicate this on i686-pc-linux-gnu, on a tree with a bunch of
patches approved or pending approval. If I had to guess, I'd say it's the
patch for bug 41229 that fixes it. I'm checking it in momentarily.
--- Comment #11 from laurent at guerby dot net 2009-09-08 10:53 ---
Forgot a step: after having copied locally system.ads edit the local copy and
change the ZCX_By_Default line as Eric described in comment #2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41291
--- Comment #10 from laurent at guerby dot net 2009-09-08 10:52 ---
Alexande, you can reproduce this by just bootstraping as usual an x86_64-linux
compiler with Ada enabled then in a clean directory do:
gue...@gcc13:~/tmp41291$ gnatchop ~/pp.txt
gue...@gcc13:~/tmp41291$ cp
/home/guerby/
--- Comment #9 from laurent at guerby dot net 2009-09-08 10:19 ---
Backtrace and tree:
$ gdb /home/guerby/build/./gcc/gnat1
(gdb) b error
(gdb) r -quiet -dumpbase pp.adb -auxbase pp -O1 -g pp.adb
(gdb) bt
#0 error (gmsgid=0xb2ce94 "") at ../../trunk/gcc/diagnostic.c:612
#1 0x0073cd18
--- Comment #8 from laurent at guerby dot net 2009-09-08 10:13 ---
Created an attachment (id=18540)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18540&action=view)
for gnatchop
gnatchop pp.txt => pp.ads and pp.adb
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41291
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2009-09-08 10:04
---
> Here is a minimal Ada testcase:
Thanks. Please attach it to the PR.
> Interestingly if I remove the "-g" the ICE disappears.
Welcome to the new, post-VTA world!
--
http://gcc.gnu.org/bugzilla/show_bug.c
--- Comment #6 from laurent at guerby dot net 2009-09-08 09:57 ---
Here is a minimal Ada testcase:
-- file: pp.ads
with Ada.Finalization;
package Pp is
type R is new Ada.Finalization.Controlled with record
null;
end record;
procedure P (S : in String);
end Pp;
-- file:
--- Comment #5 from laurent at guerby dot net 2009-09-08 08:42 ---
Same with g-dirope.adb, same workaround works.
g-dirope.adb: In function 'GNAT.DIRECTORY_OPERATIONS.REMOVE_DIR':
g-dirope.adb:727:4: error: expected an SSA_NAME object
g-dirope.adb:727:4: error: in statement
# DEBUG gnat
--- Comment #4 from laurent at guerby dot net 2009-09-08 06:13 ---
I see it on arm-linux too. It ICEs at -O1 and -O2 but works at -O0.
a-direct.adb: In function 'Ada.Directories.Start_Search':
a-direct.adb:1178:4: error: expected an SSA_NAME object
a-direct.adb:1178:4: error: in stateme
--
ebotcazou at gcc dot gnu dot org changed:
What|Removed |Added
Component|ada |debug
Summary|verify_ssa failed: Error|[4.5 regressi
14 matches
Mail list logo