PR fortran/8485
commit928fd945a9c2c0d21f3b6e42bc6ee23833562eb5
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 May 2003 13:13:59 +0000 (8 13:13 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 May 2003 13:13:59 +0000 (8 13:13 +0000)
tree3fb5f2cf3b52eb73fc88051ccaecab5bf4d526f2
parente567ae341afc4a6381eee1cfb013130acbe9ff1b
PR fortran/8485
* target.h (FFETARGET_REAL_VALUE_FROM_INT_): Cast to
HOST_WIDE_INT instead of long.
(FFETARGET_REAL_VALUE_FROM_LONGLONG_): New macro.
(FFETARGET_LONGLONG_FROM_INTS_): New macro.
(ffetarget_convert_complex1_integer4): Implement.
(ffetarget_convert_complex2_integer4): Implement.
(ffetarget_convert_integer4_complex1): Implement.
(ffetarget_convert_integer4_complex2): Implement.
(ffetarget_convert_integer4_real1): Implement.
(ffetarget_convert_integer4_real2): Implement.
(ffetarget_convert_real1_integer4): Implement.
(ffetarget_convert_real2_integer4): Implement.
* com.c (ffecom_constantunion): Handle INTEGER*8.
(ffecom_constantunion_with_type): Likewise.

* g77.f-torture/compile/8485.f: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66596 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/f/ChangeLog
gcc/f/com.c
gcc/f/target.h
gcc/testsuite/ChangeLog
gcc/testsuite/g77.f-torture/compile/8485.f [new file with mode: 0644]