------- Comment #5 from pinskia at gcc dot gnu dot org 2007-01-18 17:52 ------- __USER_LABEL_PREFIX__ should be a string already.
so you just need: extern void bar (void); extern __typeof(bar) bar __asm__(__USER_LABEL_PREFIX__ "foo"); void bar (void) { ; } extern __typeof(bar) gee __attribute__((__alias__("foo"))); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30007