Re: [patch i386]: RFC enable inlining for function with machine-attributes

2013-07-08 Thread Richard Henderson
On 07/04/2013 03:06 AM, Kai Tietz wrote: > Hi, > > here is the adjusted patch for this PR. > > 2013-07-04 Kai Tietz > > PR target/56892 > * config/i386/i386.c (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): Define as > hook_bool_const_tree_true. Ok. r~

Re: [patch i386]: RFC enable inlining for function with machine-attributes

2013-07-04 Thread Kai Tietz
Hi, here is the adjusted patch for this PR. 2013-07-04 Kai Tietz PR target/56892 * config/i386/i386.c (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): Define as hook_bool_const_tree_true. Tested for x86_64-w64-mingw32, i686-pc-cygwin, and x86_64-unknown-linux-gnu. Ok for apply? Regard

Re: [patch i386]: RFC enable inlining for function with machine-attributes

2013-06-17 Thread Kai Tietz
2013/6/17 Richard Henderson : > On 06/16/2013 11:55 PM, Kai Tietz wrote: >> +static bool >> +ix86_function_attribute_inlinable_p (const_tree fndecl ATTRIBUTE_UNUSED) >> +{ >> + return true; >> +} > > This is hook_bool_const_tree_true. Right, we could define macro to this ... > I have an idea tha

Re: [patch i386]: RFC enable inlining for function with machine-attributes

2013-06-17 Thread Richard Henderson
On 06/16/2013 11:55 PM, Kai Tietz wrote: > +static bool > +ix86_function_attribute_inlinable_p (const_tree fndecl ATTRIBUTE_UNUSED) > +{ > + return true; > +} This is hook_bool_const_tree_true. I have an idea that perhaps the default ought to be true, and that the few targets (like mep) that hav