http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47564
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-03 08:29:07 UTC --- Author: jakub Date: Thu Feb 3 08:29:03 2011 New Revision: 169784 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169784 Log: 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. Added: trunk/gcc/testsuite/gcc.target/i386/pr47564.c Modified: trunk/gcc/ChangeLog trunk/gcc/cgraphunit.c trunk/gcc/testsuite/ChangeLog trunk/gcc/toplev.c