Commit 04037457 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

pr59626_0.c (ASMNAME, [...]): Define.

	* gcc.dg/lto/pr59626_0.c (ASMNAME, ASMNAME2, STRING): Define.
	(__atoi): Use ASMNAME.

From-SVN: r219096
parent db569cc8
2014-12-29 Hans-Peter Nilsson <hp@axis.com>
* gcc.dg/lto/pr59626_0.c (ASMNAME, ASMNAME2, STRING): Define.
(__atoi): Use ASMNAME.
2014-12-28 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/i386/pr57003.c: Skip on x32.
......
/* { dg-lto-do run } */
int __atoi (const char *) __asm__("atoi");
#define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname)
#define ASMNAME2(prefix, cname) STRING (prefix) cname
#define STRING(x) #x
int __atoi (const char *) __asm__(ASMNAME ("atoi"));
extern inline __attribute__((always_inline,gnu_inline))
int atoi (const char *x)
{
......
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