public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jojelino at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/45716]  New: [4.6 regression] ICE: segmentation fault at gcc/tree-ssa-ccp.c:1347
Date: Sat, 18 Sep 2010 07:56:00 -0000	[thread overview]
Message-ID: <bug-45716-13856@http.gcc.gnu.org/bugzilla/> (raw)

/usr/libexec/gcc/i686-pc-cygwin/4.6.0/cc1.exe -fpreprocessed h264_cabac.i
-march=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32 --param
l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=core2 -quiet -dumpbase
h264_cabac.i -march=core2 -mfpmath=sse -auxbase h264_cabac -g -O4 -std=gnu99
-version -ffast-math -fomit-frame-pointer -fno-common -o tmp.s

(gdb) set args -fpreprocessed h264_cabac.i -march=core2 -mcx16 -msahf -msse4.1
--param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=20
48 -mtune=core2 -quiet -dumpbase h264_cabac.i -march=core2 -mfpmath=sse -auxbas
e h264_cabac -g -O4 -std=gnu99 -version -ffast-math -fomit-frame-pointer -fno-c
ommon -o tmp.s -v
(gdb) r
Starting program: /usr/libexec/gcc/i686-pc-cygwin/4.6.0/cc1.exe -fpreprocessed
h
264_cabac.i -march=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32
--param
 l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=core2 -quiet -dumpbase
h264_cabac.i -march=core2 -mfpmath=sse -auxbase h264_cabac -g -O4 -std=gnu99
-ve
rsion -ffast-math -fomit-frame-pointer -fno-common -o tmp.s -v
[New Thread 6004.0xc50]
warning: the debug information found in "/cygdrive/d/cygwin/bin/cygwin1.dbg"
doe
s not match "/cygdrive/d/cygwin/bin/cygwin1.dll" (CRC mismatch).

[New Thread 6004.0x112c]
GNU C (GCC) version 4.6.0 20100918 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.6.0 20100918 (experimental), GMP version
5.0
.0, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
[New Thread 6004.0x4ec]
ignoring duplicate directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/i686-pc-cygwin/4.6.0/include
 /usr/local/include
 /usr/lib/gcc/i686-pc-cygwin/4.6.0/include-fixed
 /usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/include
End of search list.
GNU C (GCC) version 4.6.0 20100918 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.6.0 20100918 (experimental), GMP version
5.0
.0, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 37b591552c4af58bc2f535240f94baa1

Program received signal SIGSEGV, Segmentation fault.
0x00a241fa in get_base_constructor (base=0x7fa6e1c0,
    offset=<value optimized out>) at ../.././gcc/tree-ssa-ccp.c:1347
1347                  && !varpool_get_node (base)->const_value_known))
(gdb) bt
#0  0x00a241fa in get_base_constructor (base=0x7fa6e1c0,
    offset=<value optimized out>) at ../.././gcc/tree-ssa-ccp.c:1347
#1  0x00a2029b in fold_const_aggregate_ref (t=0x7f9451b8)
    at ../.././gcc/tree-ssa-ccp.c:1396
#2  0x00a24248 in get_base_constructor (base=0x7f9451b8,
    offset=<value optimized out>) at ../.././gcc/tree-ssa-ccp.c:1361
#3  0x00a2029b in fold_const_aggregate_ref (t=0x7f945190)
    at ../.././gcc/tree-ssa-ccp.c:1396
#4  0x008d0448 in maybe_fold_reference (expr=0x7f945190, is_lhs=0x0)
    at ../.././gcc/gimple-fold.c:480
#5  0x008d4125 in fold_stmt_1 (gsi=0x4a5c820, inplace=0x0)
    at ../.././gcc/gimple-fold.c:1559
#6  0x009b9882 in optimize_stmt (bb=0x7fa781f0, si=...)
    at ../.././gcc/tree-ssa-dom.c:2120
#7  0x009bac00 in dom_opt_enter_block (walk_data=0x4a5c930, bb=0x7fa781f0)
    at ../.././gcc/tree-ssa-dom.c:1671
#8  0x00b26025 in walk_dominator_tree (walk_data=0x4a5c930, bb=0x7fa781f0)
    at ../.././gcc/domwalk.c:188
#9  0x009b928b in tree_ssa_dominator_optimize ()
    at ../.././gcc/tree-ssa-dom.c:698
#10 0x0065182d in execute_one_pass (pass=0xc4c0e0)
    at ../.././gcc/passes.c:1573
#11 execute_one_pass (pass=0xc4c0e0) at ../.././gcc/passes.c:1516
#12 0x00651ac5 in execute_pass_list (pass=0xc4c0e0)
---Type <return> to continue, or q <return> to quit---
    at ../.././gcc/passes.c:1628
#13 0x00651ad8 in execute_pass_list (pass=0xc4b520)
    at ../.././gcc/passes.c:1629
#14 0x0078d30b in tree_rest_of_compilation (fndecl=0x7fc05600)
    at ../.././gcc/tree-optimize.c:452
#15 0x0065404c in cgraph_expand_function (node=0x7fa5f618)
    at ../.././gcc/cgraphunit.c:1469
#16 0x00656e15 in cgraph_expand_all_functions ()
    at ../.././gcc/cgraphunit.c:1548
#17 cgraph_optimize () at ../.././gcc/cgraphunit.c:1804
#18 0x006573fa in cgraph_finalize_compilation_unit ()
    at ../.././gcc/cgraphunit.c:1012
#19 0x0041c0a8 in c_write_global_declarations () at ../.././gcc/c-decl.c:9732
#20 0x006606d2 in compile_file (argc=0x1f, argv=0x4e9a208)
    at ../.././gcc/toplev.c:967
#21 do_compile (argc=0x1f, argv=0x4e9a208) at ../.././gcc/toplev.c:2394
#22 toplev_main (argc=0x1f, argv=0x4e9a208) at ../.././gcc/toplev.c:2435
#23 0x004a62a0 in main (argc=0x1f, argv=0x4e9a208) at ../.././gcc/main.c:36
(gdb)
(gdb)


-- 
           Summary: [4.6 regression] ICE: segmentation fault at gcc/tree-
                    ssa-ccp.c:1347
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jojelino at gmail dot com
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


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


             reply	other threads:[~2010-09-18  7:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-18  7:56 jojelino at gmail dot com [this message]
2010-09-18  7:57 ` [Bug tree-optimization/45716] " jojelino at gmail dot com
2010-09-18  9:26 ` rguenth at gcc dot gnu dot org
2010-09-23  4:52 ` jojelino at gmail dot com

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-45716-13856@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).