public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/35872] [4.1 regression] incorrect code for 32bit multiplication by constant
  2008-04-08 16:12 [Bug c/35872] New: [4.1 regression] incorrect code for 32bit multiplication by constant a dot kaiser at gmx dot net
@ 2008-04-08 16:12 ` a dot kaiser at gmx dot net
  2008-04-08 16:13 ` a dot kaiser at gmx dot net
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: a dot kaiser at gmx dot net @ 2008-04-08 16:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from a dot kaiser at gmx dot net  2008-04-08 16:12 -------
Created an attachment (id=15447)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15447&action=view)
testcase


-- 


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


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

* [Bug c/35872]  New: [4.1 regression] incorrect code for 32bit multiplication by constant
@ 2008-04-08 16:12 a dot kaiser at gmx dot net
  2008-04-08 16:12 ` [Bug c/35872] " a dot kaiser at gmx dot net
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: a dot kaiser at gmx dot net @ 2008-04-08 16:12 UTC (permalink / raw)
  To: gcc-bugs

A 32bit multiplication by a constant results in incorrect code when compiled
for some AVR models (probably those having a hardware multiplier).

Command:
  avr-gcc -mmcu=attiny25 -Os -S t1.c      (correct)
  avr-gcc -mmcu=atmega16 -Os -S t1.c      (incorrect)


-- 
           Summary: [4.1 regression] incorrect code for 32bit multiplication
                    by constant
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: a dot kaiser at gmx dot net
  GCC host triplet: winavr 20040802
GCC target triplet: avr


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


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

* [Bug c/35872] [4.1 regression] incorrect code for 32bit multiplication by constant
  2008-04-08 16:12 [Bug c/35872] New: [4.1 regression] incorrect code for 32bit multiplication by constant a dot kaiser at gmx dot net
  2008-04-08 16:12 ` [Bug c/35872] " a dot kaiser at gmx dot net
  2008-04-08 16:13 ` a dot kaiser at gmx dot net
@ 2008-04-08 16:13 ` a dot kaiser at gmx dot net
  2008-04-08 18:07 ` [Bug target/35872] [4.3 " eric dot weddington at atmel dot com
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: a dot kaiser at gmx dot net @ 2008-04-08 16:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from a dot kaiser at gmx dot net  2008-04-08 16:12 -------
Created an attachment (id=15448)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15448&action=view)
assembly output for tiny25


-- 


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


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

* [Bug c/35872] [4.1 regression] incorrect code for 32bit multiplication by constant
  2008-04-08 16:12 [Bug c/35872] New: [4.1 regression] incorrect code for 32bit multiplication by constant a dot kaiser at gmx dot net
  2008-04-08 16:12 ` [Bug c/35872] " a dot kaiser at gmx dot net
@ 2008-04-08 16:13 ` a dot kaiser at gmx dot net
  2008-04-08 16:13 ` a dot kaiser at gmx dot net
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: a dot kaiser at gmx dot net @ 2008-04-08 16:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from a dot kaiser at gmx dot net  2008-04-08 16:13 -------
Created an attachment (id=15449)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15449&action=view)
assembly output for mega16


-- 


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


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

* [Bug target/35872] [4.3 regression] incorrect code for 32bit multiplication by constant
  2008-04-08 16:12 [Bug c/35872] New: [4.1 regression] incorrect code for 32bit multiplication by constant a dot kaiser at gmx dot net
                   ` (2 preceding siblings ...)
  2008-04-08 16:13 ` a dot kaiser at gmx dot net
@ 2008-04-08 18:07 ` eric dot weddington at atmel dot com
  2008-04-08 18:16 ` eric dot weddington at atmel dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: eric dot weddington at atmel dot com @ 2008-04-08 18:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from eric dot weddington at atmel dot com  2008-04-08 18:06 -------
Works for 4.2.2 (WinAVR 20071221)


-- 

eric dot weddington at atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|4.1.2                       |4.1.2 4.2.2


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


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

