Duncan Sands 2578c123f0 Fix the IntegersSubsetTest unit test when compiled with gcc-4.7. The issue here
is that the unit test doesn't have IntTy equal to APInt, instead it uses a class
derived from APInt.  When, as in these lines, an IntTy& reference is returned
but is assigned to an APInt&, the compiler destroys the temporary the IntTy& was
referring to, leaving the APInt& referring to garbage.  This causes the unittest
to fail systematically on my machine; it can also be caught by running the test
under valgrind.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167356 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-03 14:04:04 +00:00
..
2012-09-18 04:43:05 +00:00
2012-08-08 18:37:39 +00:00
2012-08-08 18:37:39 +00:00
2012-07-27 21:41:59 +00:00
2012-09-14 14:57:36 +00:00
2012-07-19 04:50:12 +00:00
2012-07-19 00:01:00 +00:00
2012-09-13 12:34:29 +00:00
2012-09-14 14:57:36 +00:00
2012-10-08 16:38:25 +00:00
2012-09-13 12:34:29 +00:00
2012-10-11 23:30:49 +00:00