Some regressions from the dataflow merge

Danny Smith dannysmith@clear.net.nz
Wed Jun 13 09:25:00 GMT 2007



> > This is an easy fix.
> > 
> > Change the macro "DF_LIVE_OUT" in this function to the function call
> > "df_get_live_out".  It takes the same parameter and returns 
> the same thing.
> > 
> > I believe this will fix the problem.
> 
> 
>   Thanks for the advice Kenny.  CC'ing the Fortran list 
> because I don't have
> time to put into this right away:  Paul or FX, perhaps you'd 
> like to give that
> advice a try?
> 

The following patch restores gfortran testsuite to pre-dataflow-merge
state on mingw32.
I'm not sure  who to put in the Changelog. David analysed the problem
and made it easy, so I blamed him.

Danny


2007-06-13  Dave Korn  <dave dot korn at artimi dot com>

	* config/i386/i386.c (ix86_eax_live_at_start_p): Use
df_get_live_out.

Index: i386.c
===================================================================
--- i386.c	(revision 125656)
+++ i386.c	(working copy)
@@ -3015,7 +3015,7 @@
      to correct at this point.  This gives false positives for broken
      functions that might use uninitialized data that happens to be
      allocated in eax, but who cares?  */
-  return REGNO_REG_SET_P (DF_LIVE_OUT (ENTRY_BLOCK_PTR), 0);
+  return REGNO_REG_SET_P (df_get_live_out (ENTRY_BLOCK_PTR), 0);
 }
 
 /* Return true if TYPE has a variable argument list.  */
> 
>     cheers,
>       DaveK
> -- 
> Can't think of a witty .sigline today....
> 



More information about the Gcc-patches mailing list