This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/48644] aermod fails to link with -fwhole-program
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 16 Apr 2011 23:42:22 +0000
- Subject: [Bug fortran/48644] aermod fails to link with -fwhole-program
- Auto-submitted: auto-generated
- References: <bug-48644-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48644
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-04-16 23:42:03 UTC ---
For the record,
(1) -fwhole-program is enough to see the problem,
(2) it does not occurs if used with -flto (this is why I did not see it),
(3) it does not occurs at r170284, but it does at r170493 (likely r170414),
(4) I confirm it is fixed by the patch for pr48624
(http://gcc.gnu.org/ml/fortran/2011-04/msg00166.html ).