This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap failure on MIPS
- To: rth at twiddle dot net
- Subject: Re: Bootstrap failure on MIPS
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sat, 29 Jan 2000 15:24:09 -0800
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <20000129151800U.mitchell@codesourcery.com>
>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:
Mark> It's then getting stuck in an endless loop in
Mark> mark_regs_live_at_end which is why I think you might be able
Mark> to figure this out quicker than I. :-)
Maybe I'm not so slow after all. Here's what I think will be the fix;
I'm testing now.
I don't think stuffing DECL_RTL into a PUT_MODE is a good idea. :-)
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
2000-01-29 Mark Mitchell <mark@codesourcery.com>
* flow.c (mark_regs_live_at_end): Fix typo.
Index: flow.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/flow.c,v
retrieving revision 1.212
diff -c -p -r1.212 flow.c
*** flow.c 2000/01/29 01:41:22 1.212
--- flow.c 2000/01/29 23:21:11
*************** mark_regs_live_at_end (set)
*** 2883,2889 ****
outgoing = FUNCTION_VALUE (type, current_function_decl);
#endif
if (GET_MODE (outgoing) == BLKmode)
! PUT_MODE (outgoing, DECL_RTL (DECL_RESULT (current_function_decl)));
if (GET_CODE (outgoing) == REG)
mark_reg (set, outgoing);
--- 2883,2889 ----
outgoing = FUNCTION_VALUE (type, current_function_decl);
#endif
if (GET_MODE (outgoing) == BLKmode)
! PUT_MODE (outgoing, DECL_MODE (DECL_RESULT (current_function_decl)));
if (GET_CODE (outgoing) == REG)
mark_reg (set, outgoing);