public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/34216]  New: [4.2 regression] Optimizations cause audio distortion in GSM decompression
@ 2007-11-24 17:21 gcc-gnu-org at the-tilghman dot com
  2007-11-24 17:58 ` [Bug c/34216] " rguenth at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gcc-gnu-org at the-tilghman dot com @ 2007-11-24 17:21 UTC (permalink / raw)
  To: gcc-bugs

We've found a serious audio distortion with the standard GSM 6.10 library, when
optimizations are turned on in gcc 4.2.  No such problem exists in gcc 4.1. 
Sorry I can't be more specific as to where the problem lies.

Asterisk bugtracker: http://bugs.digium.com/view.php?id=11243


-- 
           Summary: [4.2 regression] Optimizations cause audio distortion in
                    GSM decompression
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc-gnu-org at the-tilghman dot com
 GCC build triplet: i486-linux-gnu
  GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu


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


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

* [Bug c/34216] [4.2 regression] Optimizations cause audio distortion in GSM decompression
  2007-11-24 17:21 [Bug c/34216] New: [4.2 regression] Optimizations cause audio distortion in GSM decompression gcc-gnu-org at the-tilghman dot com
@ 2007-11-24 17:58 ` rguenth at gcc dot gnu dot org
  2008-01-25 20:33 ` [Bug middle-end/34216] " rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-11-24 17:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2007-11-24 17:58 -------
This is obviously not very useful information.  You have to track this down
further.  The usual process is

 1) Build individual source files without optimization until you figure out
    which file triggers the failure.

 2) Play with GCC options, does -O1 work?  Does -O2
{-fno-tree-vrp,-fno-tree-pre}
    work? etc.

 3) Narrow down the routine that makes the difference

 4) Figure out if it's really a GCC problem.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug middle-end/34216] [4.2 regression] Optimizations cause audio distortion in GSM decompression
  2007-11-24 17:21 [Bug c/34216] New: [4.2 regression] Optimizations cause audio distortion in GSM decompression gcc-gnu-org at the-tilghman dot com
  2007-11-24 17:58 ` [Bug c/34216] " rguenth at gcc dot gnu dot org
@ 2008-01-25 20:33 ` rguenth at gcc dot gnu dot org
  2008-01-25 21:17 ` gcc-gnu-org at the-tilghman dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-25 20:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2008-01-25 20:27 -------
No feedback from the reporter after two month.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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

* [Bug middle-end/34216] [4.2 regression] Optimizations cause audio distortion in GSM decompression
  2007-11-24 17:21 [Bug c/34216] New: [4.2 regression] Optimizations cause audio distortion in GSM decompression gcc-gnu-org at the-tilghman dot com
  2007-11-24 17:58 ` [Bug c/34216] " rguenth at gcc dot gnu dot org
  2008-01-25 20:33 ` [Bug middle-end/34216] " rguenth at gcc dot gnu dot org
@ 2008-01-25 21:17 ` gcc-gnu-org at the-tilghman dot com
  2008-01-25 22:36 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: gcc-gnu-org at the-tilghman dot com @ 2008-01-25 21:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from gcc-gnu-org at the-tilghman dot com  2008-01-25 21:00 -------
Sorry, we're tracking this in our own bugtracker, as it's been reported against
our open source product.  The reporter on that bugtracker (the original
reporter of this issue) has verified that the optimization between -O2 and -O3
seems to cause this and is looking at which particular optimization causes the
issue.


-- 

gcc-gnu-org at the-tilghman dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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


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

* [Bug middle-end/34216] [4.2 regression] Optimizations cause audio distortion in GSM decompression
  2007-11-24 17:21 [Bug c/34216] New: [4.2 regression] Optimizations cause audio distortion in GSM decompression gcc-gnu-org at the-tilghman dot com
                   ` (2 preceding siblings ...)
  2008-01-25 21:17 ` gcc-gnu-org at the-tilghman dot com
@ 2008-01-25 22:36 ` pinskia at gcc dot gnu dot org
  2008-01-25 22:36 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-01-25 22:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2008-01-25 22:16 -------
