[PATCH] Improve diagnostics for asm immediate constraints and downgrade from error to default-error

Joerg Sonnenberger joerg at britannica.bec.de
Fri Jan 16 12:37:38 PST 2015


On Fri, Jan 16, 2015 at 12:14:13PM -0800, Saleem Abdulrasool wrote:
> On Fri, Jan 16, 2015 at 11:45 AM, Joerg Sonnenberger <joerg at netbsd.org>
> wrote:
> 
> > Using a macro requires code changes. That's more work when dealing with
> > 3rd party code, so I do prefer non-intrusive changes.
> 
> 
> The same could be said for any other issues that we diagnose better than
> other compilers.  That doesn't seem like a very good reason to avoid
> properly diagnosing errors where we can.

I continue to content that this is not an error. In general, we warn
about potential issues and that's fine...

Joerg



More information about the cfe-commits mailing list