This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/85253] [8 Regression] asan detects heap-buffer-overflow in matmul_r4.c


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-04-06
                 CC|                            |jvdelisle at gcc dot gnu.org,
                   |                            |tkoenig at gcc dot gnu.org
      Known to work|                            |7.0.1
   Target Milestone|---                         |8.0
            Summary|asan detects                |[8 Regression] asan detects
                   |heap-buffer-overflow in     |heap-buffer-overflow in
                   |matmul_r4.c                 |matmul_r4.c
     Ever confirmed|0                           |1
      Known to fail|                            |8.0.1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
It looks to be a gcc8 regression that occurred between revision r245276 (7.0.1)
and r254086 (8.0).

I see

==28006==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x619000000984 at pc 0x000105e887a3 bp 0x7ffeea337be0 sp 0x7ffeea337bd8
WRITE of size 4 at 0x619000000984 thread T0
    #0 0x105e887a2 in matmul_r4_avx matmul_r4.c:365
...

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]