------- Comment #9 from fxcoudert at gcc dot gnu dot org 2006-10-25 13:53 ------- (In reply to comment #8) > In the later case, expansion will fall-back to normal library call.
OK. So on system where the math library doesn't have remainderl, for example, we shouldn't use BUILT_IN_REMAINDERL or it will be missing at link-time? If that's the case, then we can't implement MOD/MODULO with these built-ins. > Fortunatelly, no. The result will be correct. You can see the effect of > -fno-math-errno at http://gcc.gnu.org/ml/gcc-patches/2006-10/msg01158.html. And now, a harder question: could we activate no-math-errno on a per-call basis? That is, have the front-end emit a call to BUILT_IN_FOO and specify that, for this call, errno doesn't have to be set? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24518