http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46251
Summary: ICE: in expand_expr_real_2, at expr.c:7276 with
-funsafe-math-optimizations -mbionic and
__builtin_sincosl()
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: [email protected]
ReportedBy: [email protected]
----- testcase.c -----
void foo (long double *x)
{
__builtin_sincosl (*x, x, x);
}
----------------------
Compiler output:
$ gcc -funsafe-math-optimizations -mbionic testcase.c
testcase.c: In function 'foo':
testcase.c:4:21: internal compiler error: in expand_expr_real_2, at expr.c:7276
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r166105 - crash
r165699 - crash
r163636 - OK
r161659 - OK
4.5 r165781 - doesn't know -mbionic