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 target/12584] gcc fails to compile source file from mythtv


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

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



------- Additional Comments From falk at debian dot org  2003-10-12 09:38 -------
I can reproduce with with gcc version 3.3.1 20030626 (Debian prerelease), I 
don't have anything newer, so leaving unconfirmed for now.

Test case:

int mm_support(int edx)
{
    int rval = 1;
    if (edx)
        rval |= 4;
    return rval;
}

Options needed: -m64 -march=pentiumpro -O

Probably a bad interaction of -march=pentiumpro with the 64 bit code generation.

bash-2.05b$ gcc -m64 -march=pentiumpro -S tmp.c -O
tmp.c: In function `mm_support':
tmp.c:7: error: unrecognizable insn:
(insn 39 38 23 0 0x401d6040 (set (reg/v:SI 60)
        (plus:SI (mult:SI (reg/v:SI 60)
                (const_int 4 [0x4]))
            (const_int 1 [0x1]))) -1 (insn_list 38 (nil))
    (nil))
tmp.c:7: internal compiler error: in extract_insn, at recog.c:2175


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