public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/43540]  New: ICE: vector VEC(dw_cfi_ref,heap) grow domain error, in output_cfis at dwarf2out.c:3346 or OOM-killed
@ 2010-03-26 13:54 zsojka at seznam dot cz
  2010-03-26 13:55 ` [Bug debug/43540] " zsojka at seznam dot cz
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: zsojka at seznam dot cz @ 2010-03-26 13:54 UTC (permalink / raw)
  To: gcc-bugs

Command line:
$ CXX="/mnt/svn/gcc-trunk/binary-157723-lto/bin/g++"
$ FLAGS="-O1 -freorder-blocks-and-partition -ftree-vectorize
-fgraphite-identity -m32 -mstackrealign"
$ $CXX -fprofile-arcs $FLAGS testcase.c
$ ./a.out
$ $CXX -fprofile-use $FLAGS testcase.c
testcase.c: In function 'int test_for2(int, int)':
testcase.c:10:1: internal compiler error: vector VEC(dw_cfi_ref,heap) grow
domain error, in output_cfis at dwarf2out.c:3346
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

The worse situation is when gcc is OOM-killed, or shows error message about not
being able to allocate (random big number) bytes of memory:
cc1plus: out of memory allocating 1305533456 bytes after a total of 0 bytes

What happens is random, but "echo 0 > /proc/sys/kernel/randomize_va_space"
seems to prevent the random behaviour.

Tested revisions:
r157723 - crash
r157460 - crash
r157326 - crash
r157161 - OK
r156293 - OK
r153685 - OK

Valgrind doesn't show any warning


-- 
           Summary: ICE: vector VEC(dw_cfi_ref,heap) grow domain error, in
                    output_cfis at dwarf2out.c:3346 or OOM-killed
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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


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

end of thread, other threads:[~2010-05-19 14:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-26 13:54 [Bug debug/43540] New: ICE: vector VEC(dw_cfi_ref,heap) grow domain error, in output_cfis at dwarf2out.c:3346 or OOM-killed zsojka at seznam dot cz
2010-03-26 13:55 ` [Bug debug/43540] " zsojka at seznam dot cz
2010-03-26 14:39 ` jakub at gcc dot gnu dot org
2010-03-26 14:57 ` zsojka at seznam dot cz
2010-03-26 14:58 ` rguenth at gcc dot gnu dot org
2010-03-26 15:08 ` zsojka at seznam dot cz
2010-03-26 15:17 ` zsojka at seznam dot cz
2010-03-26 15:51 ` jakub at gcc dot gnu dot org
2010-03-26 17:12 ` zsojka at seznam dot cz
2010-03-26 20:54 ` jakub at gcc dot gnu dot org
2010-05-19 14:57 ` jakub at gcc dot gnu 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).