peterdocter / android-gcc-objc2-0

Automatically exported from code.google.com/p/android-gcc-objc2-0
1 stars 1 forks source link

gimplify_expr error #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In code such as:

CFIndex CFSetGetCount(CFHashRef hc) {
    if (CFDictionary) CF_OBJC_FUNCDISPATCH0(__kCFSetTypeID, CFIndex, hc, "count");
    if (CFSet) CF_OBJC_FUNCDISPATCH0(__kCFSetTypeID, CFIndex, hc, "count");
    __CFGenericValidateType(hc, __kCFSetTypeID);
    return CFBasicHashGetCount((CFBasicHashRef)hc);
}

The compiler crashes with the error:
internal compiler error: in gimplify_expr, at gimplify.c:6054
If CF_OBJC_FUNCDISPATCH0 is not defined.

The compiler should produce a warning that the function CF_OBJC_FUNCDISPATCH0 
is not found.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by phausler@gmail.com on 7 Apr 2010 at 4:30