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  <rguent...@suse.de>

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

Reply via email to