untested changes (was re: patch applied to reload1.c)

Joern Rennecke amylaar@cygnus.co.uk
Fri Sep 25 19:21:00 GMT 1998


>    Thanks.  However, the coding standards say to avoid assignments inside
>    conditions, so reverted the code to use a separate assignment.
> 
> Thats sort of hypocritcal considering how the rest of reload (and
> actually, most of the entire compiler) does this everywhere.

This usually happens where the assignment needs to be guarded by
some preliminary checks, so there is no easy way to convert this code.

If you find places where assignments are placed in if conditions for
no good reason, consider submitting a patch.



More information about the Gcc mailing list