Commit 2bdc7dcb by Sam Tebbs Committed by Sam Tebbs

[PATCH][GCC][AARCH64] PR target/90712 Fix gcc.dg/rtl/aarch64/subs_adds_sp.c regression

gcc/
2019-07-05  Sam Tebbs  <sam.tebbs@arm.com>

	PR target/90712
	* aarch64/aarch64.c (aarch64_post_cfi_startproc): Replace thunk check
	with a frame laid out check.

From-SVN: r273138
parent 66076dcb
2019-07-05 Sam Tebbs <sam.tebbs@arm.com>
PR target/90712
* aarch64/aarch64.c (aarch64_post_cfi_startproc): Replace thunk check
with a frame laid out check.
2019-07-05 Richard Biener <rguenther@suse.de> 2019-07-05 Richard Biener <rguenther@suse.de>
* tree-ssa-sccvn.c (vn_reference_lookup_3): Valueize RHS * tree-ssa-sccvn.c (vn_reference_lookup_3): Valueize RHS
......
...@@ -15745,7 +15745,7 @@ aarch64_asm_output_external (FILE *stream, tree decl, const char* name) ...@@ -15745,7 +15745,7 @@ aarch64_asm_output_external (FILE *stream, tree decl, const char* name)
void void
aarch64_post_cfi_startproc (FILE *f, tree ignored ATTRIBUTE_UNUSED) aarch64_post_cfi_startproc (FILE *f, tree ignored ATTRIBUTE_UNUSED)
{ {
if (!cfun->is_thunk && aarch64_return_address_signing_enabled () if (cfun->machine->frame.laid_out && aarch64_return_address_signing_enabled ()
&& aarch64_ra_sign_key == AARCH64_KEY_B) && aarch64_ra_sign_key == AARCH64_KEY_B)
asm_fprintf (f, "\t.cfi_b_key_frame\n"); asm_fprintf (f, "\t.cfi_b_key_frame\n");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment