[Bug middle-end/71319] unnecessary call to __strcat_chk emitted after buffer reset
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat May 28 03:48:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71319
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2016-05-28
Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org
Ever confirmed|0 |1
Known to fail| |4.5.3, 4.8.3, 4.9.3, 5.3.0,
| |6.1.0, 7.0
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
It doesn't look like GCC has ever performed this optimization (the first case
was optimized sometime between 4.5.3 and 4.9.3). I'll see if I can make it
work along with bug 71304.
More information about the Gcc-bugs
mailing list