derek@UUNET.UU.NET (Derek Clegg) (03/28/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 xyzzy:
* <this file>:32: `string' undeclared (first use this function)
* <this file>:32: (Each undeclared identifier is reported only once
* <this file>:32: for each function it appears in.)
* <this file>:32: parse error before `)'
* <this file>:32: parse error before `)'
* <this file>:32: parse error before `)'
* gcc: Program cc1 got fatal signal 6.
* Notes:
* gcc was compiled with `config.gcc sun3'.
* I am using a Sun 3/60 with UNIX 4.2 (Sun release 3.5).
*
* Derek B Clegg ({uunet,ucbcad,sun}!island!derek)
*/
struct FOO {
int x,y;
void *z;
};
void
xyzzy(char *obj, struct FOO foo)
{
foo = (obj += sizeof(string *), *(string **)(obj - sizeof(string *)));
}mdt@YAHI.STANFORD.EDU (Michael Tiemann) (03/29/89)
A fix for this is to change this:
if (coder == ERROR_MARK)
return rhs;
to this:
if (coder == ERROR_MARK)
return error_mark_node;
in the function convert_for_assignment in c-typeck.c.
Michaelderek@UUNET.UU.NET (Derek Clegg) (03/30/89)
/* Version:
* gcc version 1.34
* File:
* <this file>
* Compile with:
* gcc -O -c <this file>
* Problem:
* `gcc' dies with a fatal signal 11.
* Output:
* gcc: Program cc1 got fatal signal 11.
* Notes:
* gcc was compiled with `config.gcc sun3'.
* I am using a Sun 3/60 with UNIX 4.2 (Sun release 3.5).
*
* Derek B Clegg ({uunet,ucbcad,sun}!island!derek)
*/
extern const double fabs(double x);
void
foo()
{
double f;
xyzzy(&f);
f = fabs(f);
}