This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/22072] bizarre code for int*int/2 for -Os
- 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: 18 Sep 2006 01:24:45 -0000
- Subject: [Bug middle-end/22072] bizarre code for int*int/2 for -Os
- References: <bug-22072-3511@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 2006-09-18 01:24 -------
So the only bug here is that -Os produces an extra move. That comes from the
register allocator/reload:
Reloads for insn # 13
Reload 0: reload_in (SI) = (reg:SI 1 dx [65])
GENERAL_REGS, RELOAD_FOR_INPUT (opnum = 3)
reload_in_reg: (reg:SI 1 dx [65])
reload_reg_rtx: (reg:SI 2 cx)
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |missed-optimization, ra
Last reconfirmed|0000-00-00 00:00:00 |2006-09-18 01:24:44
date| |
Summary|bizarre code for int*int/2 |bizarre code for int*int/2
| |for -Os
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22072