This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Internal error on char *const assign
- To: Zoltan Hidvegi <hzoli at cs dot elte dot hu>
- Subject: Re: Internal error on char *const assign
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 02 Jun 1998 00:20:15 -0600
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
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