On Wed, 2005-06-08 at 11:51, Jani Monoses wrote: > >>Is there anything tricky that prevents an easy implementation? > > > > Yes, internally the routine that's doing the comparison can't > > distinguish declarations from definitions. We need to diagnose > > Is the routine arm_comp_type_attributes() in gcc/config/arm/arm.c by any > chance? > Yes.
> > conflicting declarations, and also where the *definition* is attributed > > but the declaration was not. > > How can you attribute the definition? This results in syntax error. > > void pig(void) __attribute__ ((long_call) > { > } > void __attribute__ ((long_call)) pig(void) { } R.