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]

C++: Internal compiler error 981117.


> I am trying to practice the use of -fnew-abi.
> For this, I installed in addition to egcs, libstdc++-2.90.4, and built
> it with -fnew-abi.

Thanks for your bug report. I could reproduce it, and it looks there
is just an invalid assertion in the code. After removing it, your code
could be compiled.

This has not seen further testing, so ultimately Jason should comment.

Regards,
Martin

1999-03-22  Martin von L÷wis  <loewis@informatik.hu-berlin.de>

	* class.c (finish_struct_1): Remove obsolete assertion.


Index: class.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/class.c,v
retrieving revision 1.135
diff -u -r1.135 class.c
--- class.c	1999/03/09 23:02:30	1.135
+++ class.c	1999/03/21 23:13:33
@@ -3989,8 +4235,6 @@
   else if (empty)
     TYPE_FIELDS (t) = fields;
 
-  my_friendly_assert (TYPE_FIELDS (t) == fields, 981117);
-
   /* Delete all zero-width bit-fields from the front of the fieldlist */
   while (fields && DECL_C_BIT_FIELD (fields)
 	 && DECL_INITIAL (fields))


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