public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/48752] [4.7 Regression] ICE in evaulate_conditions_for_edge at ipa-inline-analysis.c:466
Date: Tue, 26 Apr 2011 01:59:00 -0000	[thread overview]
Message-ID: <bug-48752-4-7dyw5YIjKq@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-48752-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #7 from John David Anglin <danglin at gcc dot gnu.org> 2011-04-26 01:57:57 UTC ---
ICE occurs at i==2.

Breakpoint 1, evaulate_conditions_for_edge (e=0x78730cf0, inline_p=1 '\001') at
../../gcc/gcc/ipa-inline-analysis.c:481
481               tree val = VEC_index (tree, known_vals, c->operand_num);
(gdb) p i
$6 = 2
(gdb) p *c
$7 = {val = 0x0, operand_num = 1, code = ERROR_MARK}
(gdb) p *known_vals
$9 = {base = {num = 1, alloc = 1, vec = {0x7af2ab28}}}
(gdb) p debug_tree (e->callee->decl)
 <function_decl 785c4b80
_Z41__static_initialization_and_destruction_0ii.constprop.19
    type <function_type 7861ae40
        type <void_type 7af3b840 void type_6 VOID
            align 8 symtab 3 alias set -1 canonical type 7af3b840
            pointer_to_this <pointer_type 7af3b8a0>>
        SI
        size <integer_cst 7af2a438 constant 32>
        unit size <integer_cst 7af2a270 constant 4>
        align 32 symtab 0 alias set -1 canonical type 7861ae40
        arg-types <tree_list 7897d540 value <integer_type 7af3b2a0 int>
            chain <tree_list 7af2ad80 value <void_type 7af3b840 void>>>
        pointer_to_this <pointer_type 78625000>>
    addressable used static in_system_header decl_5 SI file
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/unordered_set.h
line 398 col 1 align 32 initial <block 785a8ea8>
    arguments <parm_decl 785aa160 __initialize_p
        type <integer_type 7af3b2a0 int public type_6 SI size <integer_cst
7af2a438 32> unit size <integer_cst 7af2a270 4>
            align 32 symtab 8 alias set 5 canonical type 7af3b2a0 precision 32
min <integer_cst 7af2a3f0 -2147483648> max <integer_cst 7af2a408 2147483647>
            pointer_to_this <pointer_type 7af3bc00> reference_to_this
<reference_type 7ad73c60>>
        used SI file
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/unordered_set.h
line 398 col 1 size <integer_cst 7af2a438 32> unit size <integer_cst 7af2a270
4>
        align 32 context <function_decl 78c18100
__static_initialization_and_destruction_0> arg-type <integer_type 7af3b2a0 int>
        chain <parm_decl 785aa1b8 __priority type <integer_type 7af3b2a0 int>
            used SI file
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/unordered_set.h
line 398 col 1 size <integer_cst 7af2a438 32> unit size <integer_cst 7af2a270
4>
            align 32 context <function_decl 78c18100
__static_initialization_and_destruction_0> arg-type <integer_type 7af3b2a0
int>>>
    result <result_decl 785ac000 D.108176 type <void_type 7af3b840 void>
        ignored VOID file
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/unordered_set.h
line 398 col 1
        align 8 context <function_decl 78c18100
__static_initialization_and_destruction_0>>
    full-name "void
_Z41__static_initialization_and_destruction_0ii.constprop.19(int)"
    pending-inline-info 785a8ee0>
$16 = void
(gdb) p debug_tree (e->caller->decl)
 <function_decl 785c4c00
_GLOBAL__I_65535_0__test_gnu_gcc_gcc_libstdc___v3_include_precompiled_stdc__.h_E828EBE2_059ED766
    type <function_type 7af478a0
        type <void_type 7af3b840 void type_6 VOID
            align 8 symtab 3 alias set -1 canonical type 7af3b840
            pointer_to_this <pointer_type 7af3b8a0>>
        type_6 SI
        size <integer_cst 7af2a438 constant 32>
        unit size <integer_cst 7af2a270 constant 4>
        align 32 symtab 420 alias set -1 canonical type 7af478a0
        arg-types <tree_list 7af2ad80 value <void_type 7af3b840 void>>
        pointer_to_this <pointer_type 79db9e40>>
    used public static in_system_header preserve SI file
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/unordered_set.h
line 398 col 1 align 32 initial <block 785b0c78>
    result <result_decl 78605dc0 D.108737 type <void_type 7af3b840 void>
        VOID file
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/unordered_set.h
line 398 col 1
        align 8 context <function_decl 785c4c00
_GLOBAL__I_65535_0__test_gnu_gcc_gcc_libstdc___v3_include_precompiled_stdc__.h_E828EBE2_059ED766>>
    struct-function 79bc1580>


  parent reply	other threads:[~2011-04-26  1:59 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-24 13:39 [Bug middle-end/48752] New: " danglin at gcc dot gnu.org
2011-04-24 13:49 ` [Bug middle-end/48752] " dave at hiauly1 dot hia.nrc.ca
2011-04-24 18:27 ` paolo.carlini at oracle dot com
2011-04-24 19:13 ` dave at hiauly1 dot hia.nrc.ca
2011-04-24 19:43 ` [Bug middle-end/48752] New: " Jan Hubicka
2011-04-24 19:44 ` [Bug middle-end/48752] " hubicka at ucw dot cz
2011-04-24 20:24 ` dave at hiauly1 dot hia.nrc.ca
2011-04-25  1:28 ` dave at hiauly1 dot hia.nrc.ca
2011-04-26  1:59 ` danglin at gcc dot gnu.org [this message]
2011-04-26  2:31 ` danglin at gcc dot gnu.org
2011-04-26  9:41 ` rguenth at gcc dot gnu.org
2011-04-26 13:07 ` hubicka at ucw dot cz
2011-04-26 18:01 ` hubicka at gcc dot gnu.org
2011-04-26 18:12 ` dave at hiauly1 dot hia.nrc.ca
2011-04-27  8:00 ` hubicka at ucw dot cz
2011-04-27  8:01 ` hubicka at gcc dot gnu.org
2011-04-27 15:22 ` dave at hiauly1 dot hia.nrc.ca
2011-04-27 16:12 ` hubicka at ucw dot cz
2011-04-27 21:12 ` dave at hiauly1 dot hia.nrc.ca
2011-04-30  1:41 ` danglin at gcc dot gnu.org
2011-04-30  8:21 ` hubicka at gcc dot gnu.org
2011-04-30  8:48 ` hubicka at ucw dot cz
2011-04-30 11:02 ` hubicka at gcc dot gnu.org
2011-04-30 11:03 ` hubicka at gcc dot gnu.org
2011-05-01  1:49 ` danglin at gcc dot gnu.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-48752-4-7dyw5YIjKq@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).