rfg@paris.ics.uci.edu (Ron Guilmette) (02/08/90)
// Cfront 2.0 but 900206.01 // The following program gets an error on the first declaration of union u2. // This error seems totally random. Commenting out almost any line in this // program makes the error go away. // This same error occurs on two different types of host systems (with two // different CPU types) so it seems to be a generalize bug in cfront 2.0. union u1 { int u1_member1; }; void f2 () { { struct s1 { int s1_member1; } s1_object; struct s2 { int s2_member1; } s2_object; struct s3 { int s3_member1; } s3_object; } { struct s1 { int s1_member1; } s1_object; struct s2 { int s2_member1; } s2_object; struct s3 { int s3_member1; } s3_object; } } void f3 () { { union u1 { int u1_member1; } u1_object; union u2 { int u2_member1; } u2_object; union u3 { int u3_member1; } u3_object; } { union u1 { int u1_member1; } u1_object; union u2 { int u2_member1; } u2_object; union u3 { int u3_member1; } u3_object; } }