This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/11057] New: ice in extract_constrain_insn_cached with -fcall-saved-mm0


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: ice in extract_constrain_insn_cached with -fcall-saved-
                    mm0
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ronaldgcc@yahoo.com
                CC: gcc-bugs@gcc.gnu.org

The following code generates an ice with gcc-3.3 when compiled
with -mmmx -fcall-saved-mm0

bug.c:
typedef int di __attribute__ ((mode(DI)));

void f()
{
	di x;
	x = __builtin_ia32_pxor(x, x);
}

[ronald@localhost]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: ../gcc-3.3/configure --prefix=/usr --enable-threads --enable-shared
Thread model: posix
gcc version 3.3
[ronald@localhost]$ gcc bug.c -mmmx -fcall-saved-mm0
bug.c: In function `f':
bug.c:7: error: insn does not satisfy its constraints:
(insn/f 21 20 22 (nil) (set (mem:SI (pre_dec:SI (reg/f:SI 7 esp)) [0 S4 A8])
        (reg:SI 29 emm0)) 32 {*pushsi2} (nil)
    (nil))
bug.c:7: internal compiler error: in extract_constrain_insn_cached, at recog.c:2090
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]