This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54180] a bug using strcat function - it depends on variable declare order, but it should not.
- From: "lirex.software at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Aug 2012 14:16:34 +0000
- Subject: [Bug c++/54180] a bug using strcat function - it depends on variable declare order, but it should not.
- Auto-submitted: auto-generated
- References: <bug-54180-4@http.gcc.gnu.org/bugzilla/>
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.