Plus the answers to Richard's questions are useful.

Also does -O3 -fno-strict-alising work?  Does -O3 -fwrapv work?


-- 


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


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

* [Bug middle-end/34216] [4.2 regression] Optimizations cause audio distortion in GSM decompression
  2007-11-24 17:21 [Bug c/34216] New: [4.2 regression] Optimizations cause audio distortion in GSM decompression gcc-gnu-org at the-tilghman dot com
                   ` (3 preceding siblings ...)
  2008-01-25 22:36 ` pinskia at gcc dot gnu dot org
@ 2008-01-25 22:36 ` pinskia at gcc dot gnu dot org
  2008-03-27 22:17 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-01-25 22:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2008-01-25 22:15 -------
We still need a testcase and not just saying the audio output is incorrect.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug middle-end/34216] [4.2 regression] Optimizations cause audio distortion in GSM decompression
  2007-11-24 17:21 [Bug c/34216] New: [4.2 regression] Optimizations cause audio distortion in GSM decompression gcc-gnu-org at the-tilghman dot com
                   ` (4 preceding siblings ...)
  2008-01-25 22:36 ` pinskia at gcc dot gnu dot org
@ 2008-03-27 22:17 ` rguenth at gcc dot gnu dot org
  2008-05-19 20:31 ` jsm28 at gcc dot gnu dot org
  2008-07-30 18:39 ` gcc-gnu-org at the-tilghman dot com
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-03-27 22:17 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.2.4


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


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

* [Bug middle-end/34216] [4.2 regression] Optimizations cause audio distortion in GSM decompression
  2007-11-24 17:21 [Bug c/34216] New: [4.2 regression] Optimizations cause audio distortion in GSM decompression gcc-gnu-org at the-tilghman dot com
                   ` (5 preceding siblings ...)
  2008-03-27 22:17 ` rguenth at gcc dot gnu dot org
@ 2008-05-19 20:31 ` jsm28 at gcc dot gnu dot org
  2008-07-30 18:39 ` gcc-gnu-org at the-tilghman dot com
  7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-05-19 20:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jsm28 at gcc dot gnu dot org  2008-05-19 20:23 -------
4.2.4 is being released, changing milestones to 4.2.5.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.4                       |4.2.5


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


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

* [Bug middle-end/34216] [4.2 regression] Optimizations cause audio distortion in GSM decompression
  2007-11-24 17:21 [Bug c/34216] New: [4.2 regression] Optimizations cause audio distortion in GSM decompression gcc-gnu-org at the-tilghman dot com
                   ` (6 preceding siblings ...)
  2008-05-19 20:31 ` jsm28 at gcc dot gnu dot org
@ 2008-07-30 18:39 ` gcc-gnu-org at the-tilghman dot com
  7 siblings, 0 replies; 9+ messages in thread
From: gcc-gnu-org at the-tilghman dot com @ 2008-07-30 18:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from gcc-gnu-org at the-tilghman dot com  2008-07-30 18:38 -------
Fixed by adding noclobber to the assembly of the code in question.


-- 

gcc-gnu-org at the-tilghman dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2008-07-30 18:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-24 17:21 [Bug c/34216] New: [4.2 regression] Optimizations cause audio distortion in GSM decompression gcc-gnu-org at the-tilghman dot com
2007-11-24 17:58 ` [Bug c/34216] " rguenth at gcc dot gnu dot org
2008-01-25 20:33 ` [Bug middle-end/34216] " rguenth at gcc dot gnu dot org
2008-01-25 21:17 ` gcc-gnu-org at the-tilghman dot com
2008-01-25 22:36 ` pinskia at gcc dot gnu dot org
2008-01-25 22:36 ` pinskia at gcc dot gnu dot org
2008-03-27 22:17 ` rguenth at gcc dot gnu dot org
2008-05-19 20:31 ` jsm28 at gcc dot gnu dot org
2008-07-30 18:39 ` gcc-gnu-org at the-tilghman 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).