[Bug target/83330] [7/8 Regression] generating unaligned store to stack for SSE register with -mno-push-args

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Dec 16 19:40:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83330

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
call expand is wrong:

(insn 6 5 7 2 (parallel [
            (set (reg/f:DI 7 sp)
                (plus:DI (reg/f:DI 7 sp)
                    (const_int -16 [0xfffffffffffffff0])))
            (clobber (reg:CC 17 flags))
        ]) "x.i":17 222 {*adddi_1}
     (expr_list:REG_ARGS_SIZE (const_int 16 [0x10])
        (nil)))

doesn't count the alignment requirement later for

(insn 10 9 11 (set (mem:TI (reg:DI 90) [0  S16 A128])
        (const_int 0 [0])) "x.i":17 -1
     (nil))


More information about the Gcc-bugs mailing list