Summary: | builtin memmove could be memcpy if src and dst don't alias | ||
---|---|---|---|
Product: | gcc | Reporter: | Kaveh Ghazi <ghazi> |
Component: | middle-end | Assignee: | Richard Biener <rguenth> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | gcc-bugs, rguenth, sjames |
Priority: | P2 | Keywords: | alias, missed-optimization |
Version: | 4.1.0 | ||
Target Milestone: | --- | ||
See Also: | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112653 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2010-05-09 16:54:18 |
Description
Kaveh Ghazi
2005-05-16 02:08:56 UTC
Confirmed. Mine. Fixed. Subject: Bug 21602 Author: rguenth Date: Mon Aug 30 13:46:31 2010 New Revision: 163646 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163646 Log: 2010-08-30 Richard Guenther <rguenther@suse.de> PR tree-optimization/21602 * builtins.c (fold_builtin_memory_op): Fold memmove to memcpy using points-to information. Modified: trunk/gcc/ChangeLog trunk/gcc/builtins.c |