diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 85d11d01507..dd103bb8fac 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-12-21 Oleg Endo + + 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. diff --git a/gcc/testsuite/gcc.target/sh/torture/pr17280.c b/gcc/testsuite/gcc.target/sh/torture/pr17280.c new file mode 100644 index 00000000000..9e4fb71796e --- /dev/null +++ b/gcc/testsuite/gcc.target/sh/torture/pr17280.c @@ -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; +}