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]

PATCH: PR target/36121: config/i386/i386.c: array index out of range


Hi,

I am checking it in as an obvious fix. Tested on Linix/Intel64.
Sorry for that.


H.J.
---
2008-05-04  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/36121
	* config/i386/i386.c (ix86_expand_special_args_builtin): Remove
	3 argument handling.

--- config/i386/i386.c.foo	2008-05-03 08:12:35.000000000 -0700
+++ config/i386/i386.c	2008-05-04 08:12:34.000000000 -0700
@@ -20909,10 +20909,6 @@ ix86_expand_special_args_builtin (const 
     case 2:
       pat = GEN_FCN (icode) (target, args[0].op, args[1].op);
       break;
-    case 3:
-      pat = GEN_FCN (icode) (target, args[0].op, args[1].op,
-			     args[2].op);
-      break;
     default:
       gcc_unreachable ();
     }


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