PR debug/49567
* dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTEND>: Give up
for non-MODE_INT modes instead of asserting the mode has MODE_INT
class.
* gcc.target/i386/pr49567.c: New test.
From-SVN: r175622
+2011-06-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/49567
+ * dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTEND>: Give up
+ for non-MODE_INT modes instead of asserting the mode has MODE_INT
+ class.
+
2011-06-29 Georg-Johann Lay <avr@gjlay.de>
PR target/34734
case SIGN_EXTEND:
case ZERO_EXTEND:
- gcc_assert (GET_MODE_CLASS (mode) == MODE_INT);
+ if (GET_MODE_CLASS (mode) != MODE_INT)
+ break;
op0 = mem_loc_descriptor (XEXP (rtl, 0), GET_MODE (XEXP (rtl, 0)),
mem_mode, VAR_INIT_STATUS_INITIALIZED);
if (op0 == 0)
+2011-06-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/49567
+ * gcc.target/i386/pr49567.c: New test.
+
2011-06-28 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/opt17.ad[sb]: New test.
--- /dev/null
+/* PR debug/49567 */
+/* { dg-do compile } */
+/* { dg-options "-g -O2 -msse4" } */
+
+#include <x86intrin.h>
+
+__m128
+foo (__m128i x)
+{
+ __m128i y;
+ y = _mm_cvtepi16_epi32 (x);
+ return _mm_cvtepi32_ps (y);
+}