This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/69677] [6 Regression] bootstrap failed with --with-arch=corei7 --with-cpu=corei7
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 04 Feb 2016 21:12:51 +0000
- Subject: [Bug bootstrap/69677] [6 Regression] bootstrap failed with --with-arch=corei7 --with-cpu=corei7
- Auto-submitted: auto-generated
- References: <bug-69677-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69677
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
STV turns:
insn 21 19 23 4 (parallel [
(set (reg:DI 102 [ val ])
(and:DI (reg/v:DI 97 [ val ])
(mem/u:DI (plus:SI (mult:SI (reg/v:SI 96 [ mode ])
(const_int 8 [0x8]))
(symbol_ref:SI ("mode_mask_array") [flags 0x40]
<var_decl 0xf517e160 mode_mask_array>)) [13 mode_mask_array S8 A64])))
(clobber (reg:CC 17 flags))
]) /export/gnu/import/git/gcc-regression/gcc/gcc/simplify-rtx.c:134 332
{*anddi3_doubleword}
(expr_list:REG_DEAD (reg/v:DI 97 [ val ])
(expr_list:REG_DEAD (reg/v:SI 96 [ mode ])
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil)))))
(insn 23 21 24 4 (parallel [
(set (reg:DI 103)
(ashift:DI (const_int 1 [0x1])
(subreg:QI (reg:SI 91 [ _8 ]) 0)))
(clobber (reg:CC 17 flags))
]) /export/gnu/import/git/gcc-regression/gcc/gcc/simplify-rtx.c:135 449
{*ashldi3_doubleword}
(expr_list:REG_DEAD (reg:SI 91 [ _8 ])
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil))))
into
(insn 47 19 21 4 (set (reg:DI 111)
(mem/u:DI (plus:SI (mult:SI (reg/v:SI 96 [ mode ])
(const_int 8 [0x8]))
(symbol_ref:SI ("mode_mask_array") [flags 0x40] <var_decl
0xf517e160 mode_mask_array>)) [13 mode_mask_array S8 A64]))
/export/gnu/import/git/gcc-regression/gcc/gcc/simplify-rtx.c:134 -1
(nil))
(insn 21 47 23 4 (set (subreg:V2DI (reg:DI 102 [ val ]) 0)
(and:V2DI (subreg:V2DI (reg/v:DI 97 [ val ]) 0)
(subreg:V2DI (reg:DI 111) 0)))
/export/gnu/import/git/gcc-regression/gcc/gcc/simplify-rtx.c:134 3253
{*andv2di3}
(expr_list:REG_DEAD (reg/v:DI 97 [ val ])
(expr_list:REG_DEAD (reg/v:SI 96 [ mode ])
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil)))))
(insn 23 21 45 4 (parallel [
(set (reg:DI 103)
(ashift:DI (const_int 1 [0x1])
(subreg:QI (reg:SI 91 [ _8 ]) 0)))
(clobber (reg:CC 17 flags))
]) /export/gnu/import/git/gcc-regression/gcc/gcc/simplify-rtx.c:135 449
{*ashldi3_doubleword}
(expr_list:REG_DEAD (reg:SI 91 [ _8 ])
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil))))
So STV requires 16 byte stack alignment and uses 16 byte stack alignment.