[AArch64] Fix thinko in handling of -momit-leaf-frame-pointer option

* common/config/aarch64/aarch64-common.c (aarch64_handle_option):
	Set x_flag_omit_leaf_frame_pointer when handling
	-momit-leaf-frame-pointer.

From-SVN: r234116
This commit is contained in:
Kyrylo Tkachov 2016-03-10 16:24:26 +00:00 committed by Kyrylo Tkachov
parent 4f4ada6afb
commit 48090169ea
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2016-03-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* common/config/aarch64/aarch64-common.c (aarch64_handle_option):
Set x_flag_omit_leaf_frame_pointer when handling
-momit-leaf-frame-pointer.
2016-03-10 Jan Hubicka <hubicka@ucw.cz>
PR lto/69589

View File

@ -98,7 +98,7 @@ aarch64_handle_option (struct gcc_options *opts,
return true;
case OPT_momit_leaf_frame_pointer:
opts->x_flag_omit_frame_pointer = val;
opts->x_flag_omit_leaf_frame_pointer = val;
return true;
default: