[Bug c++/17805] too liberal operator lookup
rth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 29 16:34:00 GMT 2005
------- Additional Comments From rth at gcc dot gnu dot org 2005-09-29 16:31 -------
Subject: Re: too liberal operator lookup
On Thu, Sep 29, 2005 at 02:28:03PM -0000, mmitchel at gcc dot gnu dot org wrote:
> Also, please code this using a loop:
>
> for (i = 0; i < 2; ++i) {
> if (i == 1 && !arg2)
Or better,
for (i = 0; i < (arg2 ? 2 : 1); ++i)
r~
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17805
More information about the Gcc-bugs
mailing list