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

            Bug ID: 100575
           Summary: ICE: in expand_stack_alignment, at cfgexpand.c:6385
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: cnsun at uwaterloo dot ca
  Target Milestone: ---

$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/12.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /tmp/tmp.BriefQJ2R3-gcc-builder/gcc/configure
--enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch
--prefix=/scratch/software/gcc-trunk --disable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.0.0 20210511 (experimental) [master revision
:61d4686bb:71d38ec80008afdbb9a059253407d80598b765c0] (GCC)

$ cat mutant.c
int main(int __attribute__((vector_size(1 << 29)))) { return 0; }

$ gcc-trunk  mutant.c
mutant.c: In function ‘main’:
mutant.c:1:5: note: the ABI for passing parameters with 268435456-byte
alignment has changed in GCC 4.6
    1 | int main(int __attribute__((vector_size(1 << 29)))) { return 0; }
      |     ^~~~
during RTL pass: expand
mutant.c:1:65: internal compiler error: in expand_stack_alignment, at
cfgexpand.c:6385
    1 | int main(int __attribute__((vector_size(1 << 29)))) { return 0; }
      |                                                                 ^
0x68c38b expand_stack_alignment
        /tmp/tmp.BriefQJ2R3-gcc-builder/gcc/gcc/cfgexpand.c:6385
0x68c38b execute
        /tmp/tmp.BriefQJ2R3-gcc-builder/gcc/gcc/cfgexpand.c:6845
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to