[v3] Fix Werror breakage (maintainer-mode)

Ian Lance Taylor iant@google.com
Mon Jul 7 06:43:00 GMT 2008


"Richard Guenther" <richard.guenther@gmail.com> writes:

> A miscompilation is very unlikely (even though GCC still may have bugs
> with honoring the C++ memory model), as reads/writes of type c_locale
> always conflict with reads/writes of type char, which is the declared type
> of c_clocale.

Yes, so, why is gcc issuing a warning?  I don't see the code path
which could lead to a warning.  I couldn't create a small test case.

Ian



More information about the Libstdc++ mailing list