[Bug c++/11738] ICE "could not split insn" building libstdc++-v3

nickc at redhat dot com gcc-bugzilla@gcc.gnu.org
Fri Aug 8 08:27:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From nickc at redhat dot com  2003-08-08 08:27 -------
Subject: Re:  ICE "could not split insn" building
 libstdc++-v3

Hi Guys,

The attached patch is a workaround for the problem.  It disables the
split that is causing the problems when the compiler is generating
code for the iWMMXt.

At the moment I have no idea why the split is not working properly, or
why the problem should appear to be iWMMXt specific.  I am still
looking into this.

Cheers
        Nick

Index: gcc/config/arm/arm.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/arm.md,v
retrieving revision 1.140
diff -c -3 -p -r1.140 arm.md
*** gcc/config/arm/arm.md	12 Jul 2003 23:02:22 -0000	1.140
--- gcc/config/arm/arm.md	8 Aug 2003 08:10:56 -0000
***************
*** 7043,7049 ****
  			  (match_operand:SI 3 "arm_add_operand" "rIL,rIL"))
  			 (match_operand:SI 1 "arm_rhs_operand" "0,?rI")))
     (clobber (reg:CC CC_REGNUM))]
!   "TARGET_ARM"
    "#"
    [(set_attr "conds" "clob")
     (set_attr "length" "8,12")]
--- 7043,7049 ----
  			  (match_operand:SI 3 "arm_add_operand" "rIL,rIL"))
  			 (match_operand:SI 1 "arm_rhs_operand" "0,?rI")))
     (clobber (reg:CC CC_REGNUM))]
!   "TARGET_ARM && !TARGET_IWMMXT"
    "#"
    [(set_attr "conds" "clob")
     (set_attr "length" "8,12")]



More information about the Gcc-bugs mailing list