[Bug libstdc++/43525] Useless condition: "if (__x->_M_right != __y)"

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Thu Mar 25 21:05:00 GMT 2010



------- Comment #2 from paolo dot carlini at oracle dot com  2010-03-25 21:04 -------
Evidently, the condition isn't always true: if I replace it with a call to
__builtin_abort() when __x->_M_right == __y then
21_strings/basic_string/requirements/exception/generation_prohibited.cc aborts.
I don't have the time to investigate now in detail what's going on but the PR
is certainly invalid.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list