GCC ICE: in create_fix_barrier, at config/arm/arm.c:17891
Bug #1953128 reported by
Simon Chopin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc |
Confirmed
|
Medium
|
|||
gcc-11 (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
postgresql-14 (Ubuntu) |
Fix Released
|
High
|
Christian Ehrhardt |
Bug Description
This ICE was hit when building Postgresql-14 on GCC 11.2 on armhf
A similar issue has been found in Fedora when building qemu:
https://<email address hidden>
The issue is tracked upstream at
https:/
tags: | added: patch |
tags: | removed: server-next |
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
To post a comment you must log in.
Since GCC 5 (r208990 still works fine, r215478 ICEs already up to current trunk) linux-gnueabi with -O2: n\n\n\n\ n\n\n\n" n\n\n\n\ n\n\n\n\ n" n\n\n\n\ n\n\n\n\ n" n\n\n\n\ n\n\n\n\ n" n\n\n\n\ n\n\n\n\ n" n\n\n\n\ n\n\n\n\ n"
the following testcase ICEs on armv7hl-
void
foo (void)
{
__asm__ ("\n\n\
"\n\
"\n\
"\n\
"\n\
"\n\
"\n" : : "nor" (0), "nor" (0));
}
Removing just one newline makes the ICE go away. get_attr_length for such inline asm is 248 bytes (estimation) and the arm minipool code is apparently upset about it.