This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/21972] Bad code generated


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]