This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58592] -flto -fwhole-program caused undefined reference in g++ 4.7.3
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 Oct 2013 19:36:54 +0000
- Subject: [Bug c++/58592] -flto -fwhole-program caused undefined reference in g++ 4.7.3
- Auto-submitted: auto-generated
- References: <bug-58592-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58592
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Actually this is not a bug as you are putting -fwhole-program on the link of
the library but you don't export at all A::A() from there.