public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/35118]  New: ICE in mem_loc_descriptor, at dwarf2out.c:8974
@ 2008-02-07 10:22 tim at klingt dot org
  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
  0 siblings, 2 replies; 3+ messages in thread
From: tim at klingt dot org @ 2008-02-07 10:22 UTC (permalink / raw)
  To: gcc-bugs

[-- 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


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

* [Bug c/35118] ICE in mem_loc_descriptor, at dwarf2out.c:8974
  2008-02-07 10:22 [Bug c/35118] New: ICE in mem_loc_descriptor, at dwarf2out.c:8974 tim at klingt dot org
@ 2008-02-07 10:23 ` tim at klingt dot org
  2009-08-08 18:02 ` [Bug debug/35118] " jv244 at cam dot ac dot uk
  1 sibling, 0 replies; 3+ messages in thread
From: tim at klingt dot org @ 2008-02-07 10:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tim at klingt dot org  2008-02-07 10:22 -------
Created an attachment (id=15113)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15113&action=view)
preprocessed source file


-- 


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


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

* [Bug debug/35118] ICE in mem_loc_descriptor, at dwarf2out.c:8974
  2008-02-07 10:22 [Bug c/35118] New: ICE in mem_loc_descriptor, at dwarf2out.c:8974 tim at klingt dot org
  2008-02-07 10:23 ` [Bug c/35118] " tim at klingt dot org
@ 2009-08-08 18:02 ` jv244 at cam dot ac dot uk
  1 sibling, 0 replies; 3+ messages in thread
From: jv244 at cam dot ac dot uk @ 2009-08-08 18:02 UTC (permalink / raw)
  To: gcc-bugs

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



------- Comment #2 from jv244 at cam dot ac dot uk  2009-08-08 18:01 -------
doesn't compile with trunk?

gcc -DNDEBUG -D_PTHREADS -D_THREAD_SAFE -D_REENTRANT -D_POSIX_SOURCE  -O
-Wfatal-errors -g -c t.ii
In file included from /usr/include/c++/4.2/bits/stl_algobase.h:72:0,
                 from /usr/include/c++/4.2/bits/char_traits.h:46,
                 from /usr/include/c++/4.2/string:47,
                 from ../../Demo/TestHashTable.cpp:22:
/usr/include/c++/4.2/bits/cpp_type_traits.h:346:12: error: expected identifier
before ‘__is_pod’
compilation terminated due to -Wfatal-errors.


-- 


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


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

end of thread, other threads:[~2009-08-08 18:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-07 10:22 [Bug c/35118] New: ICE in mem_loc_descriptor, at dwarf2out.c:8974 tim at klingt dot org
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

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