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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|WAITING                     |NEW
                 CC|                            |jvdelisle at gcc dot gnu.org,
                   |                            |tkoenig at gcc dot gnu.org
      Known to work|                            |7.3.0
   Target Milestone|---                         |8.3
            Summary|Segmentation fault when     |[8/9 Regression]
                   |using matmul in combination |Segmentation fault when
                   |with transpose              |using matmul in combination
                   |                            |with transpose
      Known to fail|                            |8.2.0, 9.0

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I need an instrumented compiler to see the problem:

==61049==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x602000000550 at pc 0x0001085550a0 bp 0x7ffee7c84ae0 sp 0x7ffee7c84ad8
WRITE of size 4 at 0x602000000550 thread T0
    #0 0x10855509f in matmul_r4_avx matmul_r4.c:381
    #1 0x10857ba70 in _gfortran_matmul_r4 matmul_r4.c:2377
    #2 0x107f7ad33 in testmatmul.3772 (a.out:x86_64+0x100000d33)
    #3 0x107f7ade4 in MAIN__ (a.out:x86_64+0x100000de4)
    #4 0x107f7ae4a in main (a.out:x86_64+0x100000e4a)
    #5 0x7fff6de71014 in start (libdyld.dylib:x86_64+0x1014)

Address 0x602000000550 is a wild pointer.
SUMMARY: AddressSanitizer: heap-buffer-overflow matmul_r4.c:381 in
matmul_r4_avx

I see this behavior for m=15.

Reply via email to