I'm using VS2010 with Fortran Compiler XE 12. When I press F5 to begin a debug session the system completely rebuilds my project, even if there has not been any change to the source files. This just started yesterday. Previously it would only rebuild when necessary. I've looked for incorrect time stamps but can't find anything wrong.
For more complete information about compiler optimizations, see our Optimization Notice.