On Wed, 2011-05-25 at 21:24 -0400, Nathan Froyd wrote: > On Wed, May 25, 2011 at 03:22:07PM -0400, Nathan Froyd wrote: > > The patch just requires some shuffling of logic to catch issues now; > > below is a version that works for me on the trunk. > > > > This new checking does require modifying g++.dg/cpp0x/range-for5.C. > > > > Tested with g++ testsuite on x86_64-unknown-linux-gnu; tests in progress > > for libstdc++. OK to commit? > > Below is a slightly revised patch that actually adds all the necessary > dg-error directives to range-for5.C. Tested the same way; Peter Bergner > was kind enough to bootstrap and test the previous patch on > powerpc64-linux-gnu with (almost) clean results as well.
FYI, the revised patch passes bootstrap and regtesting (-m32 and -m64) with no regressions on powerpc64-linux. Peter