Article View: gnu.gcc.bug
Article #2604(none)
From: Sungdae Hwangbo
Date: Sat, 06 May 1989 21:42
Date: Sat, 06 May 1989 21:42
65 lines
1982 bytes
1982 bytes
Greetings,
As requested I'm sending the following as bug report. The program
was run on SUN4 under SunOS Release 4.0.1.
Regrads,
hwangbo
-----
Script started on Sat May 6 12:05:53 1989
*** A sample program ***
paul 2> cat test.c
main(argc,argv)
int argc;
char *argv[];
{
while (argc-->1)
{
printf("%s\n",argv[1]);
argv++;
}
}
*** It's working ***
paul 2> gcc test.c
paul 2> a.out 12 34 asd
12
34
asd
*** Now testing 'gcc -p': NOT working ***
paul 2> gcc -p test.c
gcc: Program cc1 got fatal signal 6.
*** Now testing 'cc -p': working ***
paul 2> cc -p test.c
paul 2> a.out 12 34 asd
12
34
asd
paul 2> prof a.out
No time accumulated
%time cumsecs #call ms/call name
0.0 0.00 1 0.00 .udiv
0.0 0.00 1 0.00 .umul
0.0 0.00 3 0.00 __doprnt
0.0 0.00 1 0.00 __findbuf
0.0 0.00 1 0.00 __wrtchk
0.0 0.00 3 0.00 __xflsbuf
0.0 0.00 1 0.00 _exit
0.0 0.00 1 0.00 _free
0.0 0.00 1 0.00 _getpagesize
0.0 0.00 1 0.00 _ioctl
0.0 0.00 1 0.00 _isatty
0.0 0.00 1 0.00 _main
0.0 0.00 2 0.00 _malloc
0.0 0.00 3 0.00 _memchr
0.0 0.00 1 0.00 _on_exit
0.0 0.00 3 0.00 _printf
0.0 0.00 1 0.00 _profil
0.0 0.00 2 0.00 _sbrk
0.0 0.00 3 0.00 _write
paul 2> ^D
script done on Sat May 6 12:07:07 1989
Technical Details
Message-ID:
<8905062142.AA17370@paul.rutgers.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!PAUL.RUTGERS.EDU!hwangboShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!PAUL.RUTGERS.EDU!hwangbo From: hwangbo@PAUL.RUTGERS.EDU (Sungdae Hwangbo) Newsgroups: gnu.gcc.bug Subject: (none) Message-ID: <8905062142.AA17370@paul.rutgers.edu> Date: 6 May 89 21:42:29 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 65