Re: [PATCH 0/2] Make option-lookup macros explicit

2014-05-14 Thread Jeff Law
On 05/09/14 15:14, David Malcolm wrote: GCC's code is full of references to options like: static bool gate_vrp (void) { return flag_tree_vrp != 0; } where "flag_tree_vrp" is actually an autogenerated macro to: global_options.x_flag_tree_vrp This is deeply confusing to a ne

Re: [PATCH 0/2] Make option-lookup macros explicit

2014-05-09 Thread Trevor Saunders
On Fri, May 09, 2014 at 05:14:45PM -0400, David Malcolm wrote: > GCC's code is full of references to options like: > > static bool > gate_vrp (void) > { > return flag_tree_vrp != 0; > } > > where "flag_tree_vrp" is actually an autogenerated macro to: > > global_options.x_flag_tree_