https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106529
--- Comment #5 from Thomas Klausner ---
For context, I stumbled over this because meson misdetects sincos on NetBSD.
https://github.com/mesonbuild/meson/issues/10641
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106529
--- Comment #4 from Thomas Klausner ---
Well, I can one-up that one:
int sincos();
int main() {
return sincos();
}
gives:
sincos.c:1:5: warning: conflicting types for built-in function ‘sincos’;
expected ‘void(double, double *, double *)’ [-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106529
--- Comment #2 from Thomas Klausner ---
Created attachment 53413
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53413&action=edit
.s file from save-temps
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106529
--- Comment #1 from Thomas Klausner ---
Created attachment 53412
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53412&action=edit
.i file from save-temps
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106529
Bug ID: 106529
Summary: existence of sincos is assumed
Product: gcc
Version: 12.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Ass