Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!DLD.AVALON.CS.CMU.EDU!David.Detlefs From: David.Detlefs@DLD.AVALON.CS.CMU.EDU Newsgroups: gnu.g++.bug Subject: union in extern "C" crashes cc1plus Message-ID: <8907250035.AA12922@AENEAS.MIT.EDU> Date: 24 Jul 89 22:33:06 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 19 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