public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/34451]  New: Typo in gcc/config/i386.c (ix86_rtx_costs)
@ 2007-12-13  6:05 tege-gcc at swox dot com
  2007-12-13  7:21 ` [Bug target/34451] " tege-gcc at swox dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tege-gcc at swox dot com @ 2007-12-13  6:05 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/34451] Typo in gcc/config/i386.c (ix86_rtx_costs)
  2007-12-13  6:05 [Bug target/34451] New: Typo in gcc/config/i386.c (ix86_rtx_costs) tege-gcc at swox dot com
@ 2007-12-13  7:21 ` tege-gcc at swox dot com
  2007-12-13  8:26 ` ubizjak at gmail dot com
  2007-12-13  9:26 ` ubizjak at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tege-gcc at swox dot com @ 2007-12-13  7:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tege-gcc at swox dot com  2007-12-13 07:21 -------
This bug is present also in the svn head.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34451


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/34451] Typo in gcc/config/i386.c (ix86_rtx_costs)
  2007-12-13  6:05 [Bug target/34451] New: Typo in gcc/config/i386.c (ix86_rtx_costs) tege-gcc at swox dot com
  2007-12-13  7:21 ` [Bug target/34451] " tege-gcc at swox dot com
@ 2007-12-13  8:26 ` ubizjak at gmail dot com
  2007-12-13  9:26 ` ubizjak at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ubizjak at gmail dot com @ 2007-12-13  8:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ubizjak at gmail dot com  2007-12-13 08:26 -------
Patch at http://gcc.gnu.org/ml/gcc-patches/2007-12/msg00576.html


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ubizjak at gmail dot com
                   |dot org                     |
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2007-
                   |                            |12/msg00576.html
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
           Keywords|                            |patch
   Last reconfirmed|0000-00-00 00:00:00         |2007-12-13 08:26:40
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34451


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/34451] Typo in gcc/config/i386.c (ix86_rtx_costs)
  2007-12-13  6:05 [Bug target/34451] New: Typo in gcc/config/i386.c (ix86_rtx_costs) tege-gcc at swox dot com
  2007-12-13  7:21 ` [Bug target/34451] " tege-gcc at swox dot com
  2007-12-13  8:26 ` ubizjak at gmail dot com
@ 2007-12-13  9:26 ` ubizjak at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ubizjak at gmail dot com @ 2007-12-13  9:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ubizjak at gmail dot com  2007-12-13 09:26 -------
Fixed.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34451


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-12-13  9:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-13  6:05 [Bug target/34451] New: Typo in gcc/config/i386.c (ix86_rtx_costs) tege-gcc at swox dot com
2007-12-13  7:21 ` [Bug target/34451] " tege-gcc at swox dot com
2007-12-13  8:26 ` ubizjak at gmail dot com
2007-12-13  9:26 ` ubizjak at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).