[LLVMbugs] llvm-gcc4 & PCH

Devang Patel dpatel at apple.com
Mon Feb 12 08:48:36 PST 2007

On Feb 10, 2007, at 11:58 PM, Anton Korobeynikov wrote:

> Hello, Chris.
>> Yes it is.  It was subtly broken until recently.  Devang is actively
>> working on fixing it right.  Until then, it will probably be  
>> obviously
>> broken :).  It'll probably take a week, maybe two on the outside to  
>> get
>> resolved.
> Well, ok. So, my 5 cents for PCH fixing. Attached patch will allow
> correct path to PCH file to be printed into preprocessed source.
> Currently on systems using backward slashes as path separator (e.g.
> mingw) PCH path is printed with mixed "\" and "/", even more, "\"'s  
> are
> not esacaped, so later everything got confused :)
> This patch uses standard gcc way to do platform dependent filename
> printing via output_quoted_string() call.

Thanks Anton. I'll apply this patch.

More information about the llvm-bugs mailing list