r255849 - in /trunk/gcc: ChangeLog builtins.c c...

vries@gcc.gnu.org vries@gcc.gnu.org
Wed Dec 20 00:46:00 GMT 2017


Author: vries
Date: Wed Dec 20 00:46:38 2017
New Revision: 255849

URL: https://gcc.gnu.org/viewcvs?rev=255849&root=gcc&view=rev
Log:
Don't call targetm.calls.static_chain in non-static function

2017-12-20  Tom de Vries  <tom@codesourcery.com>

	PR middle-end/83423
	* config/i386/i386.c (ix86_static_chain): Move DECL_STATIC_CHAIN test ...
	* calls.c (rtx_for_static_chain): ... here.  New function.
	* calls.h (rtx_for_static_chain): Declare.
	* builtins.c (expand_builtin_setjmp_receiver): Use rtx_for_static_chain
	instead of targetm.calls.static_chain.
	* df-scan.c (df_get_entry_block_def_set): Same.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/calls.c
    trunk/gcc/calls.h
    trunk/gcc/config/i386/i386.c
    trunk/gcc/df-scan.c



More information about the Gcc-cvs mailing list