c/5033: non const char *'s initial pointee data left on read only segment, causes seg. fault.

neil@gcc.gnu.org neil@gcc.gnu.org
Thu Dec 6 06:36:00 GMT 2001


The following reply was made to PR c/5033; it has been noted by GNATS.

From: neil@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
  nobody@gcc.gnu.org, rs025019@se.ritsumei.ac.jp
Cc:  
Subject: Re: c/5033: non const char *'s initial pointee data left on read only segment, causes seg. fault.
Date: 6 Dec 2001 14:31:50 -0000

 Synopsis: non const char *'s initial pointee data left on read only segment, causes seg. fault.
 
 State-Changed-From-To: open->closed
 State-Changed-By: neil
 State-Changed-When: Thu Dec  6 06:31:49 2001
 State-Changed-Why:
     Not a bug.  This is not a property of the type assigned to,
     it is a property of the type of string literals.
     
     See -fwritable-strings and -Wwrite-strings in the manual.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=5033&database=gcc



More information about the Gcc-prs mailing list