https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118406

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2025-01-11

--- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Confirmed.

$ ./a.out 
  170141183460469231731687303715884105727
  170141183480276272351030016075267833856
a.out: ../../../trunk/libgfortran/runtime/string.c:254: gfc_itoa: Assertion `n
<= UINT64_MAX' failed.

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x7f6896f4008f in ???
#1  0x7f6896f990f4 in ???
#2  0x7f6896f3ffdd in ???
#3  0x7f6896f27941 in ???
#4  0x7f6896f2785d in ???
#5  0x7f6896f38106 in ???
#6  0x7f68974c5656 in write_decimal_unsigned
        at ../../../trunk/libgfortran/io/write.c:995
#7  0x7f68974ca746 in write_unsigned
        at ../../../trunk/libgfortran/io/write.c:1581

Reply via email to