This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compile error
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Internal compile error
- From: Shane Wegner <shane at cm dot nu>
- Date: Sat, 13 Nov 1999 15:23:58 -0800
- Organization: Continuum Systems, Vancouver, Canada
Hi,
I forgot a closing " in a strcpy and gcc had an internal compiler error.
This isn't really important as the code compiled was faulty but I am
reporting it in case the same thing could happen for valid code.
continuum:~$ gcc test.c
test.c:6: unterminated string or character constant
test.c:6: possible real start of unterminated constant
continuum:~$ gcc -O1 test.c
test.c:6: 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 escan', at
/home/itso/doko/src/gcc/gcc-2.95.2/src/gcc/cccp.c:3162
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for
instructions.
continuum:~$ cat test.c
#include <string.h>
int main()
{
char s[5];
strcpy(s, "test);
return 0;
}
continuum:~$
Regards,
Shane
--
Shane Wegner: shane@cm.nu
Personal website: http://www.cm.nu/~shane Fax: (604) 930-0529
PGP: keyid: 2048/1C0FFA59 ICQ UIN: 120000
Fingerprint: C6 5F B3 85 0B 11 30 F3
52 89 0C 6C 49 08 94 7B
PGP signature