https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116127
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That is correct. lgamma in addition to returning the result sets the int signgam; variable, so it can't be a constant expression.