Commit bfcf81bf by John David Anglin Committed by John David Anglin

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
parent 26bbdeb3
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>
PR c++/20679
......
/* { dg-require-weak "" } */
/* { dg-require-alias "" } */
#define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname)
#define ASMNAME2(prefix, cname) STRING (prefix) cname
#define STRING(x) #x
......
/* { dg-require-weak "" } */
/* { dg-require-alias "" } */
#define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname)
#define ASMNAME2(prefix, cname) STRING (prefix) cname
#define STRING(x) #x
......
/* { dg-require-weak "" } */
/* { dg-require-alias "" } */
#define weak_alias(func, aliasname) \
extern __typeof (func) aliasname __attribute__ ((weak, alias (#func)));
......
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