This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: movsi_internal2+1: Internal compiler error for -mips16
- To: "Marcel Steenhuizen" <Marcel dot Steenhuizen at ehv dot ce dot philips dot com>
- Subject: Re: movsi_internal2+1: Internal compiler error for -mips16
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Sun, 14 Feb 1999 02:43:54 -0700
- cc: "Egcs-Bugs" <egcs-bugs at cygnus dot com>
- Reply-To: law at cygnus dot com
In message <000201bdbfae$dd688070$58829082@tvlcpc088.ce.philips.nl>you write:
> BUG report:
>
> I get an internal compiler error using egcs (snapshot egcs-2.91.53) as a
> cross
> compiler for target mips-mips-elf using option -mips16. I isolated the
> problem
> to a small example called test.c:
>
> ----------------- begin file: test.c -------------------
> int ga;
> int gb;
> int gc;
> int gd;
>
> void a(int aa)
> {
> int i;
>
> for(i=0; i<100; i++)
> {
> if(aa == 1)
> {
> ga = 100;
> gb = ga;
> gc = gb;
> gd = gc;
> }
> }
> }
This bug has been fixed in the mainline egcs tree.
jeff