This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Fix problem with constant modulus
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Tue, 20 Apr 2004 16:34:14 -0400
- Subject: Re: Fix problem with constant modulus
- References: <10404191204.AA04263@vlsi1.ultra.nyu.edu>
Your patch causes a bootstrap failure on AIX when GCC is invokved
with -mcpu=power option to produce POWER architecture output. The failure
occurs when compiling locale-inst.cc:
/gcc/dje/build/powerpc-ibm-aix5.1.0.0-20040420/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3/include/bits/locale_facets.tcc: In function `int
std::__int_to_char(_CharT*, _ValueT, const_CharT*, std::_Ios_Fmtflags, bool) [with _CharT = char, _ValueT = long unsigned int]':
/gcc/dje/build/powerpc-ibm-aix5.1.0.0-20040420/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3/include/bits/locale_facets.tcc:59: error: could not split insn
(insn:TI 398 435 84 (set (reg:SI 12 12 [154])
(const_int 3435973837 [0xcccccccd])) 300 {*movsi_internal1} (nil)
(expr_list:REG_EQUIV (const_int 3435973837 [0xcccccccd])
(nil)))
/gcc/dje/build/powerpc-ibm-aix5.1.0.0-20040420/powerpc-ibm-aix5.1.0.0/power/libstdc++-v3/include/bits/locale_facets.tcc:59: internal compiler error: in
final_scan_insn, at final.c:2507
Please fix or revert your change.
Thanks, David