http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309
Jack Howarth <howarth at nitro dot med.uc.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |howarth at nitro dot
| |med.uc.edu
--- Comment #40 from Jack Howarth <howarth at nitro dot med.uc.edu> 2013-02-12
14:00:15 UTC ---
(In reply to comment #23)
> #1 afaict, the asan pass happens in the middle of the gcc optimization flow.
> imho it should happen as late as possible so that the instrumentation
> happens on fully optimized code.
I can confirm this is the case from my experiments compiling xplor-nih with
-fsanitize=address. This code is habitually miscompiled by gfortran at the
higher optimizations levels. The addition of the -fsanitize=address flag to
the build suppresses most of the xplor-nih testsuite failures indicating that
it has changed the code optimization in gfortran. Is there any chance of moving
the asan pass or is that definitely stage 1 material?