http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49567

           Summary: [4.7 Regression] ICE in mem_loc_descriptor due to
                    typed DWARF stack changes
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: ja...@gcc.gnu.org
        ReportedBy: ja...@gcc.gnu.org


/* { 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);
}

ICEs in mem_loc_descriptor, as we are asserting SIGN_EXTEND/ZERO_EXTEND will
have integral mode, while it has vector mode here.

Reply via email to