This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/77333] Incorrect stack adjust in epilogue when targeting i686-w64-mingw32
- From: "jamborm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 30 Mar 2017 13:51:34 +0000
- Subject: [Bug ipa/77333] Incorrect stack adjust in epilogue when targeting i686-w64-mingw32
- Auto-submitted: auto-generated
- References: <bug-77333-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77333
--- Comment #22 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Thu Mar 30 13:51:02 2017
New Revision: 246589
URL: https://gcc.gnu.org/viewcvs?rev=246589&root=gcc&view=rev
Log:
[PR 77333] Fixup fntypes of gimple calls of clones
2017-03-30 Martin Jambor <mjambor@suse.cz>
PR ipa/77333
* cgraph.h (cgraph_build_function_type_skip_args): Declare.
* cgraph.c (redirect_call_stmt_to_callee): Set gimple fntype so that
it reflects the signature changes performed at the callee side.
* cgraphclones.c (build_function_type_skip_args): Make public, renamed
to cgraph_build_function_type_skip_args.
(build_function_decl_skip_args): Adjust call to the above function.
testsuite/
* g++.dg/ipa/pr77333.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ipa/pr77333.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraph.c
trunk/gcc/cgraph.h
trunk/gcc/cgraphclones.c
trunk/gcc/testsuite/ChangeLog