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]

Re: Internal error on char *const assign



  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



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