This is the mail archive of the egcs-patches@egcs.cygnus.com mailing list for the EGCS project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Your g++ breaks glibc.



[ 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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]