PR libstdc++/47913 (again)
authorMarc Glisse <marc.glisse@normalesup.org>
Wed, 4 May 2011 23:23:54 +0000 (23:23 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 4 May 2011 23:23:54 +0000 (23:23 +0000)
commit91e4938b8c0f979f84c2b66d1ff5370e83e00eb0
treefd6a5836bbfa70f6b6737c0c7a08cb7384cc2330
parent40fda55b4060ddc9f5d5bebe39cd409d63af9388
PR libstdc++/47913 (again)

2011-05-04  Marc Glisse  <marc.glisse@normalesup.org>

PR libstdc++/47913 (again)
* include/std/ratio (ratio_add, ratio_less): Rewrite.
* testsuite/20_util/ratio/operations/47913.cc: Extend.
* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
line numbers.
* testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.

From-SVN: r173400
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/ratio
libstdc++-v3/testsuite/20_util/ratio/cons/cons_overflow_neg.cc
libstdc++-v3/testsuite/20_util/ratio/operations/47913.cc
libstdc++-v3/testsuite/20_util/ratio/operations/ops_overflow_neg.cc