public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/17853] New: -O2 ICE for MMX testcase
@ 2004-10-05 21:41 stuart at apple dot com
  2004-10-05 22:21 ` [Bug target/17853] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: stuart at apple dot com @ 2004-10-05 21:41 UTC (permalink / raw)
  To: gcc-bugs

gcc -O2 -mmmx i386-mmx-5.c
GCC fails thus:
---------------------------------------------
i386-mmx-5.c: In function 'main':
i386-mmx-5.c:15: internal compiler error: in simplify_binary_operation, at simplify-rtx.c:2151
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
---------------------------------------------
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -mmmx" } */
#include <mmintrin.h>
#include <stdlib.h>

__m64 global_mask;

main()
{
    __m64 zero = _mm_setzero_si64();
    __m64 mask = _mm_cmpeq_pi8( zero, zero );
    mask = _mm_unpacklo_pi8( mask, zero );
    global_mask = mask;
    exit(0);
}
-----------------------------------------------------

-- 
           Summary: -O2 ICE for MMX testcase
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: stuart at apple dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-linux-gnu
  GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu


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


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

end of thread, other threads:[~2004-10-10 21:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-05 21:41 [Bug c/17853] New: -O2 ICE for MMX testcase stuart at apple dot com
2004-10-05 22:21 ` [Bug target/17853] " pinskia at gcc dot gnu dot org
2004-10-05 22:22 ` [Bug rtl-optimization/17853] " pinskia at gcc dot gnu dot org
2004-10-05 22:29 ` [Bug rtl-optimization/17853] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
2004-10-05 22:32 ` pinskia at gcc dot gnu dot org
2004-10-09 19:28 ` cvs-commit at gcc dot gnu dot org
2004-10-09 20:10 ` [Bug rtl-optimization/17853] [3.4 " pinskia at gcc dot gnu dot org
2004-10-10 17:52 ` pinskia at gcc dot gnu dot org
2004-10-10 21:53 ` cvs-commit at gcc dot gnu dot org
2004-10-10 21:56 ` pinskia 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).