[Bug debug/43628] [4.5 Regression] in-class func-ptr type parameter has unspecified DW_AT_type

2010-12-01 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43628

Jonathan Wakely redi at gcc dot gnu.org changed:

   What|Removed |Added

 CC||bschindler at inf dot
   ||ethz.ch

--- Comment #10 from Jonathan Wakely redi at gcc dot gnu.org 2010-12-01 
12:34:07 UTC ---
*** Bug 46743 has been marked as a duplicate of this bug. ***


[Bug debug/43628] [4.5 Regression] in-class func-ptr type parameter has unspecified DW_AT_type

2010-10-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43628

Jonathan Wakely redi at gcc dot gnu.org changed:

   What|Removed |Added

 CC||pluto at agmk dot net

--- Comment #9 from Jonathan Wakely redi at gcc dot gnu.org 2010-10-13 
10:04:35 UTC ---
*** Bug 46000 has been marked as a duplicate of this bug. ***


[Bug debug/43628] [4.5 Regression] in-class func-ptr type parameter has unspecified DW_AT_type

2010-09-18 Thread hjl dot tools at gmail dot com


--- Comment #6 from hjl dot tools at gmail dot com  2010-09-18 14:13 ---
4.5 isn't fixed.


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |
Summary|[4.5/4.6 Regression] in-|[4.5 Regression] in-class
   |class func-ptr type |func-ptr type parameter has
   |parameter has unspecified   |unspecified DW_AT_type
   |DW_AT_type  |
   Target Milestone|4.6.0   |4.5.2


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



[Bug debug/43628] [4.5 Regression] in-class func-ptr type parameter has unspecified DW_AT_type

2010-09-18 Thread hjl at gcc dot gnu dot org


--- Comment #7 from hjl at gcc dot gnu dot org  2010-09-18 14:48 ---
Subject: Bug 43628

Author: hjl
Date: Sat Sep 18 14:48:36 2010
New Revision: 164392

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164392
Log:
Fix missing C++ debug info for pointer types.

gcc/

2010-09-18  H.J. Lu  hongjiu...@intel.com

Backport from mainline
2010-04-07  Dodji Seketeli  do...@redhat.com

PR debug/43628
* dwarf2out.c (modified_type_die): Ignore artificial typedefs.

gcc/testsuite

2010-09-18  H.J. Lu  hongjiu...@intel.com

Backport from mainline
2010-04-07  Dodji Seketeli  do...@redhat.com

PR debug/43628
* g++.dg/debug/dwarf2/typedef2.C: New test.

Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/debug/dwarf2/typedef2.C
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/dwarf2out.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


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



[Bug debug/43628] [4.5 Regression] in-class func-ptr type parameter has unspecified DW_AT_type

2010-09-18 Thread hjl dot tools at gmail dot com


--- Comment #8 from hjl dot tools at gmail dot com  2010-09-18 14:49 ---
Fixed.


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


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



[Bug debug/43628] [4.5 Regression] in-class func-ptr type parameter has unspecified DW_AT_type

2010-04-04 Thread drow at gcc dot gnu dot org


--- Comment #2 from drow at gcc dot gnu dot org  2010-04-04 15:45 ---
FYI, this patch also fixes a number of failures in cpexprs.exp in GDB. 
Testcase:

struct s
{
  bool operator!= (s const o) const { return false; }
};

bool
func (const struct s arg, const struct s right)
{
  return arg != right;
}

The THIS argument of operator!= gets a valid type.  The O argument gets the
self-typedef, and produces a DW_TAG_const_type with no type argument.

I'd say an assertion in modified_type_die after creating a new const or
volatile DIE with sub_die == NULL would be appropriate, if it weren't for the
ERROR_MARK handling... I don't know if we get here after errors.


-- 


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



[Bug debug/43628] [4.5 Regression] in-class func-ptr type parameter has unspecified DW_AT_type

2010-04-02 Thread dodji at gcc dot gnu dot org


-- 

dodji at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |dodji at gcc dot gnu dot org
   |dot org |
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-04-02 16:57:42
   date||


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



[Bug debug/43628] [4.5 Regression] in-class func-ptr type parameter has unspecified DW_AT_type

2010-04-02 Thread dodji at gcc dot gnu dot org


--- Comment #1 from dodji at gcc dot gnu dot org  2010-04-02 19:09 ---
Patch posted to http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00100.html


-- 


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