Fix PR54553

Message ID alpine.LNX.2.00.1209121229060.28649@zhemvz.fhfr.qr
State New
Headers show

Commit Message

Richard Biener 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.


2012-09-12  Richard Guenther  <>

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


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.
-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