--- Comment #8 from burnus at gcc dot gnu dot org 2007-08-09 21:28 ---
Subject: Bug 33001
Author: burnus
Date: Thu Aug 9 21:27:52 2007
New Revision: 127321
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127321
Log:
2007-08-09 Tobias Burnus <[EMAIL PROTECTED]>
PR fort
--- Comment #7 from patchapp at dberlin dot org 2007-08-06 18:20 ---
Subject: Bug number PR33001
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00374.html
--
http://gcc.gnu.org/bugzilla/sh
--- Comment #6 from kargl at gcc dot gnu dot org 2007-08-06 17:30 ---
*** This bug has been marked as a duplicate of 18026 ***
--
kargl at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #5 from burnus at gcc dot gnu dot org 2007-08-06 13:06 ---
> The numbers are 32-bit, so why an overflow?
huge(0): 2147483647 ! biggest (positive) number fitting into integer(4)
Z'': 4294967295
I would argue that 4294967295 is bigger than 2147483647. If one allo
--- Comment #3 from sliwa at cft dot edu dot pl 2007-08-06 12:41 ---
1. The attached d1mach.f works fine with g77.
2. The numbers are 32-bit, so why an overflow? Maybe the number is extended as
a signed number (padded with ones), and the conversion is unsigned.
--
http://gcc.gnu.or
--- Comment #4 from sliwa at cft dot edu dot pl 2007-08-06 12:45 ---
With -fno-range-check I get:
d1mach.f: In function 'd1mach':
d1mach.f:2: fatal error: gfc_todo: Not Implemented: Initialization of
overlapping variables
compilation terminated.
See also bug #33002.
--
http://gcc.
--- Comment #2 from burnus at gcc dot gnu dot org 2007-08-06 12:11 ---
DATA LARGE(1), LARGE(2) / Z'', Z'7FEF' /
Error: Arithmetic overflow converting INTEGER(16) to INTEGER(4) at (1)
The error message is correct: You cannot fit the number into an INTEGER(
--- Comment #1 from sliwa at cft dot edu dot pl 2007-08-06 11:03 ---
Created an attachment (id=14028)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14028&action=view)
sample source that does not compile
This is a SLATEC machine file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi