[PATCH] Disable -Wunused warning for artificial decls (PR sanitizer/66452)

2015-06-08 Thread Marek Polacek
This PR is about a bogus -Wunused-variable warning about an internal structure (*.Lubsan_data*), exposed by the debug-early merge. I think the defined but not used warning should not be allowed for the compiler-generated entities. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2015-06-08

Re: [PATCH] Disable -Wunused warning for artificial decls (PR sanitizer/66452)

2015-06-08 Thread Richard Biener
On Mon, 8 Jun 2015, Marek Polacek wrote: This PR is about a bogus -Wunused-variable warning about an internal structure (*.Lubsan_data*), exposed by the debug-early merge. I think the defined but not used warning should not be allowed for the compiler-generated entities.