From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28827 invoked by alias); 21 Mar 2003 04:16:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 28809 invoked by uid 71); 21 Mar 2003 04:16:01 -0000 Date: Fri, 21 Mar 2003 04:16:00 -0000 Message-ID: <20030321041601.28808.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Igor A. Goussarov" Subject: Re: debug/5335: ICE when DWARF-1 debug info is generated Reply-To: "Igor A. Goussarov" X-SW-Source: 2003-03/txt/msg01366.txt.bz2 List-Id: The following reply was made to PR debug/5335; it has been noted by GNATS. From: "Igor A. Goussarov" To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, igusarov@akella.com, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Cc: Subject: Re: debug/5335: ICE when DWARF-1 debug info is generated Date: Fri, 21 Mar 2003 07:14:35 +0300 Hello Wolfgang, I've found that test case. In fact, it is not a specially written test case, it is just a piece of preprocessed C++ code, very heavy on templates. It has been manually reduced, eliminating a lot of unrelated #includes, types, classes and member functions. What remains is about 25Kb file which contains several class templates and _one_ function that takes one parameter of type "pointer to some complicated template class" and has an empty function body. If I would have commented out this function, the file would compile perfectly producing an empty .o file. (I mean an object file with no one function in it, not a zero-sized file). However, it doesn't look like the problem is in this particular function. This function acts merely like a trigger, causing all of the above templates to be instantiated at once. And it looks asif something goes wrong during template instantiation (or generating dwarf debug info for all these instantiated templates). Well... it's just my speculations... How do I send this file to you, then? You've told me not to send attachments, and 1000 lines of code is too much to send in a mail body. I can put its gzipped version somewhere to http, so you can download it. Or upload it to your ftp. Cheers, Igor bangerth@dealii.org wrote: > Synopsis: ICE when DWARF-1 debug info is generated > > State-Changed-From-To: open->feedback > State-Changed-By: bangerth > State-Changed-When: Fri Mar 14 02:47:14 2003 > State-Changed-Why: > Some kind of bitrot seems to have happened to this report > while nobody was staring so hard at it all the time -- the > attachment got corrupted. Do you still have the testcase > you attached back then? I'd like to try to reproduce it, > but without attachment... > > Thanks > Wolfgang > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5335