------- Comment #11 from fxcoudert at gcc dot gnu dot org  2009-05-16 17:00 
-------
Now, these very long strings are caught at compile-time when possible. We
should also add runtime checks, for non-constant lengths; three such examples
are given in comment #9.

Removing the "wrong-code" keyword: it's just an issue of diagnostics. String
length are type parameters, and they have a kind that is processor-dependent,
so it's OK to have an upper limit.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
           Keywords|wrong-code                  |diagnostic
   Last reconfirmed|2009-01-27 05:00:27         |2009-05-16 17:00:40
               date|                            |
            Summary|truncating strings longer   |Detect strings longer than
                   |than 2**32 characters       |2**32 characters
            Version|4.3.0                       |4.5.0


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

Reply via email to