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]

Fix x86-64 glibc build failure


Hi,
mainline gcc loops forever building glibc when it creates (set (reg:SI)
(subreg:SI (label_ref:DI) 0)) that matches x86-64 lea pattern.  Since this
instruction (even when it is strange) is meaningfull I think we are correct to
do that and we should fix mark_jump_label to seach for label refs inside
subreg.

Honza

Thu Nov  7 07:25:04 PST 2002  Jan Hubicka  <jh@suse.cz>
	* jump.c (mark_jump_label): Handle subregs of label_refs.
Index: jump.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/jump.c,v
retrieving revision 1.210.6.1
diff -c -3 -p -r1.210.6.1 jump.c
*** jump.c	16 Oct 2002 16:07:22 -0000	1.210.6.1
--- jump.c	7 Nov 2002 22:28:22 -0000
*************** mark_jump_label (x, insn, in_mem)
*** 1388,1394 ****
      case PC:
      case CC0:
      case REG:
-     case SUBREG:
      case CONST_INT:
      case CONST_DOUBLE:
      case CLOBBER:
--- 1388,1393 ----


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