https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94654
Fred J. Tydeman changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94654
--- Comment #2 from Fred J. Tydeman ---
If float is really promoted to double in this case, then why is the output
different? Seems to me that a float promoted to a double (case 2) should
produce
the same output as just a double (case a). Seems
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94654
--- Comment #1 from Andrew Pinski ---
Two things:
1) float is prompted to double for var args in c.
2) printf is part of libc and gcc does not provide it.