https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69780
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- Pretty much any invalid argument to __builtin_alloca_with_align (either first or second) causes an ICE, probably for the reason you mentioned. Let me try to come up with a patch to reject invalid arguments.