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]

Your calls.c patch


Jan,

I get this error with today's CVS on Sunos4 after your most recent
calls.c patch.

 > "../../egcs-CVS20000404/gcc/calls.c", line 1221: operands of & have
 > 	incompatible types


Does this look right to you?


2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* calls.c (initialize_argument_information): Fix typo in last change.

--- ../egcs-CVS20000404/gcc/calls.c	Tue Apr  4 14:18:52 2000
+++ egcs-CVS20000404/gcc/calls.c	Tue Apr  4 17:53:18 2000
@@ -1218,7 +1218,7 @@ initialize_argument_information (num_act
       /* If this is a sibling call and the machine has register windows, the
 	 register window has to be unwinded before calling the routine, so
 	 arguments have to go into the incoming registers.  */
-      if (ecf_flags & ECF_SIBCALL)
+      if (*ecf_flags & ECF_SIBCALL)
 	args[i].reg = FUNCTION_INCOMING_ARG (*args_so_far, mode, type,
 					     argpos < n_named_args);
       else

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