From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29661 invoked by alias); 19 Jul 2002 16:16:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 29637 invoked by uid 71); 19 Jul 2002 16:16:00 -0000 Date: Fri, 19 Jul 2002 09:16:00 -0000 Message-ID: <20020719161600.29635.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Reichelt Subject: Re: c/7353: Compiler dies on known working code (as of gcc 3.0) Reply-To: Reichelt X-SW-Source: 2002-07/txt/msg00567.txt.bz2 List-Id: The following reply was made to PR c/7353; it has been noted by GNATS. From: Reichelt To: gcc-gnats@gcc.gnu.org, mike@velgarian.sytes.net, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: c/7353: Compiler dies on known working code (as of gcc 3.0) Date: Fri, 19 Jul 2002 18:54:36 +0200 Hi, the ICE is caused by the code in line 2450 and line 2463 of act.informative.c (lines 10398 and 10411 of the preprocessed file). If you replace the right hand sides of the = operator by something else, the code compiles fine. The offending code can be reduced to --------------------------snip here------------------------- typedef A = 0; --------------------------snip here------------------------- which will cause an ICE if compiled with gcc 3.1 or the main trunk as of 20020715 (checked on i686-pc-linux-gnu and mips-sgi-irix6.5). IMHO the code is illegal. Since it was accepted by earlier versons of the compiler there seems to be an accepts-illegal bug for gcc 2.95.x 3.0.x. Greetings, Volker Reichelt http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7353