[gnu.g++.bug] union in extern "C" crashes cc1plus

David.Detlefs@DLD.AVALON.CS.CMU.EDU (07/25/89)

Dear Gurus --

Using g++-1.35 on a vax, I found a bug that boiled down to the
following:

--------------------------------------------------
// Produces a segmentation violation in cc1plus.
extern "C" {
  union foo {
    int bar;
  };
}
--------------------------------------------------

Attempting to compile this file caused cc1plus to seg fault for me.

Enjoy...

Dave