This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] S/390: Testcase bug with -m31 -mzarch.


Hello,

testcase 20020926-1 failes on s390 (31bit) when compiled with -mzarch.
On zArchitecture CPUs is the long displacement feature available
which allows negative offset as immediates. So "scan-assembler"
did not found what it expected.

I've committed this change to mainline as obvious.

Bye,

-Andreas-


2005-08-17  Andreas Krebbel  <krebbel1@de.ibm.com>

	* testsuite/gcc.dg/20020926-1.c: Added "-mesa" to dg-options.


Index: gcc-4.1/gcc/testsuite/gcc.dg/20020926-1.c
===================================================================
--- gcc-4.1.orig/gcc/testsuite/gcc.dg/20020926-1.c	2005-08-16 16:32:05.000000000 +0200
+++ gcc-4.1/gcc/testsuite/gcc.dg/20020926-1.c	2005-08-17 10:59:29.000000000 +0200
@@ -2,7 +2,7 @@
    negative displacements.  */
 
 /* { dg-do compile { target s390-*-* } } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -mesa" } */
 
 int test (int *addr)
 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]