[Bug tree-optimization/114363] inconsistent optimization of pow(x,2)+pow(y,2)

vincenzo.innocente at cern dot ch gcc-bugzilla@gcc.gnu.org
Sat Mar 16 15:06:18 GMT 2024


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114363

--- Comment #4 from vincenzo Innocente <vincenzo.innocente at cern dot ch> ---
Thanks Harald, I missed the point that float z = pow(double(x),2) and
float z = x*x would indeed produce exactly the same result, while in all other
cases of course not.


More information about the Gcc-bugs mailing list