public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/17663] New: Ada: dwarf2out.c ICE in stage2
@ 2004-09-24 19:11 laurent at guerby dot net
  2004-09-24 20:58 ` [Bug bootstrap/17663] " laurent at guerby dot net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: laurent at guerby dot net @ 2004-09-24 19:11 UTC (permalink / raw)
  To: gcc-bugs

stage1/xgcc -Bstage1/
-B/home/guerby/work/gcc/install/install-20040924T203642/i686-pc-linux-gnu/bin/
-c -O2 -g -fomit-frame-pointer      -gnatpg -gnata -I- -I. -Iada
-I/home/guerby/work/gcc/version-head/gcc/ada
/home/guerby/work/gcc/version-head/gcc/ada/cstand.adb -o ada/cstand.o
+===========================GNAT BUG DETECTED==============================+
| 4.0.0 20040924 (experimental) (i686-pc-linux-gnu) GCC error:             |
| in output_die, at dwarf2out.c:6921                                       |
| Error detected at cstand.adb:1827:1                                      |

Last successful bootstrap was (-fno-ivopts):
LAST_UPDATED: Wed Sep 22 19:00:54 UTC 2004

First failed bootstrap with this ICE I got:
LAST_UPDATED: Thu Sep 23 21:03:59 UTC 2004

I tried backing out the 20040923 Ada change, but it didn't
change anything so this is not the source of the problem.

It also happens on x86_64. 

Backtrace:

Breakpoint 1, fancy_abort (file=0x87f2590
"/home/guerby/work/gcc/version-head/gcc/dwarf2out.c", line=6921,
function=0x87f545b "output_die")
    at /home/guerby/work/gcc/version-head/gcc/diagnostic.c:591
591       internal_error ("in %s, at %s:%d", function, trim_filename (file), line);
(gdb) bt
#0  fancy_abort (file=0x87f2590
"/home/guerby/work/gcc/version-head/gcc/dwarf2out.c", line=6921,
function=0x87f545b "output_die")
    at /home/guerby/work/gcc/version-head/gcc/diagnostic.c:591
During symbol reading, Incomplete CFI data; unspecified registers at 0x08408637.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08408637.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08408637.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08408637.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08408637.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08408637.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08408637.
#1  0x08417234 in output_die (die=0x40df023c) at
/home/guerby/work/gcc/version-head/gcc/dwarf2out.c:6921
During symbol reading, Incomplete CFI data; unspecified registers at 0x08417242.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08417242.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08417242.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08417242.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08417242.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08417242.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08417242.
#2  0x0841737f in output_die (die=0x40024104) at
/home/guerby/work/gcc/version-head/gcc/dwarf2out.c:6960
During symbol reading, Incomplete CFI data; unspecified registers at 0x08417334.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08417334.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08417334.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08417334.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08417334.
During symbol reading, Incomplete CFI data; unspecified registers at 0x08417334.
#3  0x084174e3 in output_comp_unit (die=0x40024104, output_if_empty=0) at
/home/guerby/work/gcc/version-head/gcc/dwarf2out.c:7026
#4  0x084254c6 in dwarf2out_finish (filename=0xbffff2d7 "ada/cstand.o") at
/home/guerby/work/gcc/version-head/gcc/dwarf2out.c:13657
#5  0x0867dc2a in compile_file () at
/home/guerby/work/gcc/version-head/gcc/toplev.c:1025
#6  0x0867f55e in do_compile () at
/home/guerby/work/gcc/version-head/gcc/toplev.c:2079
#7  0x0867f5c5 in toplev_main (argc=19, argv=0xbfffefd4) at
/home/guerby/work/gcc/version-head/gcc/toplev.c:2111
#8  0x082cf5ca in main (argc=19, argv=0xbfffefd4) at
/home/guerby/work/gcc/version-head/gcc/main.c:35

-- 
           Summary: Ada: dwarf2out.c ICE in stage2
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: laurent at guerby dot net
                CC: gcc-bugs at gcc dot gnu dot org,laurent at guerby dot
                    net
  GCC host triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17663


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/17663] Ada: dwarf2out.c ICE in stage2
  2004-09-24 19:11 [Bug bootstrap/17663] New: Ada: dwarf2out.c ICE in stage2 laurent at guerby dot net
@ 2004-09-24 20:58 ` laurent at guerby dot net
  2004-09-24 21:10 ` [Bug debug/17663] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: laurent at guerby dot net @ 2004-09-24 20:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From laurent at guerby dot net  2004-09-24 20:58 -------
If I revert:

2004-09-21  Jan Hubicka  <jh@suse.cz>
        PR debug/17389
        * dwarf2out.c (dwarf2out_finish): Deal with nested functions
        of fully inlined functions.
        * tree-inline.c (inline_forbidden_p_1): Nested functions can be
        inlined.

I no longer the ICE and c,ada stage2 completes successfully (on x86).

http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02594.html


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Ada: dwarf2out.c ICE in     |Ada: dwarf2out.c ICE in
                   |stage2                      |stage2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17663


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug debug/17663] [4.0 Regression] Ada: dwarf2out.c ICE in stage2
  2004-09-24 19:11 [Bug bootstrap/17663] New: Ada: dwarf2out.c ICE in stage2 laurent at guerby dot net
  2004-09-24 20:58 ` [Bug bootstrap/17663] " laurent at guerby dot net
