[Bug c++/21972] Bad code generated
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jun 9 00:25:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-09 00:24 -------
Nope this is not generating bad code.
i<(p==NULL)?30:(p->bb+4)
is equivalent to
(i<(p==NULL))?30:(p->bb+4)
You want "i<((p==NULL)?30:(p->bb+4))".
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21972
More information about the Gcc-bugs
mailing list