http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50678

vries at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|tree-optimization           |ada

--- Comment #10 from vries at gcc dot gnu.org 2011-10-11 14:47:34 UTC ---
I don't know whether it's related, but while reviewing the code once more I
found this problem in function.c. I forgot to update the number of arguments in
build_call_expr to 2:
...
          t = built_in_decls[BUILT_IN_ALLOCA_WITH_ALIGN];
          t = build_call_expr (t, 1, DECL_SIZE_UNIT (parm),
                       size_int (DECL_ALIGN (parm)));
...

I'll test and submit to gcc-patches.

Reply via email to