[1980] in Athena Bugs
Re: saber & gcc sources: internal errors
daemon@ATHENA.MIT.EDU (Ken Raeburn)
Mon Mar 27 01:08:09 1989
Date: Mon, 27 Mar 89 01:07:53 EST
From: Ken Raeburn <raeburn@ATHENA.MIT.EDU>
To: saber-bugs@ATHENA.MIT.EDU
Cc: bugs@ATHENA.MIT.EDU
In-Reply-To: Ken Raeburn's message of Sat, 25 Mar 89 01:44:42 EST,
After a bit of narrowing down, I've come up with this file which
causes saber 2.1-beta2 to get a seg fault while loading.
enum foo {
BLKmode,
stuff
};
typedef struct {
struct {
enum foo mode;
} type;
} *x;
typedef union {
struct {
x type;
} common;
} *tree;
extern int asf;
void elc () {
asf = ((tree)0) -> common.type -> type.mode == BLKmode;
}
It doesn't seem to lose if the "0" is replaced by a variable, or if
there are fewer levels of indirection, but I haven't really pursued it
much past the above...
-- Ken