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 rtl-optimization/55093] [4.8 Regression] [x32] -maddress-mode=long failed


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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2012-10-27 00:19:22 UTC ---
Another zero-extend bug?

Breakpoint 1, fancy_abort (
    file=0x146ea68 "/export/gnu/import/git/gcc-misc/gcc/config/i386/i386.c", 
    line=14088, 
    function=0x14879e3 <print_reg(rtx_def*, int, _IO_FILE*)::__FUNCTION__>
"print_reg") at /export/gnu/import/git/gcc-misc/gcc/diagnostic.c:1143
1143      internal_error ("in %s, at %s:%d", function, trim_filename (file),
line);
(gdb) f 1
#1  0x00f4fbde in print_reg (x=0xf5131168, code=113, file=0x1a13da0)
    at /export/gnu/import/git/gcc-misc/gcc/config/i386/i386.c:14083
14083      gcc_assert (x == pc_rtx
(gdb) call debug_rtx (x)
(reg:SI 16 argp)
(gdb) f 2
#2  0x00f51f64 in ix86_print_operand_address (file=0x1a13da0, addr=0xf5138bd0)
    at /export/gnu/import/git/gcc-misc/gcc/config/i386/i386.c:15046
15046            print_reg (base, code, file);
(gdb) call debug_rtx (addr)
(unspec:DI [
        (zero_extend:DI (plus:SI (reg:SI 16 argp)
                (const_int 68 [0x44])))
    ] UNSPEC_LEA_ADDR)
(gdb)


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