This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/17404] New: gimplify ICE while trying to gimplify a stmt_expr


$ ./cc1plus -quiet t.ii 
selection-chemistry.cpp: In function `SPItem*<unnamed>::next_item(SPDesktop*, 
GSList*, SPObject*, bool) [with D = <unnamed>::Forward]': 
selection-chemistry.cpp:1261:   instantiated from 
`SPItem*<unnamed>::next_item_from_list(SPDesktop*, const GSList*, SPObject*, 
bool) [with D = <unnamed>::Forward]' 
selection-chemistry.cpp:1202:   instantiated from here 
selection-chemistry.cpp:1282: internal compiler error: in gimplify_expr, at 
gimplify.c:3932 
 
We are trying to gimplify the following tree: 
 
#1  0x000000000056871c in gimplify_expr (expr_p=0x2a95916ab8, 
pre_p=0x7fbfffd888, post_p=0x7fbfffd510, 
    gimple_test_f=0x555500 <is_gimple_val>, fallback=fb_rvalue) at ../../
mainline/gcc/gimplify.c:3932 
3932                abort (); 
(gdb) p debug_tree (*expr_p) 
 <stmt_expr 0x2a98143540 
    type <integer_type 0x2a955978c0 int public type_6 SI 
        size <integer_cst 0x2a955959c0 constant invariant 32> 
        unit size <integer_cst 0x2a95595420 constant invariant 4> 
        align 32 symtab 0 alias set -1 precision 32 min <integer_cst 
0x2a95595960 -2147483648> max <integer_cst 0x2a95595990 2147483647> 
        pointer_to_this <pointer_type 0x2a95aa3d20> reference_to_this 
<reference_type 0x2a973a5540>> 
    side-effects 
    arg 0 <bind_expr 0x2a9680f230 side-effects tree_1 
        body <statement_list 0x2a981bb4e0 type <void_type 0x2a95aa3460 void> 
            side-effects> 
        selection-chemistry.cpp:1282>> 
$1 = void

-- 
           Summary: gimplify ICE while trying to gimplify a stmt_expr
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: steven at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]