]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[AArch64] Fix 20101011-1.c
authorCesar Philippidis <cesar@codesourcery.com>
Tue, 19 Nov 2013 15:50:57 +0000 (07:50 -0800)
committerMarcus Shawcroft <mshawcroft@gcc.gnu.org>
Tue, 19 Nov 2013 15:50:57 +0000 (15:50 +0000)
2013-11-19  Cesar Philippidis  <cesar@codesourcery.com>

* gcc.c-torture/execute/20101011-1.c (__aarch64__):
Remove defined(__linux__).

From-SVN: r205035

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20101011-1.c

index c9605bc0973e52a3ed23dd9f2a8d91af66873553..79137dfbb45f77a9c065c0335bdbbb49b1f72fa4 100644 (file)
@@ -1,3 +1,8 @@
+2013-11-19  Cesar Philippidis  <cesar@codesourcery.com>
+
+       * gcc.c-torture/execute/20101011-1.c (__aarch64__):
+       Remove defined(__linux__).
+
 2013-11-19  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/59164
index bd54318a263a1359d4e968226b2675e6b825ede9..56b48ca72bfa23cb7748cf93ff3bd897d2585316 100644 (file)
 #elif defined (__sh__)
   /* On SH division by zero does not trap.  */
 # define DO_TEST 0
-#elif defined (__aarch64__) && !defined(__linux__)
-  /* AArch64 divisions do trap by default, but libgloss targets do not
-     intercept the trap and raise a SIGFPE. So restrict the test to
-     AArch64 systems that use the Linux kernel.  */
+#elif defined (__aarch64__)
+  /* On AArch64 integer division by zero does not trap.  */
+# define DO_TEST 0
 #elif defined (__TMS320C6X__)
   /* On TI C6X division by zero does not trap.  */
 # define DO_TEST 0