This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Honoring std for library functions
- To: <jason at cygnus dot com>, <samuel at codesourcery dot com>, <mark at codesourcery dot com>
- Subject: Honoring std for library functions
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Mon, 29 May 2000 01:24:44 +0200
- CC: gcc-bugs at gcc dot gnu dot org
I don't know when exactly this broke, but it seems the recent
introduction of build_cp_library_fn and friends broke -fhonor-std. In
init_exception_processing, the compiler enters std before building the
terminate_node; however, this is ignored later.
I'm not sure what the right fix would be - one option is to set the
DECL_CONTEXT of the new declaration inside build_library_fn_1 if
current_namespace is not global_namespace.
Regards,
Martin