public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/48616] New: -ftree-vectorize -mxop miscompiles right shift
@ 2011-04-15  8:16 kretz at kde dot org
  2011-04-15 10:38 ` [Bug tree-optimization/48616] " rguenth at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: kretz at kde dot org @ 2011-04-15  8:16 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: -ftree-vectorize -mxop miscompiles right shift
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: kretz@kde.org


Created attachment 23991
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23991
reduced testcase

I just tested GCC 4.6 with -mxop and found that my testShift unit test is
miscompiled. I tried hard to reduce the testcase further than what I got now,
but it is very fragile, i.e. it produces correct code if I remove unrelated
code, such as test calls after the problematic test.

Compile the testcase with
% g++ -mxop -O2 -ftree-vectorize testcase.cpp
to get the error.

Let me know if I can help further.


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

end of thread, other threads:[~2011-04-18 17:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-15  8:16 [Bug tree-optimization/48616] New: -ftree-vectorize -mxop miscompiles right shift kretz at kde dot org
2011-04-15 10:38 ` [Bug tree-optimization/48616] " rguenth at gcc dot gnu.org
2011-04-15 11:37 ` jakub at gcc dot gnu.org
2011-04-15 12:11 ` kretz at kde dot org
2011-04-15 12:32 ` jakub at gcc dot gnu.org
2011-04-15 13:08 ` jakub at gcc dot gnu.org
2011-04-15 13:39 ` jakub at gcc dot gnu.org
2011-04-15 16:03 ` jakub at gcc dot gnu.org
2011-04-15 16:56 ` jakub at gcc dot gnu.org
2011-04-15 19:09 ` jakub at gcc dot gnu.org
2011-04-15 20:10 ` rguenth at gcc dot gnu.org
2011-04-18  6:56 ` jakub at gcc dot gnu.org
2011-04-18  7:43 ` jakub at gcc dot gnu.org
2011-04-18  7:44 ` jakub at gcc dot gnu.org
2011-04-18 17:01 ` kretz at kde 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).