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]

No Subject


when i compile this program , egcs tell me "internal compiler error"
-------------------------------------------------------------------

#include <iostream.h>

void main(void)
{
   char * const ptr = "A"; // ptr is constan , *ptr is not constan
   
   *ptr = 'B';

}


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