It's happens becuse of in gcc 4.7 we have special check (check for TARGET_C99_FUNCTIONS
)
in builins.def
file, where is defined all builtin function.
And in another file we have:
define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
These check checks library, and if there no glibc
then we don't have cbrt
function.
So we cant transform pow
to cbrt
and it's the root cause.