public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/13041] New: linux-2.6/sound/core/oss/rate.c miscompiled
@ 2003-11-13 19:14 debian-gcc at lists dot debian dot org
2003-11-13 19:15 ` [Bug target/13041] " debian-gcc at lists dot debian dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2003-11-13 19:14 UTC (permalink / raw)
To: gcc-bugs
[ forwarded from http://bugs.debian.org/219949 ]
gcc-3.3.2 release:
gcc -march=i386 -fomit-frame-pointer -O2
miscompiles sound/core/oss/rate.c in Linux 2.6.0-test9.
I've attached the preprocessed source that demonstrates the
problem.
In the assembly output with -S, look for the 5th label in
get_s16_labels.0. That label should do a word load, but
instead it does a double word load:
.L4:
movl (%ebp), %eax
jmp .L111
--
Summary: linux-2.6/sound/core/oss/rate.c miscompiled
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
CC: gcc-bugs at gcc dot gnu dot org,herbert at gondor dot
apana dot org dot au
GCC build triplet: 386-linux
GCC host triplet: i386-linux
GCC target triplet: 386-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13041
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/13041] linux-2.6/sound/core/oss/rate.c miscompiled
2003-11-13 19:14 [Bug target/13041] New: linux-2.6/sound/core/oss/rate.c miscompiled debian-gcc at lists dot debian dot org
@ 2003-11-13 19:15 ` debian-gcc at lists dot debian dot org
2003-11-13 19:37 ` [Bug target/13041] [3.3 Regression] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2003-11-13 19:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From debian-gcc at lists dot debian dot org 2003-11-13 19:15 -------
Created an attachment (id=5131)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5131&action=view)
preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13041
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/13041] [3.3 Regression] linux-2.6/sound/core/oss/rate.c miscompiled
2003-11-13 19:14 [Bug target/13041] New: linux-2.6/sound/core/oss/rate.c miscompiled debian-gcc at lists dot debian dot org
2003-11-13 19:15 ` [Bug target/13041] " debian-gcc at lists dot debian dot org
@ 2003-11-13 19:37 ` pinskia at gcc dot gnu dot org
2003-11-14 14:16 ` ebotcazou at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-13 19:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-13 19:37 -------
On the mainline the asm looks like:
movw (%edi), %ax
movw %ax, (%esp)
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Keywords| |wrong-code
Summary|linux- |[3.3 Regression] linux-
|2.6/sound/core/oss/rate.c |2.6/sound/core/oss/rate.c
|miscompiled |miscompiled
Target Milestone|--- |3.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13041
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/13041] [3.3 Regression] linux-2.6/sound/core/oss/rate.c miscompiled
2003-11-13 19:14 [Bug target/13041] New: linux-2.6/sound/core/oss/rate.c miscompiled debian-gcc at lists dot debian dot org
2003-11-13 19:15 ` [Bug target/13041] " debian-gcc at lists dot debian dot org
2003-11-13 19:37 ` [Bug target/13041] [3.3 Regression] " pinskia at gcc dot gnu dot org
@ 2003-11-14 14:16 ` ebotcazou at gcc dot gnu dot org
2003-11-14 14:17 ` ebotcazou at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-11-14 14:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-11-14 14:16 -------
Confirmed, GCC has no right to "promote" the memory access.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-11-14 14:16:37
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13041
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/13041] [3.3 Regression] linux-2.6/sound/core/oss/rate.c miscompiled
2003-11-13 19:14 [Bug target/13041] New: linux-2.6/sound/core/oss/rate.c miscompiled debian-gcc at lists dot debian dot org
` (2 preceding siblings ...)
2003-11-14 14:16 ` ebotcazou at gcc dot gnu dot org
@ 2003-11-14 14:17 ` ebotcazou at gcc dot gnu dot org
2003-11-17 8:37 ` [Bug optimization/13041] " ebotcazou at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-11-14 14:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-11-14 14:17 -------
Fixing.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13041
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug optimization/13041] [3.3 Regression] linux-2.6/sound/core/oss/rate.c miscompiled
2003-11-13 19:14 [Bug target/13041] New: linux-2.6/sound/core/oss/rate.c miscompiled debian-gcc at lists dot debian dot org
` (3 preceding siblings ...)
2003-11-14 14:17 ` ebotcazou at gcc dot gnu dot org
@ 2003-11-17 8:37 ` ebotcazou at gcc dot gnu dot org
2003-11-27 6:45 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-11-17 8:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-11-17 08:37 -------
I think the bug is generic.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|target |optimization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13041
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug optimization/13041] [3.3 Regression] linux-2.6/sound/core/oss/rate.c miscompiled
2003-11-13 19:14 [Bug target/13041] New: linux-2.6/sound/core/oss/rate.c miscompiled debian-gcc at lists dot debian dot org
` (4 preceding siblings ...)
2003-11-17 8:37 ` [Bug optimization/13041] " ebotcazou at gcc dot gnu dot org
@ 2003-11-27 6:45 ` cvs-commit at gcc dot gnu dot org
2003-12-01 8:18 ` cvs-commit at gcc dot gnu dot org
2003-12-01 8:19 ` ebotcazou at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-11-27 6:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-11-27 06:45 -------
Subject: Bug 13041
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: ebotcazou@gcc.gnu.org 2003-11-27 06:45:25
Modified files:
gcc : ChangeLog final.c reload1.c
Log message:
PR optimization/13041
* final.c (frame_pointer_needed): Fix comment.
* reload1.c (reload): Decrease alignment of the frame
pointer if it was used for register allocation.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1834&r2=2.1835
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/final.c.diff?cvsroot=gcc&r1=1.294&r2=1.295
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/reload1.c.diff?cvsroot=gcc&r1=1.413&r2=1.414
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13041
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug optimization/13041] [3.3 Regression] linux-2.6/sound/core/oss/rate.c miscompiled
2003-11-13 19:14 [Bug target/13041] New: linux-2.6/sound/core/oss/rate.c miscompiled debian-gcc at lists dot debian dot org
` (5 preceding siblings ...)
2003-11-27 6:45 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-01 8:18 ` cvs-commit at gcc dot gnu dot org
2003-12-01 8:19 ` ebotcazou at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-12-01 8:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-12-01 08:18 -------
Subject: Bug 13041
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: ebotcazou@gcc.gnu.org 2003-12-01 08:18:40
Modified files:
gcc : ChangeLog final.c reload1.c
Log message:
Backport from mainline:
2003-11-27 Eric Botcazou <ebotcazou@libertysurf.fr>
PR optimization/13041
* final.c (frame_pointer_needed): Fix comment.
* reload1.c (reload): Decrease alignment of the frame
pointer if it was used for register allocation.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.812&r2=1.16114.2.813
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/final.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.271.2.1&r2=1.271.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/reload1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.366.2.6&r2=1.366.2.7
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13041
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug optimization/13041] [3.3 Regression] linux-2.6/sound/core/oss/rate.c miscompiled
2003-11-13 19:14 [Bug target/13041] New: linux-2.6/sound/core/oss/rate.c miscompiled debian-gcc at lists dot debian dot org
` (6 preceding siblings ...)
2003-12-01 8:18 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-01 8:19 ` ebotcazou at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-12-01 8:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-12-01 08:19 -------
See http://gcc.gnu.org/ml/gcc-patches/2003-11/msg01629.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13041
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-12-01 8:19 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-13 19:14 [Bug target/13041] New: linux-2.6/sound/core/oss/rate.c miscompiled debian-gcc at lists dot debian dot org
2003-11-13 19:15 ` [Bug target/13041] " debian-gcc at lists dot debian dot org
2003-11-13 19:37 ` [Bug target/13041] [3.3 Regression] " pinskia at gcc dot gnu dot org
2003-11-14 14:16 ` ebotcazou at gcc dot gnu dot org
2003-11-14 14:17 ` ebotcazou at gcc dot gnu dot org
2003-11-17 8:37 ` [Bug optimization/13041] " ebotcazou at gcc dot gnu dot org
2003-11-27 6:45 ` cvs-commit at gcc dot gnu dot org
2003-12-01 8:18 ` cvs-commit at gcc dot gnu dot org
2003-12-01 8:19 ` ebotcazou at gcc dot gnu dot org
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).