This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error 981117.
- To: girod at stybba dot ntc dot nokia dot com
- Subject: Re: Internal compiler error 981117.
- From: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Mon, 22 Mar 1999 00:18:24 +0100
- CC: egcs-bugs at egcs dot cygnus dot com
- References: <199903211010.MAA12807@mahtan.ntc.nokia.com>
> 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))