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

2018-04-06 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85253 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

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

2018-04-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85253 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

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

2018-04-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85253 --- Comment #3 from Thomas Koenig --- Yep, looking at the code, it seems that in this special case, we need one more row in the temporary buffer. This seems to cure it. Index: m4/matmul_internal.m4 ==

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

2018-04-06 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85253 --- Comment #4 from Vittorio Zecca --- After applying the fix in comment #3 the asan message disappeared.

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

2018-04-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85253 --- Comment #5 from Thomas Koenig --- Author: tkoenig Date: Fri Apr 6 18:49:21 2018 New Revision: 259188 URL: https://gcc.gnu.org/viewcvs?rev=259188&root=gcc&view=rev Log: 2018-04-06 Thomas Koenig PR libfortran/85253 * m4/ma

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

2018-04-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85253 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2018-04-06 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85253 --- Comment #7 from Vittorio Zecca --- You are welcome, very fast fix, keep up the good work!

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

2018-05-03 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85253 --- Comment #8 from Vittorio Zecca --- Compiling and running under both 8.0.1 and 8.1.0 with MALLOC_CHECK_=1 (see man mallopt) I get the following (notice "free(): invalid pointer" from mallopt) /usr/bin/gfortran -g -O0 gfbug144.f [vitti f95]$