Article View: gnu.gcc.bug
Article #685gcc 1.35 pointer bug
From: Mark Sirota
Date: Wed, 04 Oct 1989 20:03
Date: Wed, 04 Oct 1989 20:03
22 lines
1093 bytes
1093 bytes
This has already been reported to Joy Kendall and may have already been
reported through other channels, since we discovered this a few days ago.
Anyway, we are running gcc-1.35 on a Sun3 with an fpa, which is running SunOS
4.0.3.
The following program causes a segmentation fault:
main()
{
char *s = "foo";
*s = 'f';
}
This one seems pretty significant. I have a hard time the compiler managed to
compile itself, and actually runs...
--
Mark Sirota - University of Rochester, Rochester, NY
Internet: msir_ltd@uhura.cc.rochester.edu
UUCP: {decvax,harvard,ames,rutgers}!rochester!ur-cc!msir_ltd
Technical Details
Message-ID:
<8910042003.AA19615@uhura.cc.rochester.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!apple!gem.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!UHURA.CC.ROCHESTER.EDU!msir_ltdShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!apple!gem.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!UHURA.CC.ROCHESTER.EDU!msir_ltd From: msir_ltd@UHURA.CC.ROCHESTER.EDU (Mark Sirota) Newsgroups: gnu.gcc.bug Subject: gcc 1.35 pointer bug Message-ID: <8910042003.AA19615@uhura.cc.rochester.edu> Date: 4 Oct 89 20:03:15 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 22