This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PR c++/33887] Fix incorrect use of jboolean in link.cc
>>>>> "Richard" == Richard Guenther <richard.guenther@gmail.com> writes:
Richard> Thinking about it -- jboolean is unsigned : 1? I guess for b
Richard> += x to work it should be bool : 1, which has special
Richard> semantics for addition. That is:
I think it should really just work the same as 'bool'.
So, yeah, I think your patch is probably what we want.
Alexandre's patch is still what I prefer, though, since I don't like
to see math-y operations on booleans.
Tom