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]

Re: partial fix for 18008


On Sat, Jan 29, 2005 at 04:34:25PM +0100, Andreas Schwab wrote:
> cpu.ii: In function âvoid CPU_SwitchTask()â:
> cpu.ii:18: internal compiler error: in trunc_int_for_mode, at explow.c:53

Doh.  Fixed.


r~


        * combine.c (make_field_assignment): Fix argument order
        to gen_int_mode.

Index: combine.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/combine.c,v
retrieving revision 1.472
diff -u -p -d -r1.472 combine.c
--- combine.c	26 Jan 2005 20:29:25 -0000	1.472
+++ combine.c	30 Jan 2005 00:25:43 -0000
@@ -7871,7 +7871,7 @@ make_field_assignment (rtx x)
 	{
 	  mode = GET_MODE (src);
 	  src = gen_rtx_AND (mode, XEXP (src, 0),
-			     gen_int_mode (mode, and_mask & ze_mask));
+			     gen_int_mode (and_mask & ze_mask, mode));
 	  return gen_rtx_SET (VOIDmode, dest, src);
 	}
     }


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