https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117820
Sam James changed:
What|Removed |Added
Target Milestone|--- |14.3
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117820
Jerry DeLisle changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117820
--- Comment #9 from GCC Commits ---
The releases/gcc-14 branch has been updated by Jerry DeLisle
:
https://gcc.gnu.org/g:1dbbfe23b15bfbab61d5fbcef9fbc193ee24dcb6
commit r14-11069-g1dbbfe23b15bfbab61d5fbcef9fbc193ee24dcb6
Author: Jerry DeLisle
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117820
--- Comment #8 from GCC Commits ---
The master branch has been updated by Jerry DeLisle :
https://gcc.gnu.org/g:7a92ba766815c9a6b73593967a26fdfbebfc7e69
commit r15-5915-g7a92ba766815c9a6b73593967a26fdfbebfc7e69
Author: Jerry DeLisle
Date: T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117820
--- Comment #7 from Jerry DeLisle ---
The root of the problem here is that the function write_boz uses a type int to
pass in the value n, this value is then tested for zero which fails for a 64
bit integer.
The following hack makes it work but
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117820
--- Comment #6 from Jerry DeLisle ---
With kind=4 we do treat the sign bit as part of the value.
program test
integer(4) :: x
x = -huge(x) - 1_4
print '("-huge -1 = <",B32.32,">")', x
print '("zero = <",B32.32,">")', 0_4
prin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117820
--- Comment #5 from Jerry DeLisle ---
Back to the Standard
>From the standard, the relevent text is: 13.7.2.4 B, O, and Z editing
---
The value of m shall not exceed the value of w, except when w is zero. If m is
zero and the internal value co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117820
--- Comment #4 from Jerry DeLisle ---
(In reply to anlauf from comment #3)
--- snip ---
> > The error at line 16 is not correct.
>
> Of course it is! But when you add _8 you get what you want.
>
> BTW: why does the integer(4) case not show th
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117820
--- Comment #3 from anlauf at gcc dot gnu.org ---
(In reply to Jerry DeLisle from comment #2)
> If I add a couple more print statements:
>
> print *, -9223372036854775807
> print *, -9223372036854775808
>
> $ gfc -frange-check -Wall pr11782
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117820
--- Comment #2 from Jerry DeLisle ---
>From the standard, the relevent text is: 13.7.2.4 B, O, and Z editing
---
The value of m shall not exceed the value of w, except when w is zero. If m is
zero and the internal value consists of all zero bit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117820
Jerry DeLisle changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot
gnu.org
11 matches
Mail list logo