Question about asm on functions/variables
Andrew Pinski
pinskia@gmail.com
Thu Nov 2 04:10:00 GMT 2006
I noticed this with the recent C99 inline changes but it is unrelated to
the changes as 4.1 also has the same issue. With the following TU:
extern void f(void) __asm__("g");
extern void g(void);
extern void f(void) {}
extern void g(void) {}
---------------
We don't reject this TU during compiling but the assembler does. Is
this correct or should we actually reject this during compiling?
Thanks,
Andrew Pinski
More information about the Gcc
mailing list