r194845 - Revert "Using an invalid -O falls back on -O3 instead of an error"

Sylvestre Ledru sylvestre at debian.org
Sat Nov 16 01:25:38 PST 2013


On 15/11/2013 21:40, Alp Toker wrote:
> Author: alp
> Date: Fri Nov 15 14:40:58 2013
> New Revision: 194845
>
> URL: http://llvm.org/viewvc/llvm-project?rev=194845&view=rev
> Log:
> Revert "Using an invalid -O falls back on -O3 instead of an error"
>
> Trying to fix test failures since earlier today.
>
> One of the tests added in this commit is outputting test/Driver/clang_f_opts.s
> which the builders that build in-tree (eg. clang-native-arm-cortex-a9) are
> trying to run as a test case, causing failures.
>
> clang_f_opts.c:
>   If -### doesn't emit the warning then this test probably shouldn't be in
>   here in the first place. Frontend maybe?
>
Do you have an idea on how to fix that ?

It was related to this question I asked:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20131111/092937.html

Thanks,
Sylvestre




More information about the cfe-commits mailing list