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

            Bug ID: 95460
           Summary: ice in execute, at adjust-alignment.c:74
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Derived from yesterday's 5.7 linux kernel, this C code:

a() { long long b; }

when compiled with flags m16 -mpreferred-stack-boundary=2
and recent gcc trunk on x86_64, does this:

$ /home/dcb/gcc/results/bin/gcc -m16 -mpreferred-stack-boundary=2 bug617.c
bug617.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
    1 | a() { long long b; }
      | ^
during GIMPLE pass: adjust_alignment
bug617.c: In function ‘a’:
bug617.c:1:1: internal compiler error: in execute, at adjust-alignment.c:74
0x81c323 execute
        ../../trunk.git/gcc/adjust-alignment.c:74
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.

The bug first seems to occur sometime between 20200520 and 20200521.

Reply via email to