public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1
@ 2005-03-16 22:11 ivanr at syncad dot com
  2005-03-16 22:15 ` [Bug c++/20505] " ivanr at syncad dot com
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: ivanr at syncad dot com @ 2005-03-16 22:11 UTC (permalink / raw)
  To: gcc-bugs

When I try to compile with -ggdb2, it fails. When I try with -ggdb1, it doesn't.

version of GCC:
4.1.0 20050309 (experimental)

system type:
SunOS 5.8

GCC configure options:
./configure   --prefix=/usr/local/toolchain-4.0.0 --with-gnu-as --with-gnu-l
d --enable-languages=c,c++

command line:
g++ -v -save-temps -ggdb2 -c -o clockevent.41.o clockevent.41.ii

compiler output:
Using built-in specs.
Target: sparc-sun-solaris2.8
Configured with: ../gcc/configure --prefix=/usr/local/toolchain-4.0.0 --with-
gnu-as --with-gnu-ld --enable-languages=c,c++
Thread model: posix
gcc version 4.1.0 20050309 (experimental)
 /space/home/usr.local/toolchain-4.0.0/bin/../libexec/gcc/sparc-sun-
solaris2.8/4.1.0/cc1plus -fpreprocessed clockevent.41.ii -quiet -dumpbase 
clockevent.41.ii -mcpu=v7 -auxbase-strip clockevent.41.o -ggdb2 -version -o 
clockevent.41.s
GNU C++ version 4.1.0 20050309 (experimental) (sparc-sun-solaris2.8)
        compiled by GNU C version 4.0.0 20050221 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
clockevent.41.ii: In member function 'TClockEventBlock* 
TClock::GetClockEventBlock()':
clockevent.41.ii:72515: warning: taking address of temporary
clockevent.41.ii: In member function 'TClockEventBlock* 
TClock::GetUnbufferedClockEventBlock()':
clockevent.41.ii:72520: warning: taking address of temporary
clockevent.41.ii: At global scope:
clockevent.41.ii:72546: internal compiler error: tree check: expected 
integer_cst, have minus_expr in tree_add_const_value_attribute, at 
dwarf2out.c:10173
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: internal error when compiling with -ggdb2 and no error
                    with -ggdb1
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ivanr at syncad dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20505


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2005-04-08  3:45 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-16 22:11 [Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1 ivanr at syncad dot com
2005-03-16 22:15 ` [Bug c++/20505] " ivanr at syncad dot com
2005-03-16 22:36 ` [Bug debug/20505] " pinskia at gcc dot gnu dot org
2005-03-16 22:41 ` [Bug debug/20505] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-03-16 22:42 ` pinskia at gcc dot gnu dot org
2005-03-16 23:25 ` pinskia at gcc dot gnu dot org
2005-03-16 23:45 ` pinskia at gcc dot gnu dot org
2005-03-16 23:48 ` [Bug c++/20505] " pinskia at gcc dot gnu dot org
2005-03-17 17:35 ` nathan at gcc dot gnu dot org
2005-03-24 17:48 ` mmitchel at gcc dot gnu dot org
2005-03-24 18:58 ` nathan at gcc dot gnu dot org
2005-03-30  2:16 ` wilson at gcc dot gnu dot org
2005-04-01  3:58 ` cvs-commit at gcc dot gnu dot org
2005-04-01  4:05 ` wilson at gcc dot gnu dot org
2005-04-04  8:45 ` [Bug c++/20505] [4.0 " cvs-commit at gcc dot gnu dot org
2005-04-04  9:46 ` nathan at gcc dot gnu dot org
2005-04-04 12:05 ` cvs-commit at gcc dot gnu dot org
2005-04-08  2:37 ` ivanr at syncad dot com
2005-04-08  3:45 ` wilson at tuliptree dot org

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