3.0.1 PATCH: Fix Fortran frontend on s390x

Ulrich Weigand weigand@immd1.informatik.uni-erlangen.de
Tue Aug 14 14:54:00 GMT 2001


Hello,

this fixes the Fortran frontend on s390x by not defining
FFETARGET_32bit_longs.

OK for branch and mainline?

Bye,
Ulrich


2000-08-14  Ulrich Weigand  <uweigand@de.ibm.com>

        * target.h (FFETARGET_32bit_longs): Don't define 
	for 64-bit S/390.


Index: gcc/f/target.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/f/target.h,v
retrieving revision 1.10
diff -c -p -r1.10 target.h
*** target.h	2000/06/21 20:11:14	1.10
--- target.h	2001/08/14 21:33:19
*************** the Free Software Foundation, 59 Temple 
*** 234,240 ****
  #define FFETARGET_f2cTYLOGICAL2 13
  #define FFETARGET_f2cTYQUAD 14
  
! #if !defined(__alpha__) && (!defined (_ARCH_PPC) || !defined (__64BIT__)) && (!defined(__sparc__) || (!defined(__sparcv9) && !defined(__arch64__))) && (!defined(__ia64__) || !defined(__LP64__))
  #define FFETARGET_32bit_longs
  #endif
  
--- 234,240 ----
  #define FFETARGET_f2cTYLOGICAL2 13
  #define FFETARGET_f2cTYQUAD 14
  
! #if !defined(__alpha__) && (!defined (_ARCH_PPC) || !defined (__64BIT__)) && (!defined(__sparc__) || (!defined(__sparcv9) && !defined(__arch64__))) && (!defined(__ia64__) || !defined(__LP64__)) && !defined(__s390x__)
  #define FFETARGET_32bit_longs
  #endif
  
-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de



More information about the Gcc-patches mailing list