Re: [PATCH][C]/[C++] Remove DECL_FROM_INLINE use

2018-10-01 Thread Jason Merrill
OK. On Mon, Oct 1, 2018 at 1:14 PM Joseph Myers wrote: > > On Mon, 1 Oct 2018, Richard Biener wrote: > > > This patch removes checks of DECL_FROM_INLINE from the respective > > -Wshadow code of the C/C++ FE. I noticed those when looking after > > DECL_ABSTRACT_ORIGIN uses. Those checks may be fr

Re: [PATCH][C]/[C++] Remove DECL_FROM_INLINE use

2018-10-01 Thread Joseph Myers
On Mon, 1 Oct 2018, Richard Biener wrote: > This patch removes checks of DECL_FROM_INLINE from the respective > -Wshadow code of the C/C++ FE. I noticed those when looking after > DECL_ABSTRACT_ORIGIN uses. Those checks may be from times where > we did inlining very early? > > Bootstrapped and

[PATCH][C]/[C++] Remove DECL_FROM_INLINE use

2018-10-01 Thread Richard Biener
This patch removes checks of DECL_FROM_INLINE from the respective -Wshadow code of the C/C++ FE. I noticed those when looking after DECL_ABSTRACT_ORIGIN uses. Those checks may be from times where we did inlining very early? Bootstrapped and tested on x86_64-unknown-linux-gnu with no regression