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

G. Steinmetz <gs...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gs...@t-online.de

--- Comment #1 from G. Steinmetz <gs...@t-online.de> ---

Confirmed on my environment (x86_64-pc-linux-gnu), that example gives :

$ a.out
 T
  -279921664
Operating system error: Cannot allocate memory
Memory allocation failure in xrealloc

Error termination. Backtrace:
#0  0x40d217 in write_character
        at ../../../libgfortran/io/write.c:1416
#1  0x41227e in list_formatted_write_scalar
        at ../../../libgfortran/io/write.c:1900
#2  0x402688 in __test_intnode_MOD_test_casting_fail
        at .../pr100651.f90:126
#3  0x4026b7 in MAIN__
        at .../pr100651.f90:136
#4  0x4026ee in main
        at .../pr100651.f90:133


Initialization completed without "optional" and "present..." :

$ a.out
 T
           7
 err_msg: foo bar

Reply via email to