On Tue, 3 Jun 2014, Marek Polacek wrote: > On Tue, Jun 03, 2014 at 06:07:03PM +0200, Jakub Jelinek wrote: > > On Tue, Jun 03, 2014 at 06:01:57PM +0200, Marek Polacek wrote: > > > For "shadowed declaration" note we were calling warning_at, while we > > > should use inform. > > > > > > Regtested/bootstrapped on x86_64-linux, ok for trunk? > > > > Shouldn't you remember the return value from warning/warning_at calls > > which fall through into this spot and guard the inform call with that? > > Oops, yea, for the #pragma case. Fixed + testcase attached. > > Ok?
OK. -- Joseph S. Myers jos...@codesourcery.com