* testsuite/odr_violation2.cc (Ordering::operator()): Make
expression more complex.
This commit is contained in:
parent
191f1a2dcc
commit
9c16daf1fc
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user