This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/50678] [4.7 Regression] FAIL: c52104y on x86_64-apple-darwin10
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Oct 2011 14:47:34 +0000
- Subject: [Bug ada/50678] [4.7 Regression] FAIL: c52104y on x86_64-apple-darwin10
- Auto-submitted: auto-generated
- References: <bug-50678-4@http.gcc.gnu.org/bugzilla/>
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.