Re: [PATCH] Avoid generating code when writing PCH (PR c++/72813)

2017-01-11 Thread Jason Merrill
OK. On Tue, Jan 10, 2017 at 5:33 PM, Jakub Jelinek wrote: > Hi! > > The comments in both the C and C++ FEs say that after writing PCH file > when --output-pch= is used, we don't want to do anything else and the > routines return to the caller early, especially for C++ FE skipping lots of > needed

[PATCH] Avoid generating code when writing PCH (PR c++/72813)

2017-01-10 Thread Jakub Jelinek
Hi! The comments in both the C and C++ FEs say that after writing PCH file when --output-pch= is used, we don't want to do anything else and the routines return to the caller early, especially for C++ FE skipping lots of needed handling for code generation. But, nothing is signalled to the caller