[Bug middle-end/69780] [4.9/5/6 Regression] ICE on __builtin_alloca_with_align with small alignment

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Feb 14 21:08:00 GMT 2016


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.


More information about the Gcc-bugs mailing list