Use __USER_LABEL_PREFIX__ in asm statement
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 10 Jun 2016 12:38:16 +0000 (12:38 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 10 Jun 2016 12:38:16 +0000 (05:38 -0700)
commit1f24fd3e734381f5e268d3a9897a2268b6d0485b
tree82dd00249086a48332bd0e2a11532457aa79d471
parentad551c07abd4d9227fad658d14f1fc68340db16e
Use __USER_LABEL_PREFIX__ in asm statement

A target may have a prefix in function symbol.  Update interrrupt tests
to use __USER_LABEL_PREFIX__ for function symbol in asm statement.

* gcc.dg/guality/pr68037-1.c (ASMNAME): New.
(ASMNAME2): Likewise.
(main): Replace fn in asm statement with ASMNAME ("fn").
* gcc.dg/guality/pr68037-2.c: Likewise.
* gcc.dg/guality/pr68037-3.c: Likewise.
* gcc.dg/torture/pr68037-1.c: Likewise.
* gcc.dg/torture/pr68037-2.c: Likewise.
* gcc.dg/torture/pr68037-3.c: Likewise.

From-SVN: r237304
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/guality/pr68037-1.c
gcc/testsuite/gcc.dg/guality/pr68037-2.c
gcc/testsuite/gcc.dg/guality/pr68037-3.c
gcc/testsuite/gcc.dg/torture/pr68037-1.c
gcc/testsuite/gcc.dg/torture/pr68037-2.c
gcc/testsuite/gcc.dg/torture/pr68037-3.c