🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1173

pmax cc1 2.2.2 dumps core

#1173
From: Chris Metcalf
Date: Thu, 08 Oct 1992 08:29
19 lines
1018 bytes
The following short program (simplified from the gs 2.5.2 sources)
causes the DEC MIPS cc1 from gcc 2.2.2 to take a seg fault iff -O 
and -g are both specified.

        struct foo { int a; } *q, *p;

        void
        func(struct foo *r)
        {        
                p = r;
                q = p;
        }

It has probably already been reported, since it results from using
the Gnu compiler to build a Gnu tool on a popular platform.

--
			Chris Metcalf, MIT Laboratory for Computer Science
			metcalf@cag.lcs.mit.edu   //   +1 (617) 253-7766
Technical Details
Message-ID: <9210081629.AA10498@catfish.LCS.MIT.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!catfish.lcs.mit.edu!metcalf

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!catfish.lcs.mit.edu!metcalf
From: metcalf@catfish.lcs.mit.edu (Chris Metcalf)
Subject: pmax cc1 2.2.2 dumps core
Message-ID: <9210081629.AA10498@catfish.LCS.MIT.EDU>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 8 Oct 1992 08:29:08 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 20