https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95436
Bug ID: 95436
Summary: [11 Regression] ICE in store_expr, at expr.c:5845
since
r11-711-g43a4fc095e30188392cc42299c4081297e321104
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: jakub at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-linux-gnu
Target: aarch64-linux-gnu
Since the revision I see:
$ ./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr68529-3.c
-fconserve-stack -mstrict-align
during RTL pass: expand
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr68529-3.c: In
function ‘foo1’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr68529-3.c:7:8:
internal compiler error: in store_expr, at expr.c:5845
7 | char c[10000] = {};
| ^
0xd33d19 store_expr(tree_node*, rtx_def*, int, bool, bool)
/home/marxin/Programming/gcc/gcc/expr.c:5845
0xd39fcb store_field
/home/marxin/Programming/gcc/gcc/expr.c:7256
0xd3147f expand_assignment(tree_node*, tree_node*, bool)
/home/marxin/Programming/gcc/gcc/expr.c:5374
0xbb4bd4 expand_gimple_stmt_1
/home/marxin/Programming/gcc/gcc/cfgexpand.c:3749
0xbb4fcd expand_gimple_stmt
/home/marxin/Programming/gcc/gcc/cfgexpand.c:3847
0xbbd25a expand_gimple_basic_block
/home/marxin/Programming/gcc/gcc/cfgexpand.c:5887
0xbbf120 execute
/home/marxin/Programming/gcc/gcc/cfgexpand.c:6571
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 same is seen on ARM target.