This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: Patch to simple_cst_equal


  In message <199807270802.BAA05250@yorick.cygnus.com>you write:
  > This is necessary to support a fix for a serious C++ bug; a "function-style
  > cast" A() is supposed to create a temporary A initialized to 0.  I've
  > implemented this by initializing it with an empty CONSTRUCTOR, but if that
  > gets back to simple_cst_equal, we have a problem.
  > 
  > This fix is pretty simplistic, but it gets the job done.
  > 
  > Mon Jul 27 00:54:41 1998  Jason Merrill  <jason@yorick.cygnus.com>
  > 
  > 	* tree.c (simple_cst_equal, case CONSTRUCTOR): OK if the elts are
  > 	identical.
Seems reasonable to me.  Can you install it into the main sources
and the branch?

Thanks,
jeff


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