[Bug c++/71448] pointer relational comparison fails inside constant expression

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 7 21:32:00 GMT 2016


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-06-07
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1
      Known to fail|                            |4.9.3, 5.3.0, 6.1.0, 7.0

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed also with 6.1 and current trunk (7.0).  I'd say the underlying
problem is the same as in bug 67376, but the fix for that bug (r231909) is
incomplete: fold_comparison doesn't know how to handle this case.


More information about the Gcc-bugs mailing list