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

            Bug ID: 79809
           Summary: ICE in alloca_call_type, at
                    gimple-ssa-warn-alloca.c:282
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: aldyh at gcc dot gnu.org
  Target Milestone: ---

Starting from r241318, we ICE on:

$ g++ /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/opt/pr59470.C
-Walloca-larger-than=4207115063 -O3 -Wvla-larger-than=1233877270
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/opt/pr59470.C: In function ‘G
test(void*, G, E&, char, long int)’:
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/opt/pr59470.C:135:1: internal
compiler error: in alloca_call_type, at gimple-ssa-warn-alloca.c:282
 test (void *z, G s, E &x, char, long v)
 ^~~~
0x14e08e2 alloca_call_type
        ../../gcc/gimple-ssa-warn-alloca.c:282
0x14e08e2 pass_walloca::execute(function*)
        ../../gcc/gimple-ssa-warn-alloca.c:466

Reply via email to