https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83463
Bug ID: 83463 Summary: [8 Regression] ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have pointer_type in builtin_memr ef, at gimple-ssa-warn-restrict.c:297 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: msebor at gcc dot gnu.org Target Milestone: --- trippels@gcc67 mplayer % gcc -c -Wall -O2 m_option.i during GIMPLE pass: wrestrict m_option.i: In function ‘bar’: m_option.i:4:6: internal compiler error: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have pointer_type in builtin_memref, at gimple-ssa-warn-restrict.c:297 void bar() { ^~~ 0x788352 tree_check_failed(tree_node const*, char const*, int, char const*, ...) ../../gcc/gcc/tree.c:9129 0x88d5bb tree_check5(tree_node*, char const*, int, char const*, tree_code, tree_code, tree_code, tree_code, tree_code) ../../gcc/gcc/tree.h:3210 0x6230ec builtin_memref ../../gcc/gcc/gimple-ssa-warn-restrict.c:297 0xb018aa check_bounds_or_overlap(gcall*, tree_node*, tree_node*, tree_node*, tree_node*, bool) ../../gcc/gcc/gimple-ssa-warn-restrict.c:1712 0x6238f2 check_call ../../gcc/gcc/gimple-ssa-warn-restrict.c:1683 0x6238f2 before_dom_children ../../gcc/gcc/gimple-ssa-warn-restrict.c:106 0x13c6767 dom_walker::walk(basic_block_def*) ../../gcc/gcc/domwalk.c:308 0xafae29 execute ../../gcc/gcc/gimple-ssa-warn-restrict.c:120 Reducing...