------- Comment #1 from pinskia at gcc dot gnu dot org  2008-02-24 07:28 -------
This is correct behavior, a string literal is constant data so you are
returning a pointer to a constant data which then you are trying to copy into.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35347

Reply via email to