Re: [c++] Remove redundant inline check

2011-04-18 Thread Richard Guenther
On Mon, Apr 18, 2011 at 9:02 PM, Mark Mitchell wrote: > On 4/18/2011 11:47 AM, Jan Hubicka wrote: > >> Bootstrapped/regtested x86_64-linux, OK? >> >>       * cp/semantics.c (finish_goto_stmt): Do set UNINLINABLE flag on >> computed >>       gotos. > > Provided that we have this check elsewhere in

Re: [c++] Remove redundant inline check

2011-04-18 Thread Mark Mitchell
On 4/18/2011 11:47 AM, Jan Hubicka wrote: > Bootstrapped/regtested x86_64-linux, OK? > > * cp/semantics.c (finish_goto_stmt): Do set UNINLINABLE flag on computed > gotos. Provided that we have this check elsewhere in the compiler and are therefore confident we won't accidentally inli

[c++] Remove redundant inline check

2011-04-18 Thread Jan Hubicka
Hi, the test whether function contains computed goto is re-done by tree-inline (and re-done after optimization, so it is bit more sensitive). There is also nothing language specific in this. Bootstrapped/regtested x86_64-linux, OK? * cp/semantics.c (finish_goto_stmt): Do set UNINLINABL