https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90757
--- Comment #4 from Richard Biener ---
myScalarToCooked is of course similar broken. The following works fine for me:
#include
/** Inefficient convenience function for converting a single value to cooked */
double myScalarToCooked(int32_t raw
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90757
--- Comment #3 from Jens Georg ---
I mean even if the code in main is invalid, so what. If we replace that by
memcopy, the function argument is still not initialized when inlined.
IMHOt there's something fishy, but well. your decision
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90757
--- Comment #2 from Martin Hierholzer ---
Shouldn't all forms of this code then give an error message or at least a
warning (preferably not something misleading like "used uninitialized")? I my
opinion, it shouldn't matter whether the function is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90757
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---