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
This commit is contained in:
parent
0e5be35ba7
commit
eab92f58f6
@ -1,4 +1,8 @@
|
||||
#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")));
|
||||
|
@ -1,6 +1,10 @@
|
||||
#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; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user