public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tim at klingt dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/35118]  New: ICE in mem_loc_descriptor, at dwarf2out.c:8974
Date: Thu, 07 Feb 2008 10:22:00 -0000	[thread overview]
Message-ID: <bug-35118-12873@http.gcc.gnu.org/bugzilla/> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3146 bytes --]

gcc crashes with an ICE, when generating code with debugging information. if
the flag -g is omitted, the code compiles fine ...

gcc is invoked like this:
gcc-4.2 -v  -save-temps -DNDEBUG -D_PTHREADS -D_THREAD_SAFE -D_REENTRANT
-D_POSIX_SOURCE -march=i686 -O -Wfatal-errors -I../../Demo -I../../Source -g 
-c ../../Demo/TestHashTable.cpp
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr
--disable-libmudflap --enable-targets=all --enable-checking=release
--build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 20080114 (prerelease) (Debian 4.2.2-7)
 /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1plus -E -quiet -v -I../../Demo
-I../../Source -D_GNU_SOURCE -DNDEBUG -D_PTHREADS -D_THREAD_SAFE -D_REENTRANT
-D_POSIX_SOURCE ../../Demo/TestHashTable.cpp -march=i686 -Wfatal-errors
-fworking-directory -O -fpch-preprocess -o TestHashTable.ii
ignoring nonexistent directory "/usr/local/include/i486-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../i486-linux-gnu/include"
ignoring nonexistent directory "/usr/include/i486-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
 ../../Demo
 ../../Source
 /usr/include/c++/4.2
 /usr/include/c++/4.2/i486-linux-gnu
 /usr/include/c++/4.2/backward
 /usr/local/include
 /usr/lib/gcc/i486-linux-gnu/4.2.3/include
 /usr/include
End of search list.
 /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1plus -fpreprocessed TestHashTable.ii
-quiet -dumpbase TestHashTable.cpp -march=i686 -auxbase TestHashTable -g -O
-Wfatal-errors -version -o TestHashTable.s
GNU C++ version 4.2.3 20080114 (prerelease) (Debian 4.2.2-7) (i486-linux-gnu)
        compiled by GNU C version 4.2.3 20080114 (prerelease) (Debian 4.2.2-7).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: f406bbb58e12163da4726a4b8abbe4e4
../../Demo/TestHashTable.cpp: In static member function ‘static void
CTestHashTable::TestHashTableRandomly(time_t&)’:
../../Demo/TestHashTable.cpp:130: internal compiler error: in
mem_loc_descriptor, at dwarf2out.c:8974
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.

the preprocessed file is attached. gcc-4.3 seems to work fine ...


-- 
           Summary: ICE in mem_loc_descriptor, at dwarf2out.c:8974
           Product: gcc
           Version: 4.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tim at klingt dot org


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


             reply	other threads:[~2008-02-07 10:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-07 10:22 tim at klingt dot org [this message]
2008-02-07 10:23 ` [Bug c/35118] " tim at klingt dot org
2009-08-08 18:02 ` [Bug debug/35118] " jv244 at cam dot ac dot uk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-35118-12873@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).