derek@UUNET.UU.NET (Derek Clegg) (04/05/89)
/* Version:
* gcc version 1.34
* File:
* <this file>
* Compile with:
* gcc -c <this file>
* Problem:
* `gcc' dies with a fatal signal 6.
* Output:
* <this file>: In function bar:
* <this file>:26: incompatible types in assignment
* gcc: Program cc1 got fatal signal 6.
* Notes:
* `gcc' was compiled with `config.gcc sun3-os4'.
* I am using a Sun 3/60 with UNIX 4.2 (Sun release 4.0.1).
*
* Derek B Clegg ({uunet,ucbcad,sun}!island!derek)
*/
struct FOO {
struct { int x; double y; } a, b;
} foo;
void
bar()
{
foo.a = foo.b = (struct XYZZY *)0;
}derek@UUNET.UU.NET (Derek Clegg) (05/19/89)
/* Version:
* gcc version 1.35
* File:
* <this file>
* Compile with:
* gcc -c <this file>
* Problem:
* `gcc' dies with a fatal signal 6.
* Output:
* gcc: Program cc1 got fatal signal 6.
* Notes:
* gcc was compiled with `config.gcc sun3-os4'.
* I am using a Sun 3/60 with UNIX 4.2 (Sun release 4.0.1).
*
* Derek B Clegg ({uunet,ucbcad,sun}!island!derek)
*/
void
Strcpy(char *dst, const char *src)
{
int count = -1;
asm("0: moveb %0,%1; dbeq %2,0b; bne 0b" : "=a" (*dst++) : "a" (*src++),
"d" (count));
}derek@UUNET.UU.NET (Derek Clegg) (05/30/89)
/* Version:
* gcc version 1.35
* File:
* <this file>
* Compile with:
* gcc -O -fstrength-reduce -c <this file>
* Problem:
* `gcc' dies with a fatal signal 6.
* Output:
* gcc: Program cc1 got fatal signal 6.
* Notes:
* gcc was compiled with `config.gcc sun4-os4'.
* I am using a Sun 4/260 with UNIX 4.2 (Sun release 4.0.1).
*
* Derek B Clegg ({uunet,ucbcad,sun}!island!derek)
*/
struct s {
int x,y;
} wl[1];
void
foo()
{
struct s *w;
w = wl;
while (1) {
bar(w->y);
w->y = 0;
w++;
}
}derek@CAD.BERKELEY.EDU (Derek Clegg) (09/27/89)
/* Version:
* gcc version 1.36
* File:
* <this file>
* Compile with:
* gcc -g <this file>
* Problem:
* `gcc' dies with a fatal signal 6.
* Output:
* <this file>:26: parse error before `EVENT'
* <this file>:26: warning: data definition lacks type or storage class
* <this file>:27: parse error before `{'
* <this file>:29: `ActiveProcess' undeclared, outside of functions
* <this file>:29: warning: data definition lacks type or storage class
* <this file>:30: parse error before `return'
* gcc: Program cc1 got fatal signal 6.
* Notes:
* gcc was compiled with `config.gcc sun3-os4'.
* I am using a Sun 3/60 with UNIX 4.2 (Sun release 4.0.1).
*
* Derek B Clegg ({ucbcad,sun}!island!derek)
*/
int
NextEvent(e)
EVENT *e;
{
struct FrameBuffer *fb;
fb = (struct FrameBuffer *)ActiveProcess->fb;
return (sizeof(*e));
}
void FlushMouse() {}