public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/44915]  New: [4.6 Regression] ICE: SIGSEGV in walk_aliased_vdefs_1.constprop.42 (tree-ssa-alias.c:1707) with -findirect-inlining
Date: Mon, 12 Jul 2010 06:12:00 -0000	[thread overview]
Message-ID: <bug-44915-14164@http.gcc.gnu.org/bugzilla/> (raw)

Command line:
$ g++ -findirect-inlining testcase.C

Valgrind output:
$ valgrind -q --trace-children=yes
/mnt/svn/gcc-trunk/binary-162056-lto-fortran-checking-yes-rtl-df/bin/g++
-findirect-inlining testcase.C
==4614== Invalid read of size 2
==4614==    at 0xA692A8: walk_aliased_vdefs_1.constprop.42
(tree-ssa-alias.c:1707)
==4614==    by 0xA6996D: walk_aliased_vdefs (tree-ssa-alias.c:1748)
==4614==    by 0xBF454A: is_parm_modified_before_call (ipa-prop.c:658)
==4614==    by 0xBF687B: ipa_compute_jump_functions_for_edge (ipa-prop.c:696)
==4614==    by 0xBF7ABC: ipa_analyze_node (ipa-prop.c:901)
==4614==    by 0xBF40C7: analyze_function (ipa-inline.c:2072)
==4614==    by 0xBF4181: inline_generate_summary (ipa-inline.c:2120)
==4614==    by 0x8F16D5: execute_ipa_summary_passes (passes.c:1426)
==4614==    by 0xBE9B90: cgraph_optimize (cgraphunit.c:1869)
==4614==    by 0xBE9E0A: cgraph_finalize_compilation_unit (cgraphunit.c:1171)
==4614==    by 0x588C0C: cp_write_global_declarations (decl2.c:3924)
==4614==    by 0x9DDA45: toplev_main (toplev.c:997)
==4614==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==4614== 
testcase.C: In function 'void call_dummy(f_ptr)':
testcase.C:10:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r162056 - crash
r161659 - crash
r161170 - OK
r159696 - OK
4.5 r160526 - OK


-- 
           Summary: [4.6 Regression] ICE: SIGSEGV in
                    walk_aliased_vdefs_1.constprop.42 (tree-ssa-
                    alias.c:1707) with -findirect-inlining
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz


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


             reply	other threads:[~2010-07-12  6:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-12  6:12 zsojka at seznam dot cz [this message]
2010-07-12  6:13 ` [Bug tree-optimization/44915] " zsojka at seznam dot cz
2010-07-12  8:05 ` rguenth at gcc dot gnu dot org
2010-07-12 16:07 ` hjl dot tools at gmail dot com
2010-07-22 18:22 ` jamborm at gcc dot gnu dot org
2010-07-23 14:00 ` jamborm at gcc dot gnu dot org
2010-07-23 16:36 ` jamborm at gcc dot gnu dot org
2010-07-23 16:36 ` jamborm at gcc dot gnu dot org

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-44915-14164@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).