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

           Summary: ICE in gimplify_expr, at gimplify.c:7291 [4.6]
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: svfue...@gmail.com


gcc-4.6 --version 
gcc-4.6.real (Debian 4.6-20110216-1) 4.6.0 20110216 (experimental) [trunk
revision 170225]


gcc-4.6 test_ice.c -lm -o test_ice
test_ice.c: In function 'foo':
test_ice.c:8:4: internal compiler error: in gimplify_expr, at gimplify.c:7291


double pow(double, double);
typedef long long __m128i __attribute__ ((__vector_size__ (16),
__may_alias__));
typedef double __m128d __attribute__ ((__vector_size__ (16), __may_alias__));

__m128d foo(__m128d x)
{
    x *= (__m128d) {pow(1.0, 1.0), 0.0};

    return (__m128d) ((__m128i) x ^ (__m128i) {0, 0});
}

Reply via email to