re PR fortran/8485 (g77 doesn't accept INTEGER*8 constant in PARAMETER multiplication)
authorRoger Sayle <roger@eyesopen.com>
Thu, 8 May 2003 13:13:59 +0000 (13:13 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Thu, 8 May 2003 13:13:59 +0000 (13:13 +0000)
commit53415fa1a1f7b3c13dde3aa0a73f35ae4dcc335b
tree3fb5f2cf3b52eb73fc88051ccaecab5bf4d526f2
parentdb7948c2d8dc5ac573bfb3516fa34c2ba086dabc
re PR fortran/8485 (g77 doesn't accept INTEGER*8 constant in PARAMETER multiplication)

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.

From-SVN: r66596
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]