http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341
--- Comment #22 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 2012-12-19 08:59:03 UTC --- (In reply to comment #18) > And this is no reason at all, for most string/memory intrinsics asan > instruments them just by pretending they are writes (resp. reads or both) from > the first and last byte of the area, i.e. with size 1. > The backtrace clearly shows that it is memset. The memset is also a bit surprising. The error is reported after the last line of the subroutine is executed, and the line number also just refers to the subroutine declaration. The -fdump-tree-* of qs_environment.F constain a single __builtin_memset, and its line number info is 889.