This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/23488] [4.1 Regression] GCSE load PRE does not work with non sets
- 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: 3 Nov 2005 01:11:29 -0000
- Subject: [Bug target/23488] [4.1 Regression] GCSE load PRE does not work with non sets
- References: <bug-23488-1008@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from pinskia at gcc dot gnu dot org 2005-11-03 01:11 -------
There is no size regression here with -Os. The only thing which will help here
is having load PRE on the tree level.
Which makes the trees look like:
int f(void)
{
static int i;
int i1;
i1 = i;
if (i1 == 0)
i = i1 = 2;
return i1;
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23488