public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/32286] New: ICE in dwarf2out with -g: sees Ada f-e unconstrained_array_type node
@ 2007-06-11 15:38 baldrick at gcc dot gnu dot org
2007-06-11 20:17 ` [Bug ada/32286] [4.2/4.3 Regression] " laurent at guerby dot net
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: baldrick at gcc dot gnu dot org @ 2007-06-11 15:38 UTC (permalink / raw)
To: gcc-bugs
The following occurs with svn head and GNAT GPL 2007.
$ gcc -c -g -gnat05 e.adb
+===========================GNAT BUG DETECTED==============================+
| 4.3.0 20070611 (experimental) (i686-pc-linux-gnu) GCC error: |
| in gen_type_die_with_usage, at dwarf2out.c:12921 |
| Error detected around e.adb:8 |
...
This occurs because a node type that should be internal to the
Ada f-e (unconstrained_array_type) has made its way as far as
gen_type_die_with_usage in dwarf2out.c.
Testcase:
package E is
type T (S : access String) is null record;
procedure P (X : T);
end;
package body E is
procedure P (X : T) is
S : String renames X.S.all;
F : String (S'Range);
for F'Address use S (S'First)'Address;
begin
null;
end;
end;
--
Summary: ICE in dwarf2out with -g: sees Ada f-e
unconstrained_array_type node
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: baldrick at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32286
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug ada/32286] [4.2/4.3 Regression] ICE in dwarf2out with -g: sees Ada f-e unconstrained_array_type node
2007-06-11 15:38 [Bug ada/32286] New: ICE in dwarf2out with -g: sees Ada f-e unconstrained_array_type node baldrick at gcc dot gnu dot org
@ 2007-06-11 20:17 ` laurent at guerby dot net
2007-06-30 9:17 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: laurent at guerby dot net @ 2007-06-11 20:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from laurent at guerby dot net 2007-06-11 20:17 -------
gcc -c -g -gnat05 e.adb works on 4.1.2, but it ICEs on 4.2 and 4.3.
+===========================GNAT BUG DETECTED==============================+
| 4.2.0 (i686-pc-linux-gnu) in gen_type_die, at dwarf2out.c:12720 |
| Error detected at e.adb:8:7 |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html. |
--
laurent at guerby dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Known to fail| |4.2.0
Known to work| |4.1.2
Last reconfirmed|0000-00-00 00:00:00 |2007-06-11 20:17:07
date| |
Summary|ICE in dwarf2out with -g: |[4.2/4.3 Regression] ICE in
|sees Ada f-e |dwarf2out with -g: sees Ada
|unconstrained_array_type |f-e unconstrained_array_type
|node |node
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32286
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug ada/32286] [4.2/4.3 Regression] ICE in dwarf2out with -g: sees Ada f-e unconstrained_array_type node
2007-06-11 15:38 [Bug ada/32286] New: ICE in dwarf2out with -g: sees Ada f-e unconstrained_array_type node baldrick at gcc dot gnu dot org
2007-06-11 20:17 ` [Bug ada/32286] [4.2/4.3 Regression] " laurent at guerby dot net
@ 2007-06-30 9:17 ` pinskia at gcc dot gnu dot org
2007-07-04 3:26 ` mmitchel at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-30 9:17 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.2.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32286
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug ada/32286] [4.2/4.3 Regression] ICE in dwarf2out with -g: sees Ada f-e unconstrained_array_type node
2007-06-11 15:38 [Bug ada/32286] New: ICE in dwarf2out with -g: sees Ada f-e unconstrained_array_type node baldrick at gcc dot gnu dot org
2007-06-11 20:17 ` [Bug ada/32286] [4.2/4.3 Regression] " laurent at guerby dot net
2007-06-30 9:17 ` pinskia at gcc dot gnu dot org
@ 2007-07-04 3:26 ` mmitchel at gcc dot gnu dot org
2007-12-07 12:38 ` sam at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-04 3:26 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32286
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug ada/32286] [4.2/4.3 Regression] ICE in dwarf2out with -g: sees Ada f-e unconstrained_array_type node
2007-06-11 15:38 [Bug ada/32286] New: ICE in dwarf2out with -g: sees Ada f-e unconstrained_array_type node baldrick at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-07-04 3:26 ` mmitchel at gcc dot gnu dot org
@ 2007-12-07 12:38 ` sam at gcc dot gnu dot org
2007-12-07 17:44 ` laurent at guerby dot net
2007-12-08 9:53 ` baldrick at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: sam at gcc dot gnu dot org @ 2007-12-07 12:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from sam at gcc dot gnu dot org 2007-12-07 12:37 -------
Have you tried with a recent trunk GCC? Your GCC reads "20070611", but with the
current trunk (4.3.0 20071207), I cannot reproduce the bug on
i686-pc-linux-gnu:
% gcc -c -g -gnat05 e.adb
Laurent, which version did you use?
--
sam at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |laurent at guerby dot net,
| |sam at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32286
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug ada/32286] [4.2/4.3 Regression] ICE in dwarf2out with -g: sees Ada f-e unconstrained_array_type node
2007-06-11 15:38 [Bug ada/32286] New: ICE in dwarf2out with -g: sees Ada f-e unconstrained_array_type node baldrick at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-12-07 12:38 ` sam at gcc dot gnu dot org
@ 2007-12-07 17:44 ` laurent at guerby dot net
2007-12-08 9:53 ` baldrick at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: laurent at guerby dot net @ 2007-12-07 17:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from laurent at guerby dot net 2007-12-07 17:44 -------
Trunk from 20070611, but if it doesn't show up now (I haven't checked) this
should be marked as fixed on trunk.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32286
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug ada/32286] [4.2/4.3 Regression] ICE in dwarf2out with -g: sees Ada f-e unconstrained_array_type node
2007-06-11 15:38 [Bug ada/32286] New: ICE in dwarf2out with -g: sees Ada f-e unconstrained_array_type node baldrick at gcc dot gnu dot org
` (4 preceding siblings ...)
2007-12-07 17:44 ` laurent at guerby dot net
@ 2007-12-08 9:53 ` baldrick at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: baldrick at gcc dot gnu dot org @ 2007-12-08 9:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from baldrick at gcc dot gnu dot org 2007-12-08 09:53 -------
This is fixed on trunk.
--
baldrick at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32286
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-12-08 9:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-11 15:38 [Bug ada/32286] New: ICE in dwarf2out with -g: sees Ada f-e unconstrained_array_type node baldrick at gcc dot gnu dot org
2007-06-11 20:17 ` [Bug ada/32286] [4.2/4.3 Regression] " laurent at guerby dot net
2007-06-30 9:17 ` pinskia at gcc dot gnu dot org
2007-07-04 3:26 ` mmitchel at gcc dot gnu dot org
2007-12-07 12:38 ` sam at gcc dot gnu dot org
2007-12-07 17:44 ` laurent at guerby dot net
2007-12-08 9:53 ` baldrick at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).