https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64020
Bug ID: 64020 Summary: jit misses sin/cos optimizations Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: jit Assignee: dmalcolm at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org When running testsuite/jit.dg/test-functions.c under valgrind I noticed that tree-ssa-math-opts.c:execute_cse_sincos_1 was bailing out at this conditional: fndecl = mathfn_built_in (type, BUILT_IN_CEXPI); if (!fndecl) return false; (which is actually a memory leak; I'll submit a fix for that as part of PR jit/63854) TODO: Why does this fail, and is this leading to missed optimizations in the jitted code?