This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] Fix Werror breakage (maintainer-mode)


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]