This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

report


banzai:~/MUD/Area51/src# gcc --version
2.95.2
banzai:~/MUD/Area51/src# uname -a
Linux banzai 2.2.14 #2 Sat Jan 8 06:14:32 EST 2000 i686 unknown
banzai:~/MUD/Area51/src#

gcc get an internal error, if we compile a file with the flag -O2 and there 
is an unterminated string in our code.
in eg:
#include "stdio.h"
#include "string.h"

main()
{
char str [80];
strcpy (str, "test);
}

banzai:~/MUD/Area51/src# gcc -O2 test.c
test.c:7: unterminated macro call
test.c:8: unterminated string or character constant
test.c:1: possible real start of unterminated constant
cpp: Internal compiler error in `rescan', at cccp.c:3148
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for 
instructions.
banzai:~/MUD/Area51/src#

I doubt it's really important, since the compiler find the right error... 
but, it's asking to report this problem.. so, am i doing :)

Castillo.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]