https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52773
--- Comment #12 from Jeffrey A. Law <law at gcc dot gnu.org> --- Author: law Date: Sat Jan 17 07:35:40 2015 New Revision: 219796 URL: https://gcc.gnu.org/viewcvs?rev=219796&root=gcc&view=rev Log: PR rtl-optimization/52773 * calls.c (emit_library_call_value): When pushing arguments use stack_pointer_rtx rather than virtual_outgoing_args_rtx in CALL_INSN_FUNCTION_USAGE. Only emit one of use of the magic stack pointer reference into CALL_INSN_FUNCTION_USAGE. PR rtl-optimization/52773 * gcc.c-torture/compile/pr52773.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr52773.c Modified: trunk/gcc/ChangeLog trunk/gcc/calls.c trunk/gcc/testsuite/ChangeLog