Re: egcs pre1.1
On Wed 09 Sep 1998, Paul Slootman wrote:
>
> I've attached the program below. Additionally, it's on alpha.debian.nl
I knew I forgot something...
Paul
/*
egcs-bug.c: In function `main':
egcs-bug.c:42: internal error--unrecognizable insn:
(insn 162 154 69 (set (reg:SI 86)
(reg/v:DI 71)) -1 (insn_list 154 (nil))
(nil))
../../gcc/toplev.c:1378: Internal compiler error in function fatal_insn
*/
typedef enum {
JCS_UNKNOWN,
JCS_GRAYSCALE,
JCS_RGB
} J_COLOR_SPACE;
struct jcs {
J_COLOR_SPACE color;
};
int
main(int argc, char *argv[])
{
int gray = 0, type, y;
struct jcs cinfo;
for (;;) {
if (!y)
break;
switch (y) {
case '1':
gray = 1 ;
break;
}
}
type = gray ? 1 : 2 ;
if (gray)
x();
x2(&cinfo);
cinfo.color = gray ? JCS_GRAYSCALE : JCS_RGB;
for (y = 0; y < 3; y++)
if (x3(type)) {
}
}
Reply to: