public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/6387
@ 2002-12-14 11:36 Wolfgang Bangerth
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Bangerth @ 2002-12-14 11:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR debug/6387; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/6387
Date: Sat, 14 Dec 2002 13:30:50 -0600 (CST)
Just for the record: this patch (which was commited at the same time)
diff -r1.12379 -r1.12380
0a1,11
> 2001-12-18 Jakub Jelinek <jakub@redhat.com>
>
> * config/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
> * config/sparc/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
> * config/sparc/linux64.h (PREFERRED_DEBUGGING_TYPE): Remove.
> (CC1_SPEC): Don't default to -gstabs+ if -m32.
>
> 2001-12-05 David O'Brien <obrien@FreeBSD.org>
>
> * elfos.h (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
is where high priority regression PR 6387 started, which has this
testcase:
-----------------------
void foo();
void bar() {
struct A { A() { foo(); } } a;
}
-----------------------
and yields the following result with -g1 -fPIC:
bash-2.05$ ../bin/gcc-2001-12-25/bin/c++ -fPIC -g1 -c PR6387.cc
PR6387.cc:5: Internal compiler error in dwarf2out_finish, at
dwarf2out.c:11959
Given the log message, it might well be that the problem originated
earlier and a change in meaning of -g1 now exposed the problem. Maybe the
authors of the patch can comment on how the new meaning of -g1 can be
reproduced with compilers that preceded this patch?
Regards
Wolfgang
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/6387
@ 2002-12-14 11:56 Wolfgang Bangerth
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Bangerth @ 2002-12-14 11:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR debug/6387; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/6387
Date: Sat, 14 Dec 2002 13:52:21 -0600 (CST)
> How about `-gdwaf -g1'?
Close. The switch was to dwarf2. -gdwarf -g1 works before and after that
change, -gdwarf-2 -g1 does not work before or after the change. So I'll at
this to flags and run it again. (Sorry for not noticing it before, I tried
-gdwarf-2 alone, but did not realize that it is necessary to use -g1 as
well...)
With -gdwarf-2 -g1, the failure appeared before 2001-01-01, which
presently the limit of the compilers I have on my disk, so I won't be able
to check this further.
Regards
Wolfgang
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-14 19:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-14 11:36 c++/6387 Wolfgang Bangerth
2002-12-14 11:56 c++/6387 Wolfgang Bangerth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).