This is the mail archive of the
egcs-patches@egcs.cygnus.com
mailing list for the EGCS project.
Re: Your g++ breaks glibc.
- To: hjl@varesearch.com (H.J. Lu)
- Subject: Re: Your g++ breaks glibc.
- From: Jeffrey A Law <law@cygnus.com>
- Date: Thu, 15 Jul 1999 00:09:17 -0600
- cc: jason@cygnus.com, egcs-patches@egcs.cygnus.com, libc-hacker@sourceware.cygnus.com (GNU C Library)
- Reply-To: law@cygnus.com
[ HJ, please send patches to egcs-patches, not egcs, or egcs-bugs, but
egcs-patches. Thank you. ]
In message <19990714195521.1BA043FC1@varesearch.com>you write:
>
> --- ../../import/gcc-2.95/egcs/gcc/cp/decl.c Fri Jul 9 08:32:50 199
> 9
> +++ gcc/cp/decl.c Wed Jul 14 12:51:56 1999
> @@ -3516,7 +3516,8 @@ duplicate_decls (newdecl, olddecl)
> TREE_TYPE (olddecl) = build_exception_variant (newtype,
> TYPE_RAISES_EXCEPTIONS
> (oldtype));
>
> - if ((pedantic || ! DECL_IN_SYSTEM_HEADER (olddecl))
> + if ((pedantic || (! DECL_IN_SYSTEM_HEADER (olddecl)
> + && ! DECL_IN_SYSTEM_HEADER (newdecl)))
> && DECL_SOURCE_LINE (olddecl) != 0
> && flag_exceptions
> && ! compexcepttypes (TREE_TYPE (newdecl), TREE_TYPE (olddecl)))
I've got conflicting reports from Jason and Alexandre about this one. I
need a definitive answer before I wake up in the morning or it will not be
in gcc-2.95.
jeff