Commit f0dbdef3 by Iain Sandoe Committed by Iain Sandoe

stringify __USER_LABEL_PREFIX__ in pr85248 testcase.

gcc/testsuite

	* gcc.dg/lto/pr85248_0.c (test_alias):
	Stringify __USER_LABEL_PREFIX__.
	(test_noreturn): Likewise.

From-SVN: r263769
parent 26e0e97b
2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
* gcc.dg/lto/pr85248_0.c (test_alias):
Stringify __USER_LABEL_PREFIX__.
(test_noreturn): Likewise.
2018-08-22 Richard Biener <rguenther@suse.de> 2018-08-22 Richard Biener <rguenther@suse.de>
PR tree-optimization/86988 PR tree-optimization/86988
......
...@@ -2,8 +2,13 @@ ...@@ -2,8 +2,13 @@
/* { dg-lto-do run } */ /* { dg-lto-do run } */
/* { dg-lto-options { { -flto -O2 } } } */ /* { dg-lto-options { { -flto -O2 } } } */
extern void test_alias (int s, int e) __asm__ (__USER_LABEL_PREFIX__ "test"); #define STR1(X) #X
extern void test_noreturn (int s, int e) __asm__ (__USER_LABEL_PREFIX__ "test") #define STR2(X) STR1(X)
extern void test_alias (int s, int e)
__asm__ (STR2(__USER_LABEL_PREFIX__) "test");
extern void test_noreturn (int s, int e)
__asm__ (STR2(__USER_LABEL_PREFIX__) "test")
__attribute__ ((__noreturn__)); __attribute__ ((__noreturn__));
extern inline __attribute__ ((__always_inline__, __gnu_inline__)) void extern inline __attribute__ ((__always_inline__, __gnu_inline__)) void
......
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