This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix target_reinit (PR target/47564)
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Michael Meissner <meissner at linux dot vnet dot ibm dot com>
- Date: Wed, 02 Feb 2011 08:48:43 -0800
- Subject: Re: [PATCH] Fix target_reinit (PR target/47564)
- References: <20110202140748.GM30899@tyan-ft48-01.lab.bos.redhat.com>
On 02/02/2011 06:07 AM, Jakub Jelinek wrote:
> PR target/47564
> * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx
> around backend_init_target and lang_dependent_init_target calls.
> * cgraphunit.c (cgraph_debug_gimple_stmt): New function.
> (verify_cgraph_node): Don't call set_cfun here. Use
> cgraph_debug_gimple_stmt instead of debug_gimple_stmt.
> Set error_found for incorrectly represented calls to thunks.
>
> * gcc.target/i386/pr47564.c: New test.
Ok.
r~