This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: PR target/36121: config/i386/i386.c: array index out of range
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 4 May 2008 08:19:19 -0700
- Subject: 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 ();
}