This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/72798] Module (.mod) file changes even when interface does not
- From: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Aug 2016 21:42:13 +0000
- Subject: [Bug fortran/72798] Module (.mod) file changes even when interface does not
- Auto-submitted: auto-generated
- References: <bug-72798-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72798
Mikael Morin <mikael at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikael at gcc dot gnu.org
--- Comment #1 from Mikael Morin <mikael at gcc dot gnu.org> ---
The difference comes from the (internal) implicit pure attribute.
Without the print, the subroutine gets the pure attribute, so that its usage
may be more aggressively optimized (Honestly, on a small test I made, there was
actually no difference).