Commit eab92f58 by Joern Rennecke

Fix fallout from PR middle-end/15700:

	* gcc.c-torture/compile/20011119-1.c: Take
	__USER_LABEL_PREFIX__ into account.
	* gcc.c-torture/compile/20011119-2.c: Likewise.

From-SVN: r97317
parent 0e5be35b
#define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname)
#define ASMNAME2(prefix, cname) STRING (prefix) cname
#define STRING(x) #x
extern inline int foo (void) { return 23; }
int xxx(void) __asm__("xxx");
int xxx(void) __asm__(ASMNAME ("xxx"));
int xxx(void) { return 23; }
extern int foo (void) __attribute__ ((weak, alias ("xxx")));
#define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname)
#define ASMNAME2(prefix, cname) STRING (prefix) cname
#define STRING(x) #x
extern inline int foo (void) { return 23; }
int bar (void) { return foo (); }
extern int foo (void) __attribute__ ((weak, alias ("xxx")));
int baz (void) { return foo (); }
int xxx(void) __asm__("xxx");
int xxx(void) __asm__(ASMNAME ("xxx"));
int xxx(void) { return 23; }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment