flow.c bugfix
Richard Henderson
rth@cygnus.com
Thu Dec 3 17:37:00 GMT 1998
On Thu, Dec 03, 1998 at 03:47:48PM +0100, Franz Sirl wrote:
> static int foo;
> void bar (void) { asm ("" : "r"(&foo)); }
This is in error anyway. You're missing a colon:
void bar (void) { asm ("" : : "r"(&foo)); }
Otherwise you are treating that as an asm output, which is just
bound to get you into trouble. I'm actually surprised that it
didn't get flagged as an error earlier.
r~
More information about the Gcc-patches
mailing list