This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Your regmove.c patch is broken
- To: gcc at gcc dot gnu dot org
- Subject: Your regmove.c patch is broken
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Fri, 12 Jan 2001 14:18:21 -0800
- Cc: Alexandre Oliva <aoliva at redhat dot com>
- Organization: CodeSourcery, LLC
Alexandre --
Something is wrong with:
2001-01-12 Alexandre Oliva <aoliva@redhat.com>
* calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
to function usage for arguments passed by reference. Optimize
callee-copied arguments.
* regmove.c (find_related_toplev): Find uses in function usage.
(replace_in_call_usage): New function.
(fixup_match_1): Call it.
* cse.c (cse_insn): Canonicalize registers in function usage.
* reload1.c (replace_pseudos_in_call_usage): New function.
(reload): Call it.
As far as I can tell, regmove.c does not contain a
find_related_toplev function, but does contain a call to find_related,
which is not defined anywhere.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com