20011119-1.c: Require weak and alias support.
* gcc.c-torture/compile/20011119-1.c: Require weak and alias support. * gcc.c-torture/compile/20011119-2.c: Likewise. * gcc.c-torture/compile/981001-2.c: Likewise. From-SVN: r97589
This commit is contained in:
parent
26bbdeb3d0
commit
bfcf81bf39
|
@ -1,3 +1,9 @@
|
||||||
|
2005-04-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||||
|
|
||||||
|
* gcc.c-torture/compile/20011119-1.c: Require weak and alias support.
|
||||||
|
* gcc.c-torture/compile/20011119-2.c: Likewise.
|
||||||
|
* gcc.c-torture/compile/981001-2.c: Likewise.
|
||||||
|
|
||||||
2005-04-04 Mark Mitchell <mark@codesourcery.com>
|
2005-04-04 Mark Mitchell <mark@codesourcery.com>
|
||||||
|
|
||||||
PR c++/20679
|
PR c++/20679
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* { dg-require-weak "" } */
|
||||||
|
/* { dg-require-alias "" } */
|
||||||
#define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname)
|
#define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname)
|
||||||
#define ASMNAME2(prefix, cname) STRING (prefix) cname
|
#define ASMNAME2(prefix, cname) STRING (prefix) cname
|
||||||
#define STRING(x) #x
|
#define STRING(x) #x
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* { dg-require-weak "" } */
|
||||||
|
/* { dg-require-alias "" } */
|
||||||
#define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname)
|
#define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname)
|
||||||
#define ASMNAME2(prefix, cname) STRING (prefix) cname
|
#define ASMNAME2(prefix, cname) STRING (prefix) cname
|
||||||
#define STRING(x) #x
|
#define STRING(x) #x
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* { dg-require-weak "" } */
|
||||||
|
/* { dg-require-alias "" } */
|
||||||
#define weak_alias(func, aliasname) \
|
#define weak_alias(func, aliasname) \
|
||||||
extern __typeof (func) aliasname __attribute__ ((weak, alias (#func)));
|
extern __typeof (func) aliasname __attribute__ ((weak, alias (#func)));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue