public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc
       [not found] <bug-16676-5138@http.gcc.gnu.org/bugzilla/>
@ 2005-10-07  3:27 ` gdr at gcc dot gnu dot org
  2005-10-11 11:25 ` pinskia at gcc dot gnu dot org
  2006-02-28  9:38 ` gdr at gcc dot gnu dot org
  2 siblings, 0 replies; 11+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-10-07  3:27 UTC (permalink / raw)
  To: gcc-bugs



-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.5                       |3.4.6


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


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

* [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc
       [not found] <bug-16676-5138@http.gcc.gnu.org/bugzilla/>
  2005-10-07  3:27 ` [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc gdr at gcc dot gnu dot org
@ 2005-10-11 11:25 ` pinskia at gcc dot gnu dot org
  2006-02-28  9:38 ` gdr at gcc dot gnu dot org
  2 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-11 11:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from pinskia at gcc dot gnu dot org  2005-10-11 11:25 -------
*** Bug 24304 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |flash at pobox dot com


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


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

* [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc
       [not found] <bug-16676-5138@http.gcc.gnu.org/bugzilla/>
  2005-10-07  3:27 ` [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc gdr at gcc dot gnu dot org
  2005-10-11 11:25 ` pinskia at gcc dot gnu dot org
@ 2006-02-28  9:38 ` gdr at gcc dot gnu dot org
  2 siblings, 0 replies; 11+ messages in thread
From: gdr at gcc dot gnu dot org @ 2006-02-28  9:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #23 from gdr at gcc dot gnu dot org  2006-02-28 09:37 -------
won't fix for 3.4.6.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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


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

* [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc
  2004-07-22 20:55 [Bug debug/16676] New: ICE in gen_subprogram_die, at dwarf2out.c:10861 q at ping dot be
                   ` (6 preceding siblings ...)
  2005-07-15 22:02 ` pinskia at gcc dot gnu dot org
@ 2005-09-09 10:32 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-09-09 10:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rguenth at gcc dot gnu dot org  2005-09-09 10:31 -------
As this _only_ happens with -O1 -g1 (not -O2 -g1, nor -O1 -g) this is surely not
critical (anymore anyways).  Re-confirmed on 3.4.4 though.  Also this is likely
not to be fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
      Known to fail|3.4.0                       |3.4.0 3.4.4
   Last reconfirmed|2005-09-04 18:20:27         |2005-09-09 10:31:38
               date|                            |


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


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

* [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc
  2004-07-22 20:55 [Bug debug/16676] New: ICE in gen_subprogram_die, at dwarf2out.c:10861 q at ping dot be
                   ` (5 preceding siblings ...)
  2005-05-25  9:47 ` reichelt at gcc dot gnu dot org
@ 2005-07-15 22:02 ` pinskia at gcc dot gnu dot org
  2005-09-09 10:32 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-15 22:02 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW


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


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

* [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc
  2004-07-22 20:55 [Bug debug/16676] New: ICE in gen_subprogram_die, at dwarf2out.c:10861 q at ping dot be
                   ` (4 preceding siblings ...)
  2005-05-10  1:24 ` bje at gcc dot gnu dot org
@ 2005-05-25  9:47 ` reichelt at gcc dot gnu dot org
  2005-07-15 22:02 ` pinskia at gcc dot gnu dot org
  2005-09-09 10:32 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-05-25  9:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-05-25 09:36 -------
Ben, your patch doesn't really solve the problem.
I still get the ICE on the 3.4 branch when I compile the testcase with -g1.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bje at gcc dot gnu dot org
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
   Target Milestone|3.4.4                       |3.4.5


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


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

* [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc
  2004-07-22 20:55 [Bug debug/16676] New: ICE in gen_subprogram_die, at dwarf2out.c:10861 q at ping dot be
                   ` (3 preceding siblings ...)
  2005-05-10  0:02 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-10  1:24 ` bje at gcc dot gnu dot org
  2005-05-25  9:47 ` reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: bje at gcc dot gnu dot org @ 2005-05-10  1:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bje at gcc dot gnu dot org  2005-05-10 01:24 -------
Patch approved by rth and committed.

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


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


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

* [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc
  2004-07-22 20:55 [Bug debug/16676] New: ICE in gen_subprogram_die, at dwarf2out.c:10861 q at ping dot be
                   ` (2 preceding siblings ...)
  2005-05-09  7:11 ` benh at kernel dot crashing dot org
@ 2005-05-10  0:02 ` cvs-commit at gcc dot gnu dot org
  2005-05-10  1:24 ` bje at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-10  0:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-10 00:02 -------
Subject: Bug 16676

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	bje@gcc.gnu.org	2005-05-10 00:01:46

Modified files:
	gcc            : ChangeLog dwarf2out.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg/debug: pr16676.c 

Log message:
	PR debug/16676
	* dwarf2out.c (dwarf2out_decl): Always set context_die to NULL,
	even when debug_info_level is DINFO_LEVEL_TERSE.
	
	[testsuite]
	* gcc.dg/debug/pr16676.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.858&r2=2.2326.2.859
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2out.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.478.2.16&r2=1.478.2.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.392&r2=1.3389.2.393
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/debug/pr16676.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1



-- 


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


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

* [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc
  2004-07-22 20:55 [Bug debug/16676] New: ICE in gen_subprogram_die, at dwarf2out.c:10861 q at ping dot be
  2005-05-09  3:30 ` [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc pinskia at gcc dot gnu dot org
  2005-05-09  7:07 ` giovannibajo at libero dot it
@ 2005-05-09  7:11 ` benh at kernel dot crashing dot org
  2005-05-10  0:02 ` cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: benh at kernel dot crashing dot org @ 2005-05-09  7:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From benh at kernel dot crashing dot org  2005-05-09 07:11 -------
Ben Elliston just produced a patch for it that I tested. It fixed building of
glibc on debian powerpc with -g1 (used by debian rules for nptl).

The patch is on it's way to the patch list (which didn't catch up yet it seems).
The patch is very simple, it just causes gcc to emit more debug infos in the
case of nested functions (like the -g2 case) instead of trying to be smart.

-- 


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


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

* [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc
  2004-07-22 20:55 [Bug debug/16676] New: ICE in gen_subprogram_die, at dwarf2out.c:10861 q at ping dot be
  2005-05-09  3:30 ` [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc pinskia at gcc dot gnu dot org
@ 2005-05-09  7:07 ` giovannibajo at libero dot it
  2005-05-09  7:11 ` benh at kernel dot crashing dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: giovannibajo at libero dot it @ 2005-05-09  7:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2005-05-09 07:07 -------
Zack, this is a regression of part of your c-decl stuff. Can you possibly give 
it a look? It breaks builds of glibc on primary platforms.

-- 


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


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

* [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc
  2004-07-22 20:55 [Bug debug/16676] New: ICE in gen_subprogram_die, at dwarf2out.c:10861 q at ping dot be
@ 2005-05-09  3:30 ` pinskia at gcc dot gnu dot org
  2005-05-09  7:07 ` giovannibajo at libero dot it
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-09  3:30 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
          Component|debug                       |c


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


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

end of thread, other threads:[~2006-02-28  9:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-16676-5138@http.gcc.gnu.org/bugzilla/>
2005-10-07  3:27 ` [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc gdr at gcc dot gnu dot org
2005-10-11 11:25 ` pinskia at gcc dot gnu dot org
2006-02-28  9:38 ` gdr at gcc dot gnu dot org
2004-07-22 20:55 [Bug debug/16676] New: ICE in gen_subprogram_die, at dwarf2out.c:10861 q at ping dot be
2005-05-09  3:30 ` [Bug c/16676] [3.4 Regression] ICE with nested functions and -g1, blocks glibc pinskia at gcc dot gnu dot org
2005-05-09  7:07 ` giovannibajo at libero dot it
2005-05-09  7:11 ` benh at kernel dot crashing dot org
2005-05-10  0:02 ` cvs-commit at gcc dot gnu dot org
2005-05-10  1:24 ` bje at gcc dot gnu dot org
2005-05-25  9:47 ` reichelt at gcc dot gnu dot org
2005-07-15 22:02 ` pinskia at gcc dot gnu dot org
2005-09-09 10:32 ` rguenth 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).