Article View: gnu.gcc.bug
Article #617gcc -a (oops)
From: Chris Arthur
Date: Tue, 19 Sep 1989 17:45
Date: Tue, 19 Sep 1989 17:45
13 lines
870 bytes
870 bytes
it looks like the wrong filename (ie, the name of the source file (junk.c), rather than the name of the profile data file (junk.d)) gets put in the generated code when you use -a with gcc...The result is that when you run the resulting program, which compiles without error, it WIPES OUT THE SOURCE FILE. :-( :-( :-( (Emphasis on undesirable result added by popular request.) This is on a Sun-3, Sunos 4.0. chris csa@es.stratus.com csa@pennies.sw.stratus.com csa@wpi.wpi.edu
Technical Details
Message-ID:
<8909191745.AA01170@lectroid.sw.stratus.com.>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!sw.stratus.com!csaShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!sw.stratus.com!csa From: csa@sw.stratus.com (Chris Arthur) Newsgroups: gnu.gcc.bug Subject: gcc -a (oops) Message-ID: <8909191745.AA01170@lectroid.sw.stratus.com.> Date: 19 Sep 89 17:45:46 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 13