Patchwork Fix PR54553

login
register
mail settings
Submitter Richard Guenther
Date Sept. 12, 2012, 10:30 a.m.
Message ID <alpine.LNX.2.00.1209121229060.28649@zhemvz.fhfr.qr>
Download mbox | patch
Permalink /patch/183315/
State New
Headers show

Comments

Richard Guenther - Sept. 12, 2012, 10:30 a.m.
This makes sure -finline is saved across optimize attribute changes
(-O0 changes it).

Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk.

Richard.

2012-09-12  Richard Guenther  <rguenther@suse.de>

	PR middle-end/54553
	* common.opt (finline): Mark with Optimization.

Patch

Index: gcc/common.opt
===================================================================
--- gcc/common.opt	(revision 191209)
+++ gcc/common.opt	(working copy)
@@ -1289,7 +1289,7 @@  Perform indirect inlining
 ; General flag to enable inlining.  Specifying -fno-inline will disable
 ; all inlining apart from always-inline functions.
 finline
-Common Report Var(flag_no_inline,0) Init(0)
+Common Report Var(flag_no_inline,0) Init(0) Optimization
 Enable inlining of function declared \"inline\", disabling disables all inlining
 
 finline-small-functions