2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Mar 2011 14:57:57 +0000 (14:57 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Mar 2011 14:57:57 +0000 (14:57 +0000)
commit62fb9a592c0ce98fcd55ce0e687980c10373889b
treea31aaed4cbda3c591759e1f60f825767aebffa4d
parent46313bebd121a41af678ad5d7f15cdb9b9986e14
2011-03-02  Marc Glisse  <marc.glisse@normalesup.org>

PR libstdc++/47913
* include/std/ratio (ratio_add): Avoid denominator overflow.
* testsuite/20_util/ratio/operations/47913.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170616 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/ratio
libstdc++-v3/testsuite/20_util/ratio/operations/47913.cc [new file with mode: 0644]