This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/19597] [4.0 Regression] avr-gcc 4.0, multiplication by constant, very long code
- 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: 23 Jan 2005 23:01:57 -0000
- Subject: [Bug middle-end/19597] [4.0 Regression] avr-gcc 4.0, multiplication by constant, very long code
- References: <20050123225538.19597.dmixm@marine.febras.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 23:01 -------
The problem is that middle-end expands it to shifts and such but really it might be that rtx_cost for avr
does not take into account size at all.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Component|rtl-optimization |middle-end
Keywords| |missed-optimization
Priority|P2 |P3
Summary|avr-gcc 4.0, multiplication |[4.0 Regression] avr-gcc
|by constant, very long code |4.0, multiplication by
| |constant, very long code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19597