[PATCH] D16171: Warning on redeclaring with a conflicting asm label

Joerg Sonnenberger via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 14 05:40:17 PST 2016


On Thu, Jan 14, 2016 at 02:05:21AM +0000, Weiming Zhao via cfe-commits wrote:
> r255371 errors on redeclaring with a conflicting asm label.
> This patch changes errors to warnings to prevent breaking existing codes.

I'm not sure I agree with this. We have triggered this in NetBSD in two
different situations and both are bugs. What example do you have where
the result was "as intended"?

Joerg


More information about the cfe-commits mailing list