This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Don't if-convert BLKmove move


This avoid ICEs in numerous cases on Alpha/VMS.

Tested on i686-pc-linux-gnu.

2003-04-14  Douglas B Rupp  <rupp at gnat dot com>

	* ifcvt.c (noce_process_if_block): Fail on BLKmode move.

*** gcc/ifcvt.c	23 Mar 2003 20:14:57 -0000	1.114
--- gcc/ifcvt.c	11 Apr 2003 21:17:46 -0000
*************** noce_process_if_block (ce_info)
*** 1830,1834 ****
  	  && REGNO (x) < FIRST_PSEUDO_REGISTER))
      {
!       if (no_new_pseudos)
  	return FALSE;
        x = gen_reg_rtx (GET_MODE (GET_CODE (x) == STRICT_LOW_PART
--- 1830,1834 ----
  	  && REGNO (x) < FIRST_PSEUDO_REGISTER))
      {
!       if (no_new_pseudos || GET_MODE (x) == BLKmode)
  	return FALSE;
        x = gen_reg_rtx (GET_MODE (GET_CODE (x) == STRICT_LOW_PART


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]