Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!milano!cadillac!redcloud!rpj From: rpj@redcloud.cad.mcc.com (Rich Johns) Newsgroups: gnu.g++.bug Subject: g++1.35.1 gets segv Message-ID: <2062@cadillac.CAD.MCC.COM> Date: 3 Aug 89 22:50:46 GMT Sender: news@cadillac.CAD.MCC.COM Lines: 21 environment = SUN3/60, g++1.35.1, sunOS 4.0.1 Micheal, sorry I don't have a piece of code that reproduces this. I get the segmentation violation compiling InterViews. Since you probably have access to IV source code the following may be sufficient info. I was compiling libInterViews, the very first file 'X11.c'. If I take away the -O it compiles. compiling ../X11.c rm -f X11.o g++ -finline-functions -fchar-charconst -c -I.. -I../Generated -I../../.././src -I../../.././src/InterViews/Std -O ../X11.c In method struct Pattern *Pattern::Pattern (int *): ../X11.c:1890: Segmentation violation Hope this helps. Rich Johns, MCC CAD Program | 3500 W. Balcones Center Dr., Austin, TX 78759 ARPA: johns@mcc.com | Phone: [512] 338-3714 UUCP: {uunet,harvard,gatech,pyramid}!cs.utexas.edu!milano!cadillac!johns