This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Infamous mips offs > 16 bits problem.
- To: law at cygnus dot com, Jeffrey A Law <law at cygnus dot com>
- Subject: Re: Infamous mips offs > 16 bits problem.
- From: Per Fogelstrom <pefo at opsycon dot se>
- Date: Wed, 7 Jul 1999 21:34:52 +0200
- Cc: egcs-bugs at egcs dot cygnus dot com
- Organization: Opsycon Open System Consulting AB
- References: <19989.930646246@upchuck.cygnus.com>
Jeff,
Thats great! Thanks.
Per
On Tue, 29 Jun 1999, Jeffrey A Law wrote:
> In message <199902251015.LAA23420@tyne.opsycon.se>you write:
> >
> > It's evident that nothing yet has been done about the expr.c problem
> > which plauges mips versions of egcs. Here is an example on how to
> > trig it:
> >
> > typedef unsigned short u_short;
> > typedef long code_int;
> > typedef long count_int;
> > struct s_zstate {
> > count_int zs_htab [69001 ];
> > u_short zs_codetab [69001 ];
> > code_int zs_free_ent;
> >
> > };
> >
> > int
> > zwrite(cookie, wbp, num)
> > void *cookie;
> > const char *wbp;
> > int num;
> > {
> > register code_int i = num;
> > struct s_zstate *zs;
> >
> >
> > zs->zs_codetab[ i ] = zs->zs_free_ent++;
> > }
> >
> > Compiler output:
> >
> > zopen.c: In function `zwrite':
> > zopen.c:22: internal error--unrecognizable insn:
> > (insn 24 22 26 (set (reg:SI 85)
> > (plus:SI (reg:SI 82)
> > (const_int 276004))) -1 (nil)
> > (nil))
> I'll be checking in a fix for this bug shortly.
>
> Thanks,
> jeff