[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] Internal error: -- module trimmed to testcase so bug's visible
From: |
Dragiša Durić |
Subject: |
Re: [Gm2] Internal error: -- module trimmed to testcase so bug's visible |
Date: |
Sat, 31 Jul 2010 13:40:32 +0200 |
Same message, similar example but with interesting pivot:
MODULE X12;
TYPE
Colors = ARRAY [0..14] OF ARRAY [0..15] OF CHAR;
(* 0..13 above this comment, and less "Yellow" under it - error does not
happen
*)
CONST
Color = Colors {
"Black", "Blue", "Green", "Cyan",
"Red", "Magenta2", "Brown", "LightGray",
"DarkGray", "DeepSkyBlue1", "LightGreen", "LightCyan",
"IndianRed1", "Magenta1", "Yellow"
};
VAR
colors: Colors;
BEGIN
colors := Color;
END X12.
On Wed, 2010-07-28 at 22:46 +0200, Dragiša Durić wrote:
> gm2 -I. -fiso -c DateOps.mod
> Internal error: in simplify_subreg, at simplify-rtx.c:3809
> Please report this crash to the GNU Modula-2 mailing list
> <address@hidden>
>
> ====
> MODULE DateOps;
>
> TYPE
> Day = (Monday);
> DayNames = ARRAY Day OF ARRAY [0..15] OF CHAR;
>
> CONST
> EngDays = DayNames {'Monday'};
>
> PROCEDURE Copy(VAR r: ARRAY OF CHAR; s: ARRAY OF CHAR);
> BEGIN
> END Copy;
>
> VAR
> res: ARRAY [0..31] OF CHAR;
>
> BEGIN
> Copy(res, EngDays[Monday]);
> END DateOps.
>
> On Sun, 2010-07-25 at 19:44 +0200, Dragiša Durić wrote:
> > Internal error: in simplify_subreg, at simplify-rtx.c:3809
> > Please report this crash to the GNU Modula-2 mailing list
> > <address@hidden>
> >
>
--
Dragiša Durić <address@hidden>