public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/28187]  New: '-O2 -fwrapv' exhausts memory.
@ 2006-06-28 12:46 pluto at agmk dot net
  2006-06-28 13:22 ` [Bug other/28187] " pluto at agmk dot net
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: pluto at agmk dot net @ 2006-06-28 12:46 UTC (permalink / raw)
  To: gcc-bugs

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

[ i486 ]
gcc -O2 -fno-strict-aliasing -fwrapv -march=i486 -ggdb -DHAVE_POSIX_REGCOMP
    -c -o fetch.o fetch.c
cc1: out of memory allocating 4064 bytes after a total of 1292098548 bytes

[ powerpc ]
gcc -O2 -fno-strict-aliasing -fwrapv -fsigned-char -ggdb -DHAVE_POSIX_REGCOMP
    -c -o fetch.o fetch.c
cc: Internal error: Killed (program cc1)



flags to reporduce bug: '-O2 -fwrapv -march=i486'
note that e.g. with -march=i686 it works fine.

(gdb) bt
#0  0x00000000006bd510 in ggc_alloc_stat ()
#1  0x00000000006a3e14 in make_node_stat ()
#2  0x00000000006a6c76 in build2_stat ()
#3  0x0000000000562056 in fold_build2_stat ()
#4  0x000000000055c83c in fold_binary ()
#5  0x0000000000562040 in fold_build2_stat ()
#6  0x00000000006c5adf in extract_range_from_assert ()
#7  0x00000000006c6dcb in extract_range_from_expr ()
#8  0x00000000006c9e9e in vrp_visit_assignment ()
#9  0x00000000006cabfd in vrp_visit_stmt ()
#10 0x00000000004a08f8 in simulate_stmt ()
#11 0x00000000004a0bfa in process_ssa_edge_worklist ()
#12 0x00000000004a1916 in ssa_propagate ()
#13 0x00000000006cc3a4 in execute_vrp ()
#14 0x00000000006c0199 in execute_one_pass ()
#15 0x00000000006c022c in execute_pass_list ()
#16 0x00000000006c0240 in execute_pass_list ()
#17 0x000000000045d12e in tree_rest_of_compilation ()
#18 0x000000000040cac3 in c_expand_body ()
#19 0x00000000006fa50f in cgraph_expand_function ()
#20 0x00000000006fa646 in cgraph_expand_all_functions ()
#21 0x00000000006faa6b in cgraph_optimize ()
#22 0x000000000040debf in c_write_global_declarations ()
#23 0x00000000006a2419 in compile_file ()
#24 0x00000000006a38ed in do_compile ()
#25 0x00000000006a394e in toplev_main ()
#26 0x000000000044a601 in main ()


-- 
           Summary: '-O2 -fwrapv' exhausts memory.
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
 GCC build triplet: 486, powerpc
  GCC host triplet: 486, powerpc
GCC target triplet: 486, powerpc


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


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

end of thread, other threads:[~2006-07-12  9:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-28 12:46 [Bug other/28187] New: '-O2 -fwrapv' exhausts memory pluto at agmk dot net
2006-06-28 13:22 ` [Bug other/28187] " pluto at agmk dot net
2006-06-28 21:16 ` [Bug tree-optimization/28187] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-07-05 13:48 ` rguenth at gcc dot gnu dot org
2006-07-05 15:06 ` rguenth at gcc dot gnu dot org
2006-07-05 15:12 ` rguenth at gcc dot gnu dot org
2006-07-05 15:20 ` rguenth at gcc dot gnu dot org
2006-07-05 16:09 ` rguenth at gcc dot gnu dot org
2006-07-06  6:45 ` patchapp at dberlin dot org
2006-07-07 12:32 ` rguenth at gcc dot gnu dot org
2006-07-07 12:34 ` rguenth at gcc dot gnu dot org
2006-07-12  9:26 ` rguenth at gcc dot gnu dot org
2006-07-12  9:26 ` rguenth 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).