[Bug target/88630] Incorrect float negating together with convertion to int on ST-40
zavadovsky.yan at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Oct 8 18:09:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88630
--- Comment #13 from Zavadovsky Yan <zavadovsky.yan at gmail dot com> ---
(In reply to Oleg Endo from comment #12)
>
> Please try it out. Let me know what you find
GCC 8.2 + "trial patch" : assert passed
GCC 8.2 + "patch from comment 12" : assert failed
GCC 8.2 + "patch from comment 12" + -m4-300 option : assert passed
GCC 7.4 + "patch from comment 12" : assert failed
GCC 7.4 + "patch from comment 12" + -m4-300 option : assert passed
Also I built and run our whole firmware(about 100mb of cpp code) using "GCC 7.4
+ patch from comment 12 + -m4-300 option".
And got no visible issues.
Initially it was UI rendering bugs(because of FPU calculations) on statements
like:
intVar1 = boolVar ? (intVar2 - intVar3) : -floatVar;
More information about the Gcc-bugs
mailing list