public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/13222] New: -O -funroll-loops miscompiles POOMA test
@ 2003-11-28 19:23 rguenth at tat dot physik dot uni-tuebingen dot de
  2003-12-01  2:25 ` [Bug optimization/13222] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rguenth at tat dot physik dot uni-tuebingen dot de @ 2003-11-28 19:23 UTC (permalink / raw)
  To: gcc-bugs

The CrossBox test of the POOMA library is miscompiled on powerpc-linux
(g++ (GCC) 3.3.2 (Debian)) if optimizing with -g -fno-exceptions -O
-funroll-loops. Both changing -O to -O2, or removing -funroll-loops fixes the
problem. Also the problem does not appear on i486-linux (same Debian release).

I suspect this is yet another loop unroller bug.

The preprocessed testcase can be fetched from
http://www.tat.physik.uni-tuebingen.de/~rguenth/gcc/CrossBox-281103.ii.gz

-- 
           Summary: -O -funroll-loops miscompiles POOMA test
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at tat dot physik dot uni-tuebingen dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-linux
  GCC host triplet: powerpc-linux
GCC target triplet: powerpc-linux


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


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

* [Bug optimization/13222] -O -funroll-loops miscompiles POOMA test
  2003-11-28 19:23 [Bug middle-end/13222] New: -O -funroll-loops miscompiles POOMA test rguenth at tat dot physik dot uni-tuebingen dot de
@ 2003-12-01  2:25 ` pinskia at gcc dot gnu dot org
  2004-02-06  1:29 ` [Bug optimization/13222] [3.3 only] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-01  2:25 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
          Component|middle-end                  |optimization


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


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

* [Bug optimization/13222] [3.3 only] -O -funroll-loops miscompiles POOMA test
  2003-11-28 19:23 [Bug middle-end/13222] New: -O -funroll-loops miscompiles POOMA test rguenth at tat dot physik dot uni-tuebingen dot de
  2003-12-01  2:25 ` [Bug optimization/13222] " pinskia at gcc dot gnu dot org
@ 2004-02-06  1:29 ` pinskia at gcc dot gnu dot org
  2004-02-15 12:38 ` gdr at gcc dot gnu dot org
  2004-03-31 21:07 ` rguenth at tat dot physik dot uni-tuebingen dot de
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-06  1:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-06 01:29 -------
I think this is a dup of any other bug.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|-O -funroll-loops           |[3.3 only] -O -funroll-loops
                   |miscompiles POOMA test      |miscompiles POOMA test
   Target Milestone|---                         |3.3.3


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


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

* [Bug optimization/13222] [3.3 only] -O -funroll-loops miscompiles POOMA test
  2003-11-28 19:23 [Bug middle-end/13222] New: -O -funroll-loops miscompiles POOMA test rguenth at tat dot physik dot uni-tuebingen dot de
  2003-12-01  2:25 ` [Bug optimization/13222] " pinskia at gcc dot gnu dot org
  2004-02-06  1:29 ` [Bug optimization/13222] [3.3 only] " pinskia at gcc dot gnu dot org
@ 2004-02-15 12:38 ` gdr at gcc dot gnu dot org
  2004-03-31 21:07 ` rguenth at tat dot physik dot uni-tuebingen dot de
  3 siblings, 0 replies; 5+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-02-15 12:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2004-02-15 12:38 -------
Adjust milestone

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.3.3                       |3.3.4


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


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

* [Bug optimization/13222] [3.3 only] -O -funroll-loops miscompiles POOMA test
  2003-11-28 19:23 [Bug middle-end/13222] New: -O -funroll-loops miscompiles POOMA test rguenth at tat dot physik dot uni-tuebingen dot de
                   ` (2 preceding siblings ...)
  2004-02-15 12:38 ` gdr at gcc dot gnu dot org
@ 2004-03-31 21:07 ` rguenth at tat dot physik dot uni-tuebingen dot de
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at tat dot physik dot uni-tuebingen dot de @ 2004-03-31 21:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de  2004-03-31 21:07 -------
I can no longer reproduce this with g++ (GCC) 3.3.3 (Debian 20040321), so it
seems fixed.

Richard.

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


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


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

end of thread, other threads:[~2004-03-31 21:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-28 19:23 [Bug middle-end/13222] New: -O -funroll-loops miscompiles POOMA test rguenth at tat dot physik dot uni-tuebingen dot de
2003-12-01  2:25 ` [Bug optimization/13222] " pinskia at gcc dot gnu dot org
2004-02-06  1:29 ` [Bug optimization/13222] [3.3 only] " pinskia at gcc dot gnu dot org
2004-02-15 12:38 ` gdr at gcc dot gnu dot org
2004-03-31 21:07 ` rguenth at tat dot physik dot uni-tuebingen dot de

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).