* gcc.dg/lto/pr59626_0.c (ASMNAME, ASMNAME2, STRING): Define.
(__atoi): Use ASMNAME.
From-SVN: r219096
+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)
{