Re: GCC extended asm experts please look at this

2000-07-02 Thread John Polstra
In article <[EMAIL PROTECTED]>, Peter Wemm <[EMAIL PROTECTED]> wrote: > If I change it to use a static inline function, it seems to work and > will generate identical code (with -O): Thanks! I'll give that a try in both places where I'm having this problem. > It appears to generate valid code

Re: GCC extended asm experts please look at this

2000-07-02 Thread Peter Wemm
John Polstra wrote: > I _thought_ I was an expert in gcc's extended asm feature, but I > can't figure out why this won't compile when optmization is > disabled: > > = == > #define xchgl(v, m) ({

GCC extended asm experts please look at this

2000-07-02 Thread John Polstra
I _thought_ I was an expert in gcc's extended asm feature, but I can't figure out why this won't compile when optmization is disabled: === #define xchgl(v, m) ({ \ int __result;