From: Ian Lance Taylor Date: Sat, 9 Jul 2011 05:09:52 +0000 (+0000) Subject: * testsuite/odr_violation2.cc (Ordering::operator()): Make X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c16daf1fcf87c2d75dea6775586135685237b4d;p=binutils-gdb.git * testsuite/odr_violation2.cc (Ordering::operator()): Make expression more complex. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index cc5908f8e93..c8e21255cbc 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2011-07-08 Ian Lance Taylor + + * testsuite/odr_violation2.cc (Ordering::operator()): Make + expression more complex. + 2011-07-08 Ian Lance Taylor PR gold/11317 diff --git a/gold/testsuite/odr_violation2.cc b/gold/testsuite/odr_violation2.cc index a159182b524..e3d30f3949b 100644 --- a/gold/testsuite/odr_violation2.cc +++ b/gold/testsuite/odr_violation2.cc @@ -12,7 +12,7 @@ class Ordering { bool Ordering::operator()(int a, int b) { // Optimization makes this operator() a different size than the one // in odr_violation1.cc. - return a + 1 > b + 1; + return a + 12345 > b / 67; } void SortDescending(int array[], int size) {