https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79753

            Bug ID: 79753
           Summary: ICE in ix86_expand_builtin, at
                    config/i386/i386.c:36869
           Product: gcc
           Version: 7.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fort...@t-online.de
  Target Milestone: ---

Affects version 7 on x86_64 GNU/Linux at -Os|1|2|3,
testfile ./gcc.dg/pr41340.c :


$ gcc-7-20170226 -O0 -mmpx -fcheck-pointer-bounds -c pr41340.c
$ gcc-7-20170226 -O2 -mmpx -fcheck-pointer-bounds -c pr41340.c
pr41340.c: In function 'fn5.chkp':
pr41340.c:46:1: internal compiler error: in ix86_expand_builtin, at
config/i386/i386.c:36869
 fn5 (struct S3 x, T *y)
 ^~~
0xf72254 ix86_expand_builtin
        ../../gcc/config/i386/i386.c:36869
0x793606 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
        ../../gcc/builtins.c:6362
0x8c5a14 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc/expr.c:10810
0x8d1be6 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool,
tree_node*)
        ../../gcc/expr.c:5552
0x8d37d0 expand_assignment(tree_node*, tree_node*, bool)
        ../../gcc/expr.c:5321
0x7b7cfa expand_call_stmt
        ../../gcc/cfgexpand.c:2656
0x7b7cfa expand_gimple_stmt_1
        ../../gcc/cfgexpand.c:3571
0x7b7cfa expand_gimple_stmt
        ../../gcc/cfgexpand.c:3737
0x7b998e expand_gimple_basic_block
        ../../gcc/cfgexpand.c:5744
0x7bfa56 execute
        ../../gcc/cfgexpand.c:6357

Reply via email to