[Bug libstdc++/42622] [C++0x] Improve std::ratio_less to not overflow

marc.glisse at normalesup dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 28 08:18:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42622

--- Comment #1 from Marc Glisse <marc.glisse at normalesup dot org> 2011-02-28 07:49:42 UTC ---
Created attachment 23487
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23487
proposed fix

Not thoroughly tested, but it seems to pass comp1.cc and comp2.cc.



More information about the Gcc-bugs mailing list