[Bug fortran/102366] [10/11/12 Regression] Illegal instruction with large arrays

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 16 13:58:23 GMT 2021


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

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-darwin,
                   |                            |x86_64-linux-gnu
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-09-16
     Ever confirmed|0                           |1
           Keywords|                            |wrong-code
                 CC|                            |iains at gcc dot gnu.org

--- Comment #1 from Iain Sandoe <iains at gcc dot gnu.org> ---
also fails on x86_64 linux (with a segv rather than a ill).

Linux:

(gdb) r
Starting program: /home/iains/t 

Program received signal SIGSEGV, Segmentation fault.
0x000000000040118c in MAIN__ () at dom1.f90:2
2       a=1.0_8


Darwin:

Process 14098 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x7ffeebbff900)
    frame #0: 0x0000000100000ec2 t`MAIN__ at dom1.f90:2:7
   1    REAL(KIND=4) :: a(16,1024,1024), s
-> 2    a=1.0_8
   3    END
Target 0: (t) stopped.


More information about the Gcc-bugs mailing list