[Bug c++/54180] a bug using strcat function - it depends on variable declare order, but it should not.

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 16 23:00:00 GMT 2012


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-08-16 22:59:51 UTC ---
Can you stop reopening this bug?  The problem again is that you are writing
past the array bounds and anytime that happens it is undefined behavior. 
Please fix the array bounds issue and you will see it works now.



More information about the Gcc-bugs mailing list