Bug Report !

Kiran-Krishna-Nadgir c9913018@ncb.ernet.in
Sat May 6 21:26:00 GMT 2000


hi !
	i have an intel Pentium I PC with the following configuration
	16 MB RAM , 1 GB hard disk.
	Red Hat Linux release 5.2 (Apollo )
	Kernel 2.0.36 

i ran the following program and got an internal compiler error.

	#include<iostream.h>
	int main() {
		char* const ptr = "Its me";
		*ptr = 'i';
	cout << ptr ;
	return 0;
	}

this program works on a turbo C compiler .









*****************************************************************************


*****************************************************************************




More information about the Gcc-bugs mailing list