[Bug c++/54180] a bug using strcat function - it depends on variable declare order, but it should not.
lirex.software at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Aug 10 14:16:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54180
Denis Kolesnik <lirex.software at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
--- Comment #9 from Denis Kolesnik <lirex.software at gmail dot com> 2012-08-10 14:16:34 UTC ---
With any length(a length which is declared is of accepted range) it considered
as a variable, so it should be processed whithout dependance on
declare order.
Functions strcpy and strcat should handle so a CHAR array variable
as it is a line which ends correspondly. They even do, but not in any declare
order. They should do in in any declare order.
It is a bug anyway.
More information about the Gcc-bugs
mailing list