From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12483 invoked by alias); 25 Jun 2010 16:54:21 -0000 Received: (qmail 11998 invoked by uid 48); 25 Jun 2010 16:53:38 -0000 Date: Fri, 25 Jun 2010 16:54:00 -0000 Message-ID: <20100625165338.11997.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug debug/44668] class->DW_TAG_typedef is missing DW_AT_accessibility In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jakub at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg02486.txt.bz2 ------- Comment #2 from jakub at gcc dot gnu dot org 2010-06-25 16:53 ------- Created an attachment (id=21005) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21005&action=view) gcc46-pr44668.patch Patch to fix this for typedefs. More work will be needed to handle it for other DW_TAG_* type dies. // PR debug/44668 // { dg-do compile } // { dg-options "-g -dA" } struct C { private: typedef int a; a b; enum g { g1, g2 } h; struct D { int i; } i; protected: typedef int c; c d; public: typedef int e; e f; } c; -- 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=44668