[Bug libstdc++/110615] std::abs converts integers to floats and back

2023-07-10 Thread julien.jorge--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110615 --- Comment #3 from Julien Jorge --- > This is the expected behaviour for those old releases (which are no longer > supported or maintained, and so there's no point reporting bugs in them). Well, it was more an attempt to raise awareness on a

[Bug libstdc++/110615] std::abs converts integers to floats and back

2023-07-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110615 --- Comment #2 from Jonathan Wakely --- (In reply to Julien Jorge from comment #0) > The int <-> float conversions > do not happen with current HEAD but I believe it is due to a side effect of > cmath transitively including stdlib.h. No, it's

[Bug libstdc++/110615] std::abs converts integers to floats and back

2023-07-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110615 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID