This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/36188] missed CCP
- 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: 15 Aug 2008 23:52:51 -0000
- Subject: [Bug tree-optimization/36188] missed CCP
- References: <bug-36188-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pinskia at gcc dot gnu dot org 2008-08-15 23:52 -------
On the trunk we get:
lis 11,.LANCHOR0@ha
la 9,.LANCHOR0@l(11)
lwz 0,.LANCHOR0@l(11)
cmpwi 7,0,0
bne 7,.L6
li 0,1344
li 3,1344
stw 0,4(9)
li 9,1
stw 9,.LANCHOR0@l(11)
blr
Which is better but still can be improved. Basically we have to prove syncsize
is only set when init is set.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36188