[Bug c++/58845] [4.8/4.9 Regression] Operator || and && broken for vectors

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 1 14:00:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58845

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #15 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #5)
>  (v1 != { 0, 0, ... }) & (v2 != { 0, 0, ... })

FWIW this seems to be what clang does, without any kind of sequence point.

I'm not sure why fixing this would need to wait for stage 1; it looks to me
like your patch shouldn't affect the behavior of anything that currently works.
 I suppose figuring out what semantics we want is the important part.

I'm going to go ahead and fix the ICE to get the regression out of the way.



More information about the Gcc-bugs mailing list