expand_asm_operands bug in 2.8.0
Jeffrey A Law
law@cygnus.com
Thu Feb 5 22:09:00 GMT 1998
In message < Pine.SOL.3.90.980203110130.16102H-100000@mccabe.informatik.rwth-aachen.de >you write:
> There was a change in GCC 2.8.0 to treat assembler statements with no
> outputs as volatile. Unfortunately, it causes assembler statements with
> exactly one output to be treated as volatile as well. In recent
> Linux 2.1.x kernels, this causes rather bad code to be generated at times.
>
> The patch below applies to GCC 2.8.0. For egcs, one part of it already exis
> ts
> in the source, only the 2.8.0 method has to be deleted.
>
> Bernd
>
> * stmt.c (expand_asm_operands): Undo change to treat assembler
> statements with no operands as volatile; use a different patch from
> egcs instead.
Agreed and installed into egcs.
jeff
More information about the Gcc
mailing list