* testsuite/odr_violation2.cc (Ordering::operator()): Make
authorIan Lance Taylor <ian@airs.com>
Sat, 9 Jul 2011 05:09:52 +0000 (05:09 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 9 Jul 2011 05:09:52 +0000 (05:09 +0000)
expression more complex.

gold/ChangeLog
gold/testsuite/odr_violation2.cc

index cc5908f8e93bc1412eae1893d6ee32fd00fbec71..c8e21255cbc7cc36a721ac9fc917db4fffd1cc4b 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-08  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/odr_violation2.cc (Ordering::operator()): Make
+       expression more complex.
+
 2011-07-08  Ian Lance Taylor  <iant@google.com>
 
        PR gold/11317
index a159182b524e8c2da98ad4847c1c4e359da09c69..e3d30f3949b0e204a885ffccacda779c32f115d4 100644 (file)
@@ -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) {
This page took 0.031657 seconds and 4 git commands to generate.