From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerome Abela To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/2303 Date: Wed, 21 Mar 2001 00:06:00 -0000 Message-id: <20010321080601.3560.qmail@sourceware.cygnus.com> X-SW-Source: 2001-03/msg00183.html List-Id: The following reply was made to PR c++/2303; it has been noted by GNATS. From: Jerome Abela To: rodrigc@gcc.gnu.org Cc: gcc-gnats@gcc.gnu.org Subject: Re: c++/2303 Date: Wed, 21 Mar 2001 08:59:02 +0100 On Wed, Mar 21, 2001 at 05:02:26AM -0000, rodrigc@gcc.gnu.org wrote: > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2303&database=gcc > Your test-case doesn't even compile. Where is the Bug2 > class supposed to come from? This is what the ice-on-illegal-code class means. The source shouldn't compile, I agree, but gcc shouldn't crash (or ice) because of this. It should report an error. If you think it's a correct behaviour to crash when the source contains an error, well, I won't argue on this, but then, gcc shouldn't display the following text, which invited me to submit this bug report: cc1plus: register name not specified for ` /* decl error */ ' CDb1.cc:11: Internal compiler error in `make_decl_rtl', at varasm.c:738 Please submit a full bug report. Jerome. -- () /\