r213400 - Recommit: Handle diagnostic warnings in Frontend diagnostic handler.

Tyler Nowicki tnowicki at apple.com
Fri Jul 18 17:34:10 PDT 2014


I don’t know that much about how target triples work can you provide the command line you used to produce the error?

I get an error with the following because -cc1 and -target seem to be compatible. 
clang -cc1 -target i686-linux -O3 test/Misc/backend-optimization-failure.cpp -emit-llvm -gline-tables-only -S -verify -o /dev/null

Thanks,

Tyler

On Jul 18, 2014, at 5:12 PM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:

> It seems the test would be incompatible to i686.
> 
> For example with -triple i686-linux,
> 
>  error: 'warning' diagnostics expected but not seen:
>    File clang/test/Misc/backend-optimization-failure.cpp Line 9: loop
> not vectorized: failed explicitly specified loop vectorization
> 





More information about the cfe-commits mailing list