This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bug with multiple lines comment
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Bug with multiple lines comment
- From: Pierre at Sensei-ltd dot com
- Date: Fri, 22 Sep 2000 12:11:29 +0100
Version of gcc used :
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/specs
gcc version 2.95.2 19991024 (release-2)
Ths source code which causes the bug is joint to this mail (the file is
test.c).
It's simply appears with the preprocessor, with this command line :
gcc -E test.c
I am running Windows NT 4.0.1381 IE 4.0 4.72.3110.8 with cygwin.
The machine is a Pentium II 350 with 128Mb of RAM.
I installed the compiler with the cygnus installation program, after
downloading then from Internet.
I expected this result :
# 1 "test.c"
int main(int argc, char* argv[])
{
int *test;
{ test = ( int *)malloc(sizeof( int )*( 3 ));
if (test == NULL) { fprintf(stderr,"Allocation
error.\n");exit(1);}};
return 0;
}
<<test.c>>
test.c