From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: Bernd Schmidt Cc: kenner@vlsi1.ultra.nyu.edu, egcs@cygnus.com Subject: Re: expand_asm_operands bug in 2.8.0 Date: Thu, 05 Feb 1998 22:09:00 -0000 Message-id: <25023.886741299@hurl.cygnus.com> References: X-SW-Source: 1998-02/msg00215.html 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