This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/70416] [SH]: error: 'asm' operand requires impossible reload when building ruby2.3
- From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 26 Mar 2016 17:48:50 +0000
- Subject: [Bug target/70416] [SH]: error: 'asm' operand requires impossible reload when building ruby2.3
- Auto-submitted: auto-generated
- References: <bug-70416-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70416
--- Comment #9 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> ---
Hmm, unfortunately, passing -mlra for the whole build is apparently not a good
idea:
sprintf.c: In function 'rb_str_format':
sprintf.c:1217:1: error: unable to find a register to spill
}
^
sprintf.c:1217:1: error: this is the insn:
(insn 17497 17498 3766 469 (set (reg:QI 3766)
(reg:QI 3767)) /usr/include/sh4-linux-gnu/bits/string3.h:53 273
{*movqi}
(expr_list:REG_DEAD (reg:QI 3767)
(nil)))
sprintf.c:1217: confused by earlier errors, bailing out
Preprocessed source stored into /tmp/ccbUbdGW.out file, please attach this to
your bugreport.
Full build log in [1]. Preprocessed source ccbUbdGW.out is following shortly.
Adrian
> [1] https://people.debian.org/~glaubitz/ruby2.3_2.3.0-5_sh4-20160326-1814.build