https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104389
Xi Ruoyao changed:
What|Removed |Added
CC||xry111 at mengyan1223 dot wang
--- Comment #9 from Xi Ruoyao ---
I think I need to paste my reply in gcc-patches here as a notice:
> Sorry for the trouble, but some warning here: even with this patch
> applied, Python would still need to replace inf * 0.0 with nan("") or
> something. Now with folding for inf * 0.0 disabled, the multiplication
> will be evaluated at runtime and raise FE_INVALID, which is likely
> unwanted by Python. However, raising FE_INVALID is the correct behavior
> no matter if we like or dislike it...