http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33285
Andrew Pinski changed:
What|Removed |Added
CC||jayas at hvdc dot ca
--- Commen
--- Comment #6 from kargl at gcc dot gnu dot org 2007-09-03 03:58 ---
(In reply to comment #3)
> (In reply to comment #1)
>> This is assuming that an asymmetric range is permitted in Fortran which
>> I think
>> it is not. You can use -fno-range-check to disable this check.
>>
>
> In t
--- Comment #5 from kargl at gcc dot gnu dot org 2007-09-03 03:43 ---
(In reply to comment #4)
> (In reply to comment #2)
> > The number 2147483648 is too big. The minus sign is a unary operator.
> > Either use the compiler option that Jerry mentioned or use 'k = - huge(k) -
> > 1'
> >
--- Comment #4 from jlaw at uoguelph dot ca 2007-09-03 02:32 ---
(In reply to comment #2)
> The number 2147483648 is too big. The minus sign is a unary operator.
> Either use the compiler option that Jerry mentioned or use 'k = - huge(k) - 1'
>
option: -fno-range-check is supposed to b
--- Comment #3 from jlaw at uoguelph dot ca 2007-09-03 01:50 ---
(In reply to comment #1)
> This is assuming that an asymmetric range is permitted in Fortran which I
> think
> it is not. You can use -fno-range-check to disable this check.
>
In the IBM XL Fortran 90 manual:
pg 19
I qu
--- Comment #2 from kargl at gcc dot gnu dot org 2007-09-02 21:04 ---
The number 2147483648 is too big. The minus sign is a unary operator.
Either use the compiler option that Jerry mentioned or use 'k = - huge(k) - 1'
--
kargl at gcc dot gnu dot org changed:
What|Re
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2007-09-02 20:57
---
This is assuming that an asymmetric range is permitted in Fortran which I think
it is not. You can use -fno-range-check to disable this check.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33285