diff options
author | Oleg Endo <olegendo@gcc.gnu.org> | 2013-05-12 10:27:48 +0000 |
---|---|---|
committer | Oleg Endo <olegendo@gcc.gnu.org> | 2013-05-12 10:27:48 +0000 |
commit | 2135ed0e63239a2d5fbd4b2dcbad2568777967a4 (patch) | |
tree | e5a859e82c3ad4280972e3e0f3640fc0e9e671fb /gcc | |
parent | efe821208342e10df48f9331ff47dceb70da7151 (diff) | |
download | gcc-2135ed0e63239a2d5fbd4b2dcbad2568777967a4.zip gcc-2135ed0e63239a2d5fbd4b2dcbad2568777967a4.tar.gz gcc-2135ed0e63239a2d5fbd4b2dcbad2568777967a4.tar.bz2 |
re PR target/57108 ([4.7/4.8/4.9] SH internal compiler error: in int_mode_for_mode, at stor-layout.c:395)
PR target/57108
* gcc.target/sh/pr57108.c: Move this test case to ...
* gcc.c-torture/compile/pr57108.c: ... here.
From-SVN: r198803
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr57108.c | 17 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/sh/pr57108.c | 19 |
3 files changed, 23 insertions, 19 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e6fec80..424f687 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2013-05-12 Oleg Endo <olegendo@gcc.gnu.org> + + PR target/57108 + * gcc.target/sh/pr57108.c: Move this test case to ... + * gcc.c-torture/compile/pr57108.c: ... here. + 2013-05-10 Richard Biener <rguenther@suse.de> PR tree-optimization/57214 diff --git a/gcc/testsuite/gcc.c-torture/compile/pr57108.c b/gcc/testsuite/gcc.c-torture/compile/pr57108.c new file mode 100644 index 0000000..531af8d --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr57108.c @@ -0,0 +1,17 @@ +/* PR target/57108 */ + +void __assert_func (void) __attribute__ ((__noreturn__)); + +void +ATATransfer (int num, int buffer) +{ + int wordCount; + + while (num > 0) + { + wordCount = num * 512 / sizeof (int); + + ((0 == (buffer & 63)) ? (void)0 : __assert_func () ); + ((0 == (wordCount & 31)) ? (void)0 : __assert_func ()); + } +} diff --git a/gcc/testsuite/gcc.target/sh/pr57108.c b/gcc/testsuite/gcc.target/sh/pr57108.c deleted file mode 100644 index 3d39637..0000000 --- a/gcc/testsuite/gcc.target/sh/pr57108.c +++ /dev/null @@ -1,19 +0,0 @@ -/* { dg-do compile { target "sh*-*-*" } } */ -/* { dg-options "-O1" } */ - -void __assert_func (void) __attribute__ ((__noreturn__)) ; - -void ATATransfer (int num, int buffer) -{ - int wordCount; - - while (num > 0) - { - wordCount = num * 512 / sizeof (int); - - ((0 == (buffer & 63)) ? (void)0 : __assert_func () ); - ((0 == (wordCount & 31)) ? (void)0 : __assert_func ()); - } - - - } |