------- Comment #9 from dominiq at lps dot ens dot fr 2007-03-20 14:03 ------- > I agree it's surprising to get user-visible effects with the > TARGET_C99_FUNCTIONS difference between the frontends, > but they are (supposed to) providing C99 runtime completion > by their runtime libraries. And they rely on full C99 support.
Do you mean that g++ and gfortran set TARGET_C99_FUNCTIONS on their own? If yes, the cexpi optimization should probably another condition: what is the point to replace sin+cos by a call to a function calling sin+cos? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31249