https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395
Bug ID: 103395 Summary: [9/10/11/12 Regression] ICE on qemu in arm create_fix_barrier Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- Since GCC 5 (r208990 still works fine, r215478 ICEs already up to current trunk) the following testcase ICEs on armv7hl-linux-gnueabi with -O2: void foo (void) { __asm__ ("\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\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.