[Bug fortran/55341] address-sanitizer and Fortran
Joost.VandeVondele at mat dot ethz.ch
gcc-bugzilla@gcc.gnu.org
Sat Dec 22 20:54:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341
--- Comment #44 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 2012-12-22 20:53:41 UTC ---
I have made a some more progress in understanding the failure. I all compile
with
FCFLAGS = -O1 -g -ffree-form -fsanitize=address -fno-omit-frame-pointer
$(DFLAGS)
I get a binary that passes all our tests (a few thousand tests, and 1MLOC of
code). So I'd say asan works in principle.
However, if I add '-march=corei7' I start seeing many failures:
FCFLAGS = -O1 -g -ffree-form -fsanitize=address -march=corei7
-fno-omit-frame-pointer $(DFLAGS)
I've also been able to find a single object file that can induce the failures,
but unfortunately the diff in the corresponding .s files is still very large
(~1Mb). The point of failure is not in the object, but in a routine called
after a routine from this object finishes.
More information about the Gcc-bugs
mailing list