public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/43190] New: [4.3/4.4/4.5 Regression] Used pointer typedefs eliminated from debug info
@ 2010-02-26 11:21 jakub at gcc dot gnu dot org
2010-02-26 11:25 ` [Bug debug/43190] " jakub at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-02-26 11:21 UTC (permalink / raw)
To: gcc-bugs
// { dg-options "-gdwarf-2 -dA" }
// { dg-final { scan-assembler
"DW_TAG_structure_type\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*\"S\[^\\r\\n\]*DW_AT_name"
} }
// { dg-final { scan-assembler
"DW_TAG_typedef\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*\"T\[^\\r\\n\]*DW_AT_name" }
}
typedef struct S { int i; } *T;
#define M(p) ((T) (p))
void
foo (void *p)
{
M (p)->i++;
}
used to work in 3.2 (the T typedef has been emitted into debug info), but
doesn't work in 4.3/4.4/4.5.
--
Summary: [4.3/4.4/4.5 Regression] Used pointer typedefs
eliminated from debug info
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43190
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/43190] [4.3/4.4/4.5 Regression] Used pointer typedefs eliminated from debug info
2010-02-26 11:21 [Bug debug/43190] New: [4.3/4.4/4.5 Regression] Used pointer typedefs eliminated from debug info jakub at gcc dot gnu dot org
@ 2010-02-26 11:25 ` jakub at gcc dot gnu dot org
2010-02-26 15:59 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-02-26 11:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jakub at gcc dot gnu dot org 2010-02-26 11:25 -------
Created an attachment (id=19967)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19967&action=view)
gcc45-pr43190.patch
Patch I'm going to bootstrap/regtest.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43190
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/43190] [4.3/4.4/4.5 Regression] Used pointer typedefs eliminated from debug info
2010-02-26 11:21 [Bug debug/43190] New: [4.3/4.4/4.5 Regression] Used pointer typedefs eliminated from debug info jakub at gcc dot gnu dot org
2010-02-26 11:25 ` [Bug debug/43190] " jakub at gcc dot gnu dot org
@ 2010-02-26 15:59 ` jakub at gcc dot gnu dot org
2010-02-26 16:53 ` [Bug debug/43190] [4.3/4.4 " jakub at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-02-26 15:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2010-02-26 15:59 -------
Subject: Bug 43190
Author: jakub
Date: Fri Feb 26 15:58:57 2010
New Revision: 157092
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157092
Log:
PR debug/43190
* function.c (used_types_insert): Don't skip through named pointer
types. Don't use TYPE_MAIN_VARIANT if the original type has a name
and it is different from the main variant's type.
* c-c++-common/dwarf2/pr43190.c: New test.
Added:
trunk/gcc/testsuite/c-c++-common/dwarf2/pr43190.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/function.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43190
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/43190] [4.3/4.4 Regression] Used pointer typedefs eliminated from debug info
2010-02-26 11:21 [Bug debug/43190] New: [4.3/4.4/4.5 Regression] Used pointer typedefs eliminated from debug info jakub at gcc dot gnu dot org
2010-02-26 11:25 ` [Bug debug/43190] " jakub at gcc dot gnu dot org
2010-02-26 15:59 ` jakub at gcc dot gnu dot org
@ 2010-02-26 16:53 ` jakub at gcc dot gnu dot org
2010-05-11 13:39 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-02-26 16:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2010-02-26 16:52 -------
Fixed on the trunk.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.3/4.4/4.5 Regression] |[4.3/4.4 Regression] Used
|Used pointer typedefs |pointer typedefs eliminated
|eliminated from debug info |from debug info
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43190
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/43190] [4.3/4.4 Regression] Used pointer typedefs eliminated from debug info
2010-02-26 11:21 [Bug debug/43190] New: [4.3/4.4/4.5 Regression] Used pointer typedefs eliminated from debug info jakub at gcc dot gnu dot org
` (2 preceding siblings ...)
2010-02-26 16:53 ` [Bug debug/43190] [4.3/4.4 " jakub at gcc dot gnu dot org
@ 2010-05-11 13:39 ` rguenth at gcc dot gnu dot org
2010-05-14 12:56 ` rguenth at gcc dot gnu dot org
2010-05-22 18:35 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-11 13:39 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43190
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/43190] [4.3/4.4 Regression] Used pointer typedefs eliminated from debug info
2010-02-26 11:21 [Bug debug/43190] New: [4.3/4.4/4.5 Regression] Used pointer typedefs eliminated from debug info jakub at gcc dot gnu dot org
` (3 preceding siblings ...)
2010-05-11 13:39 ` rguenth at gcc dot gnu dot org
@ 2010-05-14 12:56 ` rguenth at gcc dot gnu dot org
2010-05-22 18:35 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-14 12:56 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43190
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/43190] [4.3/4.4 Regression] Used pointer typedefs eliminated from debug info
2010-02-26 11:21 [Bug debug/43190] New: [4.3/4.4/4.5 Regression] Used pointer typedefs eliminated from debug info jakub at gcc dot gnu dot org
` (4 preceding siblings ...)
2010-05-14 12:56 ` rguenth at gcc dot gnu dot org
@ 2010-05-22 18:35 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2010-05-22 18:13 -------
GCC 4.3.5 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.5 |4.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43190
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-05-22 18:35 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-26 11:21 [Bug debug/43190] New: [4.3/4.4/4.5 Regression] Used pointer typedefs eliminated from debug info jakub at gcc dot gnu dot org
2010-02-26 11:25 ` [Bug debug/43190] " jakub at gcc dot gnu dot org
2010-02-26 15:59 ` jakub at gcc dot gnu dot org
2010-02-26 16:53 ` [Bug debug/43190] [4.3/4.4 " jakub at gcc dot gnu dot org
2010-05-11 13:39 ` rguenth at gcc dot gnu dot org
2010-05-14 12:56 ` rguenth at gcc dot gnu dot org
2010-05-22 18:35 ` 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).