This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/34451] New: Typo in gcc/config/i386.c (ix86_rtx_costs)
- From: "tege-gcc at swox dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Dec 2007 06:04:54 -0000
- Subject: [Bug target/34451] New: Typo in gcc/config/i386.c (ix86_rtx_costs)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
In gcc/config/i386.c, there is a typo in the function ix86_rtx_costs.
Code snippet:
/* Compute costs correctly for widening multiplication. */
if ((GET_CODE (op0) == SIGN_EXTEND || GET_CODE (op1) == ZERO_EXTEND)
It should use op0 for both these tests.
--
Summary: Typo in gcc/config/i386.c (ix86_rtx_costs)
Product: gcc
Version: 4.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tege-gcc at swox dot com
GCC target triplet: i386-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34451