Path: 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 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