From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29148 invoked by alias); 18 Aug 2008 08:44:34 -0000 Received: (qmail 28887 invoked by uid 48); 18 Aug 2008 08:43:11 -0000 Date: Mon, 18 Aug 2008 08:44:00 -0000 Message-ID: <20080818084311.28886.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/29635] debug info of modules 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: 2008-08/txt/msg01249.txt.bz2 ------- Comment #8 from jakub at gcc dot gnu dot org 2008-08-18 08:43 ------- Looking at the original namespace support in dwarf2out patches I found the declaration in the namespace and specification in CU is being done for compatibility with (at that time) existing debuggers. I'm not sure if we need to do the same for Fortran (maybe not, what does gdb do with DW_TAG_module?) or if we couldn't drop compatibility hacks for more than 5 years old dwarf2 debuggers by now even for C++. The duplicate declaration DIEs are still unexpected. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29635