https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90219
Timm Bäder changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90219
--- Comment #2 from Timm Bäder ---
(In reply to Jonathan Wakely from comment #1)
> Well if you took the address you wouldn't need to cast it to (float*)
Sure, this was just a dumbed-down version of the original code.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90219
--- Comment #1 from Jonathan Wakely ---
(In reply to Timm Bäder from comment #0)
> Using gcc 8.3.1 and the following sample code:
>
> static int use_float(float *f) {
> return (int)*f;
> }
>
> // Type your code here, or load an example.
> i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90219
Jonathan Wakely changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCONFIR