Re: [PATCH] Fix thinko in handle_error_attribute (PR middle-end/56167)

2013-02-04 Thread Joseph S. Myers
On Mon, 4 Feb 2013, Jakub Jelinek wrote: > Hi! > > Without this fix, we were letting in invalid error/warning attributes, > on function decls in addition to valid ones with STRING_CST argument also > attributes with various bogus arguments, and for e.g. VAR_DECLs which > shouldn't have any error/

[PATCH] Fix thinko in handle_error_attribute (PR middle-end/56167)

2013-02-04 Thread Jakub Jelinek
Hi! Without this fix, we were letting in invalid error/warning attributes, on function decls in addition to valid ones with STRING_CST argument also attributes with various bogus arguments, and for e.g. VAR_DECLs which shouldn't have any error/warning attributes those with STRING_CST arguments. F