From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10762 invoked by alias); 17 Nov 2001 06:46:05 -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 10729 invoked by uid 71); 17 Nov 2001 06:46:02 -0000 Date: Wed, 07 Nov 2001 03:29:00 -0000 Message-ID: <20011117064602.10727.qmail@sourceware.cygnus.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Tanmoy Bhattacharya Subject: Re: optimization/3906: Internal compiler error in change_address, at emit-rtl.c:1635 Reply-To: Tanmoy Bhattacharya X-SW-Source: 2001-11/txt/msg00169.txt.bz2 List-Id: The following reply was made to PR optimization/3906; it has been noted by GNATS. From: Tanmoy Bhattacharya To: rodrigc@gcc.gnu.org Cc: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org Subject: Re: optimization/3906: Internal compiler error in change_address, at emit-rtl.c:1635 Date: Mon, 13 Aug 2001 16:43:57 -0600 (MDT) In <20010813222421.24786.qmail@sourceware.cygnus.com> dated 22:24:21 -0000 August 13, 2001, rodrigc@gcc.gnu.org writes > Synopsis: Internal compiler error in change_address, at emit-rtl.c:1635 > Your example does not even compile. > With, gcc version 3.0.1 20010813 (prerelease), > I get many compilation errors, like: > > example.c:13: `p' was not declared in this scope > example.c:14: ISO C++ forbids declaration of `setlim' with no type etc. I did not claim my example was valid C++. And the command line I supplied was for invoking a C compiler, not a C++ one. Apart from the missing `line' directive after the # in the first line, it is a valid ISO standard C translaion unit, both according to C89 and C9x (which got approved last year, I do not know what it is called now). I could probably provide a C++ example, but I do not have the time to test right now. But a C compiler *must* compile every strictly conforming C program, which this one becomes if one supplies definitions for main and setloglim, possibly in a separate translation unit. Tanmoy