@ 2004-09-24 21:10 ` pinskia at gcc dot gnu dot org
  2004-09-25 21:19 ` mueller at kde dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-24 21:10 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |debug
           Keywords|                            |build, ice-on-valid-code
            Summary|Ada: dwarf2out.c ICE in     |[4.0 Regression] Ada:
                   |stage2                      |dwarf2out.c ICE in stage2
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17663


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug debug/17663] [4.0 Regression] Ada: dwarf2out.c ICE in stage2
  2004-09-24 19:11 [Bug bootstrap/17663] New: Ada: dwarf2out.c ICE in stage2 laurent at guerby dot net
  2004-09-24 20:58 ` [Bug bootstrap/17663] " laurent at guerby dot net
  2004-09-24 21:10 ` [Bug debug/17663] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-09-25 21:19 ` mueller at kde dot org
  2004-09-26  7:52 ` laurent at guerby dot net
  2004-09-26 14:18 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: mueller at kde dot org @ 2004-09-25 21:19 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mueller at kde dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17663


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug debug/17663] [4.0 Regression] Ada: dwarf2out.c ICE in stage2
  2004-09-24 19:11 [Bug bootstrap/17663] New: Ada: dwarf2out.c ICE in stage2 laurent at guerby dot net
                   ` (2 preceding siblings ...)
  2004-09-25 21:19 ` mueller at kde dot org
@ 2004-09-26  7:52 ` laurent at guerby dot net
  2004-09-26 14:18 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: laurent at guerby dot net @ 2004-09-26  7:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From laurent at guerby dot net  2004-09-26 07:52 -------
http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02683.html

is now commited and the problem is fixed on x86 and x86_64.

Laurent

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17663


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug debug/17663] [4.0 Regression] Ada: dwarf2out.c ICE in stage2
  2004-09-24 19:11 [Bug bootstrap/17663] New: Ada: dwarf2out.c ICE in stage2 laurent at guerby dot net
                   ` (3 preceding siblings ...)
  2004-09-26  7:52 ` laurent at guerby dot net
@ 2004-09-26 14:18 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-26 14:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-26 14:18 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17663


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-09-26 14:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-24 19:11 [Bug bootstrap/17663] New: Ada: dwarf2out.c ICE in stage2 laurent at guerby dot net
2004-09-24 20:58 ` [Bug bootstrap/17663] " laurent at guerby dot net
2004-09-24 21:10 ` [Bug debug/17663] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-09-25 21:19 ` mueller at kde dot org
2004-09-26  7:52 ` laurent at guerby dot net
2004-09-26 14:18 ` pinskia 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).