David Brown wrote:
> 
> > > > 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.
You're welcome,
 Can't help on the gcc code generation.

 Garst

Reply via email to