https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83197
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=83656 Known to fail| |8.1.0 Resolution|--- |DUPLICATE --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC 9+ produces (via r9-4162): <source>: In function 'f': <source>:5:7: warning: too few arguments to built-in function 'sqrt' expecting 1 [-Wbuiltin-declaration-mismatch] 5 | a = sqrt (); | ^~~~ <source>:2:8: note: declared here 2 | double sqrt (); | ^~~~ <source>: In function 'f1': <source>:12:7: warning: too few arguments to built-in function 'sin' expecting 1 [-Wbuiltin-declaration-mismatch] 12 | a = sin (); | ^~~ <source>:9:8: note: declared here 9 | double sin (); | ^~~ The ICE is not there in 8.4+ too. Dup of bug 89520. *** This bug has been marked as a duplicate of bug 89520 ***