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]

[rtlopt] var-tracking.c: fix hammer regressions


Hi,

this patch fixes regressions which appeared when I run testsuite for the
mainline patch.

Bootstrapped x86-64, regtested mainline patch x86-64 and i386.

Josef

2003-02-26  Josef Zlomek  <zlomekj at suse dot cz>

	* var-tracking.c (insert_function_parameters): Do not track
	complicated parameters.

Index: var-tracking.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/var-tracking.c,v
retrieving revision 1.1.4.25
diff -c -3 -p -r1.1.4.25 var-tracking.c
*** var-tracking.c	26 Feb 2003 12:49:51 -0000	1.1.4.25
--- var-tracking.c	26 Feb 2003 21:30:44 -0000
*************** insert_function_parameters ()
*** 1642,1647 ****
--- 1642,1653 ----
  	if (!get_decl_and_offset (decl_rtl, &decl, &offset))
  	  continue;
  
+       if (!decl)
+ 	continue;
+ 
+       if (GET_MODE (decl_rtl) == BLKmode || GET_MODE (incoming) == BLKmode)
+ 	continue;
+ 
        if (parm != decl)
  	abort ();
  


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