re PR target/17280 (-mrelax and -O cause .uses directives in assembler to refer to non-existent local labels)
gcc/testsuite/ PR target/17280 * gcc.target/sh/torture/pr17280.c: New. From-SVN: r218998
This commit is contained in:
parent
8b6425215f
commit
9b09bfac86
2 changed files with 18 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-12-21 Oleg Endo <olegendo@gcc.gnu.org>
|
||||
|
||||
PR target/17280
|
||||
* gcc.target/sh/torture/pr17280.c: New.
|
||||
|
||||
2014-12-19 Edward Smith-Rowland <3dw4rd@verizon.net>
|
||||
|
||||
* g++.dg/cpp1y/feat-cxx98-neg.C: Enable __cpp_sized_deallocation test.
|
||||
|
|
13
gcc/testsuite/gcc.target/sh/torture/pr17280.c
Normal file
13
gcc/testsuite/gcc.target/sh/torture/pr17280.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
/* Check that there are no problems with .uses labels when branch relaxation
|
||||
is enabled. */
|
||||
/* { dg-do assemble } */
|
||||
/* { dg-additional-options "-mrelax" } */
|
||||
|
||||
extern void foo (int);
|
||||
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
foo (7);
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Reference in a new issue