public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/20491] New: internal compiler error: in subreg_regno_offset, at rtlanal.c:3042
@ 2005-03-16  2:17 aelschuring at hotmail dot com
  2005-03-16  2:27 ` [Bug middle-end/20491] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (32 more replies)
  0 siblings, 33 replies; 34+ messages in thread
From: aelschuring at hotmail dot com @ 2005-03-16  2:17 UTC (permalink / raw)
  To: gcc-bugs

The following code causes an ICE in gcc4:

===
static void _evas_yv12torgb_sse ();
const volatile unsigned short _const_32 [4] = {1,2,3,4};

void
evas_common_convert_yuv_420p_601_rgba()
{
     _evas_yv12torgb_sse();
}

static void
_evas_yv12torgb_sse()
{
   int xx, yy;
      __asm__ __volatile__ ("movq" " %0, %%" "mm4" : : "X" (*_const_32));
}
===
(this code originally comes from e17 library evas)

The 4.0 compiler I have used was from 20041205 (5 dec 2004), haven't tested a
more recent version on the 4.0 branch.

backup@golem:~$ uname -a
Linux golem 2.6.11-wol #2 Tue Mar 8 21:47:08 CET 2005 i686 AuthenticAMD unknown
GNU/Linux
backup@golem:~$ gcc --verbose
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /home/sources/gcc-CVS/configure --prefix=/usr
--libexecdir=/usr/lib --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++,java,objc
Thread model: posix
gcc version 4.1.0 20050315 (experimental)

backup@golem:~$ gcc -O2 -c evas2.c -o evas.o
evas2.c: In function 'evas_common_convert_yuv_420p_601_rgba':
evas2.c:9: internal compiler error: in subreg_regno_offset, at rtlanal.c:3042
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

backup@golem:~$ gcc -c evas2.c -o evas.o
/tmp/ccmmTLDP.s: Assembler messages:
/tmp/ccmmTLDP.s:39: Error: suffix or operands invalid for `movq'

I hope this is enough info to work on

-- 
           Summary: internal compiler error: in subreg_regno_offset, at
                    rtlanal.c:3042
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aelschuring at hotmail dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2005-04-19  4:37 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-16  2:17 [Bug c/20491] New: internal compiler error: in subreg_regno_offset, at rtlanal.c:3042 aelschuring at hotmail dot com
2005-03-16  2:27 ` [Bug middle-end/20491] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-03-24  8:56 ` aoliva at gcc dot gnu dot org
2005-03-24  9:26 ` aoliva at redhat dot com
2005-03-24 10:46 ` aoliva at redhat dot com
2005-03-24 12:33 ` kenner at vlsi1 dot ultra dot nyu dot edu
2005-03-24 18:08 ` pinskia at gcc dot gnu dot org
2005-03-25 13:41 ` aoliva at redhat dot com
2005-03-28 22:11 ` rth at gcc dot gnu dot org
2005-03-29 21:36 ` cvs-commit at gcc dot gnu dot org
2005-03-29 21:36 ` cvs-commit at gcc dot gnu dot org
2005-03-29 21:48 ` aoliva at redhat dot com
2005-03-29 22:23 ` aoliva at gcc dot gnu dot org
2005-03-30 16:23 ` jsm28 at gcc dot gnu dot org
2005-03-30 18:51 ` pinskia at gcc dot gnu dot org
2005-03-30 19:00 ` aoliva at gcc dot gnu dot org
2005-03-30 19:28 ` aoliva at redhat dot com
2005-03-31 22:09 ` rth at gcc dot gnu dot org
2005-04-02 16:56 ` cvs-commit at gcc dot gnu dot org
2005-04-02 16:57 ` cvs-commit at gcc dot gnu dot org
2005-04-02 16:57 ` aoliva at redhat dot com
2005-04-02 17:07 ` aoliva at gcc dot gnu dot org
2005-04-03 15:21 ` jsm28 at gcc dot gnu dot org
2005-04-03 17:04 ` pinskia at gcc dot gnu dot org
2005-04-03 18:19 ` danglin at gcc dot gnu dot org
2005-04-04 18:20 ` joseph at codesourcery dot com
2005-04-05 11:50 ` jsm28 at gcc dot gnu dot org
2005-04-05 14:59 ` pinskia at gcc dot gnu dot org
2005-04-16 10:38 ` cvs-commit at gcc dot gnu dot org
2005-04-16 10:43 ` cvs-commit at gcc dot gnu dot org
2005-04-16 22:04 ` pinskia at gcc dot gnu dot org
2005-04-17  4:01 ` mmitchel at gcc dot gnu dot org
2005-04-17 10:59 ` [Bug middle-end/20491] " jsm28 at gcc dot gnu dot org
2005-04-19  4:37 ` aoliva 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).