Andrew Pinski <pinskia at gcc dot> changed:

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot> ---
If they want to optimize based on the size of the array then disable the
builtin (and don't use The __builtin_ specific function).

Basically this code is undefined and can do anything.  If anything maybe
strnlen should be used instead...

Reply via email to