From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7590 invoked by alias); 4 Mar 2003 19:56:00 -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 7571 invoked by uid 71); 4 Mar 2003 19:56:00 -0000 Resent-Date: 4 Mar 2003 19:56:00 -0000 Resent-Message-ID: <20030304195600.7569.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, law@cygnus.com Resent-Reply-To: gcc-gnats@gcc.gnu.org, emmanuel.michon@m4x.org Received: (qmail 30211 invoked by uid 48); 4 Mar 2003 19:47:00 -0000 Message-Id: <20030304194700.30210.qmail@sources.redhat.com> Date: Tue, 04 Mar 2003 19:56:00 -0000 From: emmanuel.michon@m4x.org Reply-To: emmanuel.michon@m4x.org To: gcc-gnats@gcc.gnu.org Cc: law@cygnus.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: law@cygnus.com Subject: target/9945: ultra trivial file (10 lines) causes internal compiler error X-SW-Source: 2003-03/txt/msg00172.txt.bz2 List-Id: >Number: 9945 >Category: target >Synopsis: ultra trivial file (10 lines) causes internal compiler error >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Mar 04 19:56:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: emmanuel.michon@m4x.org >Release: gcc-3.2.1 >Organization: >Environment: linux, cross compiler running on i386 outputting MN10200 code >Description: complete source file follows: simple.c ---------------------------- static void CalledFunction(int param1,int param2) { int local1,local2; local1=param1; } static int CallingFunction(int x) { int y; CalledFunction(1,2); return 5; } ---------------------------- causes /users/michon/crcglou/helix.c: In function `CalledFunction': /users/michon/crcglou/helix.c:5: Internal compiler error in make_decl_rtl, at varasm.c:834 >How-To-Repeat: build the cross-compiler: ./configure --target=mn10200-elf --enable-languages=c make -j2 all-gcc This does not go until the end because i do not care for binutils. But cc1 binary is here! Run: ./cc1 -da simple.c to reproduce. Hint: I'm using mn10200 backend because this processor is close to the one I plan to port gcc to. Steps after assembly generation do not really matter to me so far. >Fix: no fix to propose! >Release-Note: >Audit-Trail: >Unformatted: