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

            Bug ID: 79633
           Summary: ICE in gimple_call_arg, at gimple.h:3163
           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: ---

Version 5/6/7 (on x86_64 GNU/Linux) at -Os|1|2|3 and files
  ./gcc.target/i386/addr-space-1.c
  ./gcc.target/i386/addr-space-5.c
  ./gcc.target/i386/pr65523.c
  ./gcc.dg/torture/pr55890-2.c
  ./gcc.dg/torture/pr55890-3.c


$ cat pr55890-2.c
extern void *memcpy();
int main() { memcpy(); }


$ gcc-7-20170219 -O2 -mmpx -fcheck-pointer-bounds -c pr55890-2.c
pr55890-2.c: In function 'main.chkp':
pr55890-2.c:2:5: internal compiler error: in gimple_call_arg, at gimple.h:3163
 int main() { memcpy(); }
     ^~~~
0xcbfc98 gimple_call_arg
        ../../gcc/gimple.h:3163
0xcbfc98 gimple_call_arg
        ../../gcc/gimple.h:3171
0xcbfc98 chkp_optimize_string_function_calls
        ../../gcc/tree-chkp-opt.c:981
0xcbfc98 chkp_opt_execute
        ../../gcc/tree-chkp-opt.c:1282
0xcbfc98 execute
        ../../gcc/tree-chkp-opt.c:1344

(gcc-5 backtrace differs)

Reply via email to