]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/57108 ([4.7/4.8/4.9] SH internal compiler error: in int_mode_for_mode...
authorOleg Endo <olegendo@gcc.gnu.org>
Sun, 12 May 2013 10:27:48 +0000 (10:27 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Sun, 12 May 2013 10:27:48 +0000 (10:27 +0000)
PR target/57108
* gcc.target/sh/pr57108.c: Move this test case to ...
* gcc.c-torture/compile/pr57108.c: ... here.

From-SVN: r198803

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr57108.c [new file with mode: 0644]
gcc/testsuite/gcc.target/sh/pr57108.c [deleted file]

index e6fec8085c5075b1c1c2b1a146e6481c8ccc2a23..424f68707ef5a61e1089ca0d02fe6866d2f7e739 100644 (file)
@@ -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 (file)
index 0000000..531af8d
--- /dev/null
@@ -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 (file)
index 3d39637..0000000
+++ /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 ());
-  }
-
-
- }