+2016-01-21 Stefan Sørensen <stefan.sorensen@spectralink.com>
+ Jakub Jelinek <jakub@redhat.com>
+
+ PR target/69187
+ PR target/65624
+ * config/arm/arm-builtins.c (arm_expand_neon_builtin): Increase
+ args array size by one to avoid buffer overflow.
+
2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
* config/s390/s390.md (pool_section_start): Use switch_to_section
neon_builtin_datum *d =
&neon_builtin_data[fcode - ARM_BUILTIN_NEON_PATTERN_START];
enum insn_code icode = d->code;
- builtin_arg args[SIMD_MAX_BUILTIN_ARGS];
+ builtin_arg args[SIMD_MAX_BUILTIN_ARGS + 1];
int num_args = insn_data[d->code].n_operands;
int is_void = 0;
int k;
2016-01-21 Jakub Jelinek <jakub@redhat.com>
+ PR target/69187
+ PR target/65624
+ * gcc.target/arm/pr69187.c: New test.
+
PR c++/69355
* g++.dg/torture/pr69355.C: New test.
--- /dev/null
+/* PR target/69187 */
+/* { dg-do compile } */
+/* { dg-require-effective-target arm_neon } */
+/* { dg-options "-O0" } */
+/* { dg-add-options arm_neon } */
+
+#include <arm_neon.h>
+
+int32x4_t
+foo (void)
+{
+ int32x4_t vector_int32x4;
+ int16x4_t vector3_int16x4;
+ int16x4_t vector4_int16x4;
+ static int32_t buffer_int32x4[32];
+
+ vector_int32x4 = vld1q_s32(buffer_int32x4);
+ return vqdmlsl_lane_s16(vector_int32x4, vector3_int16x4, vector4_int16x4, 0);
+}