public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* target/9945: ultra trivial file (10 lines) causes internal compiler error
@ 2003-03-04 19:56 emmanuel.michon
  0 siblings, 0 replies; only message in thread
From: emmanuel.michon @ 2003-03-04 19:56 UTC (permalink / raw)
  To: gcc-gnats; +Cc: law


>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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-04 19:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-04 19:56 target/9945: ultra trivial file (10 lines) causes internal compiler error emmanuel.michon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).