* [Bug target/35872] [4.3 regression] incorrect code for 32bit multiplication by constant
  2008-04-08 16:12 [Bug c/35872] New: [4.1 regression] incorrect code for 32bit multiplication by constant a dot kaiser at gmx dot net
                   ` (3 preceding siblings ...)
  2008-04-08 18:07 ` [Bug target/35872] [4.3 " eric dot weddington at atmel dot com
@ 2008-04-08 18:16 ` eric dot weddington at atmel dot com
  2008-04-08 20:18 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: eric dot weddington at atmel dot com @ 2008-04-08 18:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from eric dot weddington at atmel dot com  2008-04-08 18:16 -------
Confirmed on WinAVR 20080407 (gcc 4.3.0 plus patches).


-- 


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


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

* [Bug target/35872] [4.3 regression] incorrect code for 32bit multiplication by constant
  2008-04-08 16:12 [Bug c/35872] New: [4.1 regression] incorrect code for 32bit multiplication by constant a dot kaiser at gmx dot net
                   ` (4 preceding siblings ...)
  2008-04-08 18:16 ` eric dot weddington at atmel dot com
@ 2008-04-08 20:18 ` rguenth at gcc dot gnu dot org
  2008-04-08 20:39 ` eric dot weddington at atmel dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-04-08 20:18 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |wrong-code
           Priority|P3                          |P4
   Last reconfirmed|0000-00-00 00:00:00         |2008-04-08 20:17:37
               date|                            |
   Target Milestone|---                         |4.3.1


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


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

* [Bug target/35872] [4.3 regression] incorrect code for 32bit multiplication by constant
  2008-04-08 16:12 [Bug c/35872] New: [4.1 regression] incorrect code for 32bit multiplication by constant a dot kaiser at gmx dot net
                   ` (5 preceding siblings ...)
  2008-04-08 20:18 ` rguenth at gcc dot gnu dot org
@ 2008-04-08 20:39 ` eric dot weddington at atmel dot com
  2008-04-12 15:28 ` hutchinsonandy at gcc dot gnu dot org
  2008-05-26 20:25 ` eric dot weddington at atmel dot com
  8 siblings, 0 replies; 11+ messages in thread
From: eric dot weddington at atmel dot com @ 2008-04-08 20:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from eric dot weddington at atmel dot com  2008-04-08 20:38 -------
Andy's combine.c patch for bug #35519 fixes this bug. This means that 4.3.0 is
useless for the avr port until that patch is backported.


-- 

eric dot weddington at atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |35519
           Severity|normal                      |major
           Priority|P4                          |P3
   Target Milestone|4.3.1                       |---


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


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

* [Bug target/35872] [4.3 regression] incorrect code for 32bit multiplication by constant
  2008-04-08 16:12 [Bug c/35872] New: [4.1 regression] incorrect code for 32bit multiplication by constant a dot kaiser at gmx dot net
                   ` (6 preceding siblings ...)
  2008-04-08 20:39 ` eric dot weddington at atmel dot com
@ 2008-04-12 15:28 ` hutchinsonandy at gcc dot gnu dot org
  2008-05-26 20:25 ` eric dot weddington at atmel dot com
  8 siblings, 0 replies; 11+ messages in thread
From: hutchinsonandy at gcc dot gnu dot org @ 2008-04-12 15:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from hutchinsonandy at gcc dot gnu dot org  2008-04-12 15:28 -------
Fixed 4.3 and 4.4


-- 

hutchinsonandy at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug target/35872] [4.3 regression] incorrect code for 32bit multiplication by constant
  2008-04-08 16:12 [Bug c/35872] New: [4.1 regression] incorrect code for 32bit multiplication by constant a dot kaiser at gmx dot net
                   ` (7 preceding siblings ...)
  2008-04-12 15:28 ` hutchinsonandy at gcc dot gnu dot org
@ 2008-05-26 20:25 ` eric dot weddington at atmel dot com
  8 siblings, 0 replies; 11+ messages in thread
From: eric dot weddington at atmel dot com @ 2008-05-26 20:25 UTC (permalink / raw)
  To: gcc-bugs



-- 

eric dot weddington at atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.1


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


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

* [Bug target/35872] [4.3 regression] incorrect code for 32bit multiplication by constant
       [not found] <bug-35872-4@http.gcc.gnu.org/bugzilla/>
@ 2014-02-16 13:16 ` jackie.rosen at hushmail dot com
  0 siblings, 0 replies; 11+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 13:16 UTC (permalink / raw)
  To: gcc-bugs

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

Jackie Rosen <jackie.rosen at hushmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackie.rosen at hushmail dot com

--- Comment #8 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.


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

end of thread, other threads:[~2014-02-16 13:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-08 16:12 [Bug c/35872] New: [4.1 regression] incorrect code for 32bit multiplication by constant a dot kaiser at gmx dot net
2008-04-08 16:12 ` [Bug c/35872] " a dot kaiser at gmx dot net
2008-04-08 16:13 ` a dot kaiser at gmx dot net
2008-04-08 16:13 ` a dot kaiser at gmx dot net
2008-04-08 18:07 ` [Bug target/35872] [4.3 " eric dot weddington at atmel dot com
2008-04-08 18:16 ` eric dot weddington at atmel dot com
2008-04-08 20:18 ` rguenth at gcc dot gnu dot org
2008-04-08 20:39 ` eric dot weddington at atmel dot com
2008-04-12 15:28 ` hutchinsonandy at gcc dot gnu dot org
2008-05-26 20:25 ` eric dot weddington at atmel dot com
     [not found] <bug-35872-4@http.gcc.gnu.org/bugzilla/>
2014-02-16 13:16 ` jackie.rosen at hushmail 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).