This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21000] New: store should not be done if we don't change its value
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Apr 2005 18:33:39 -0000
- Subject: [Bug tree-optimization/21000] New: store should not be done if we don't change its value
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Like PR 20999 but this time the function should be empty which it is on the RTL level:
int i;
void f()
{
int t = i;
i = t;
}
--
Summary: store should not be done if we don't change its value
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: missed-optimization, TREE
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21000