This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29487] Shared libstdc++ fails to link
- From: "amylaar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Feb 2007 11:17:35 -0000
- Subject: [Bug target/29487] Shared libstdc++ fails to link
- References: <bug-29487-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #36 from amylaar at gcc dot gnu dot org 2007-02-06 11:17 -------
(In reply to comment #34)
> I'll prepare a patch to revert my 2004 change too.
I suspect that a 100% literal reversion will run into problems where the
use of a global variable will result in the the analysis of one function
being applied to another function.
It will probably work (modulo minor merge conflicts) if instead of
bringing the global variable current_function_nothrow back, you define
a nothrow bit in struct function and
#define current_function_nothrow cfun->nothrow
.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29487