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

            Bug ID: 93631
           Summary: internal compiler error: in gimple_ca ll_arg, at
                    gimple.h:3258
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: changochen1 at gmail dot com
  Target Milestone: ---

POC:
---
---

Run command:
---
gcc -o poc poc.c
---

Gcc version:
---
gcc (GCC) 10.0.1 20200208 (experimental)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
---

Stack dump:
---
internal compiler error: in gimple_ca
ll_arg, at gimple.h:3258
    1 | int f2 ( int x [ strcmp ( ) ] , int b ) { return c - b ;
      |     ^~
0x696d12 gimple_call_arg
        ../../gcc/gimple.h:3258
0x69ae3a gimple_call_arg
        ../../gcc/tree.h:3799
0x69ae3a gimple_call_arg
        ../../gcc/gimple.h:3266
0x69ae3a gimple_fold_builtin_string_compare
        ../../gcc/gimple-fold.c:2382
0xafbc7d gimple_fold_builtin
        ../../gcc/gimple-fold.c:3966
0xafbc7d gimple_fold_call
        ../../gcc/gimple-fold.c:4481
0xafd2f3 fold_stmt_1
        ../../gcc/gimple-fold.c:5152
0x169fc97 lower_stmt
        ../../gcc/gimple-low.c:388
0x169f7f2 lower_sequence
        ../../gcc/gimple-low.c:217
0x169f7f2 lower_gimple_bind
        ../../gcc/gimple-low.c:474
0x16a08f9 lower_function_body
        ../../gcc/gimple-low.c:110
0x16a08f9 execute
        ../../gcc/gimple-low.c:195
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
---

Reply via email to