https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650

--- Comment #39 from Roger Orr <rogero at howzatt dot demon.co.uk> ---
The resolution of this issue causes a problem for me as it results in
compilation errors in our build.

We are compiling with distcc which AIUI distributes the pre-processed
intermediate output.

With revision 234480 we get no warnings logged and clean compilation.

With revision 234481 we get a number of warnings logged - but this interacts
unfortunately with -Werror (which we also set) and so quite a number of our
compilations fail.

(I cannot as yet detect a pattern with which compilations are affected, but the
set is consistent on a rebuild.)

I can reproduce the distcc problem by using -E to generate pre-processed source
and compiling this.
Note: the pre-processed intermediate output does not change between 234480 and
234481, it's the compilation of this pre-processed output that fails.

Unfortunately the failing code is proprietary so I am not at liberty to upload
the pre-processed output, I have attempted to produce some smaller examples but
so far with no success.

Could the generation of the warning be made dependent upon a more specific
warning flag?

Reply via email to