public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* debug/10297: -ggdb causes ICE
@ 2003-04-02 14:26 c.pew
  0 siblings, 0 replies; only message in thread
From: c.pew @ 2003-04-02 14:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10297
>Category:       debug
>Synopsis:       -ggdb causes ICE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 02 14:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Curtis Pew
>Release:        3.2.2
>Organization:
>Environment:
powerpc-apple-darwin6.4
>Description:
adding "-ggdb" flag causes "Internal compiler error in default_no_named_section, at varasm.c:5305". works OK for just "-g". Full command and output:

% g++ -v -save-temps -c -ggdb UtilityExcepts.ii
Reading specs from /usr/local/lib/gcc-lib/powerpc-apple-darwin6.4/3.2.2/specs
Configured with: ../gcc-3.2.2/configure 
Thread model: single
gcc version 3.2.2
 /usr/local/lib/gcc-lib/powerpc-apple-darwin6.4/3.2.2/cc1plus -fpreprocessed UtilityExcepts.ii -fPIC -quiet -dumpbase UtilityExcepts.ii -ggdb -version -o UtilityExcepts.s
GNU CPP version 3.2.2 (cpplib) (Darwin/PowerPC)
GNU C++ version 3.2.2 (powerpc-apple-darwin6.4)
        compiled by GNU C version 3.2.2.
UtilityExcepts.ii:0: Internal compiler error in default_no_named_section, at 
   varasm.c:5305
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
Just specify "-ggdb" when compiling. It does the same thing with any file; here's the simplest one I've tried:

class UtilityExcepts {
public:
    UtilityExcepts( const char* desc = "" );
  const char*  description;
};

UtilityExcepts::UtilityExcepts( const char* desc )
  :	description( desc )
{}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-02 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-02 14:26 debug/10297: -ggdb causes ICE c.pew

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).