> > > How about
> > >
> > > void test3(void)
> > > {
> > > x.b = (y.c == true);
> > > }
> > >
> >

<snip>

>
> It saves 2 rra's
>
> Garst
>

You're right - thanks.  However, I'd prefer to see the better code generated
automatically by gcc while keeping the easy-to-read "x.b = y.c" version.  I
wonder if that's possible, however - as far as I understand it, the
structure of gcc makes some types of optomisations very difficult to
implement.



Reply via email to