From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11978 invoked by alias); 4 Aug 2010 14:04:57 -0000 Received: (qmail 10207 invoked by uid 48); 4 Aug 2010 14:04:42 -0000 Date: Wed, 04 Aug 2010 14:04:00 -0000 Message-ID: <20100804140442.10205.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/44641] Generated constructors and destructors get wrong debug location when a typedef uses a forward declaration of the type before the definition In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ubizjak at gmail dot com" 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-08/txt/msg00224.txt.bz2 ------- Comment #14 from ubizjak at gmail dot com 2010-08-04 14:04 ------- Following patch fixes my failures: Index: lib/scanasm.exp =================================================================== --- lib/scanasm.exp (revision 162854) +++ lib/scanasm.exp (working copy) @@ -316,7 +316,7 @@ } } - set pattern [format {%s:[^\t]*(\t.file[^\t]*)?\t[^:]+:%d\n} \ + set pattern [format {%s:[^\t]*(\t.(frame|mask|file)[^\t]*)*\t[^:]+:%d\n} \ $symbol $line] # The lack of spaces around $pattern is important, since they'd -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44641