https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119739
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tomasz Kaminski <[email protected]>: https://gcc.gnu.org/g:da540dc6d7634a708768008d23b3cee9110a7121 commit r17-496-gda540dc6d7634a708768008d23b3cee9110a7121 Author: Tomasz KamiÅski <[email protected]> Date: Wed May 13 14:51:02 2026 +0200 libstdc++: Test for unsupported engine range for 128bits floating points [PR119739] This patch add test illustrating, that after implementing P0952 "A new specification for std::generate_canonical", generators, that emit range of non-power-of-two size, that span over B bits, are not supported in combination with 128bits integer are not support for B in ranges: [22, 23), [26, 29), [33, 38), [43, 57). This is because, the lowest multiply of B that is larger of equal than 113 (size of mantisa of float128) is greater than 128, and thus they will require 256 bits integers support. This does not impact any generate defined in standard (see gencanon_eng.cc tests), nor generate emitting power of 2 sized ranges. PR libstdc++/119739 libstdc++-v3/ChangeLog: * testsuite/26_numerics/random/uniform_real_distribution/operators/gencanon_eng_neg.cc: New test. Reviewed-by: Nathan Myers <[email protected]> Signed-off-by: Tomasz KamiÅski <[email protected]>
