Internal error on char *const assign

Jeffrey A Law law@cygnus.com
Mon Jun 1 23:21:00 GMT 1998


  In message < 199806020605.BAA04643@hzoli.home >you write:
  > The following program gives
  > gcc: Internal compiler error: program cc1 got fatal signal 6
  > when compiled with -O2 with egcs-1.0.3:
  > 
  > int
  > main(void)
  > {
  >     char *const s = "Hello!";
  >     s[0] = 0;
  > 
  >     return 0;
  > }
Thanks.  This bug has been fixed in the development sources.
jeff




More information about the Gcc-bugs mailing list