Why different code from the phases::Compile code right below that handles
syntax only? I would expect these to be essentially identical.

Your test doesn't need '-OPTIONS1' or any suffix -- you only have one
compilation.

Also, make sure your subversion client submits that new test file with
native line endings rather than hard coded MS line endings.


On Mon, Jul 30, 2012 at 5:00 PM, Aaron Ballman <[email protected]>wrote:

> This patch addresses PR13343, where calling the driver with
> -fsyntax-only on a header file was creating a PCH file and ignoring
> the syntax check.  The fix was to special case a precompile action
> with fsyntax-check and set it to have no output file type (instead of
> a pch or pth file type).
>
> ~Aaron
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to