r178272 - in /branches/pph/gcc/testsuite: Chang...
crowl@gcc.gnu.org
crowl@gcc.gnu.org
Tue Aug 30 02:47:00 GMT 2011
Author: crowl
Date: Tue Aug 30 02:47:48 2011
New Revision: 178272
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178272
Log:
This patch adds new tests for overload resolution. In contrast to
prior tests, we want these tests to have assembly differences because
PPH binds overloads at header compilation time, not based on accident
of include order. The test control files change as a consequence.
Changed the compiler command line slightly to make copy/paste searches
easier.
Corrected the keyno test to actually not have a key method. (There
were incomplete copy/paste/edit actions in the original change.)
However, the incorrect tests were failing for other reasons, and that
test has been preserved as a new test.
Test x7rtti.cc was unresolved because the run test was failing to
compile. Updated test x7rtti.cc to supress the dg-run, until the
compile problems are fixed.
Tests run on x64.
Index: gcc/testsuite/ChangeLog.pph
2011-08-29 Lawrence Crowl <crowl@google.com>
* lib/dg-pph.exp: Move -fno-dwarf2-cfi-asm to end of command line.
Add recognition of "pph asm xwant" when we desire assembly differences
between pph and non-pph.
* g++.dg/pph/x0keyno1.h: Correct test to not have a key method.
* g++.dg/pph/x0keyno2.h: Likewise.
* g++.dg/pph/x1keyno.cc: Likewise.
* g++.dg/pph/x4keyno.cc: Likewise.
* g++.dg/pph/x4keyex.cc: New. Add test to capture the broken behavior
in the original key4no.cc.
* g++.dg/pph/x7rtti.cc: Eliminate an unresolved test by turning off
dg-run until the compilation problems are fixed.
* g++.dg/pph/x0resolve1.h: New test for overload behavior.
* g++.dg/pph/x0resolve2.h: Likewise.
* g++.dg/pph/x1resolve1.cc: Likewise.
* g++.dg/pph/x1resolve2.cc: Likewise.
* g++.dg/pph/x4resolve1.cc: Likewise.
* g++.dg/pph/x4resolve2.cc: Likewise.
Added:
branches/pph/gcc/testsuite/g++.dg/pph/x0resolve1.h
branches/pph/gcc/testsuite/g++.dg/pph/x0resolve2.h
branches/pph/gcc/testsuite/g++.dg/pph/x1resolve1.cc
branches/pph/gcc/testsuite/g++.dg/pph/x1resolve2.cc
branches/pph/gcc/testsuite/g++.dg/pph/x4keyex.cc
branches/pph/gcc/testsuite/g++.dg/pph/x4resolve1.cc
branches/pph/gcc/testsuite/g++.dg/pph/x4resolve2.cc
Modified:
branches/pph/gcc/testsuite/ChangeLog.pph
branches/pph/gcc/testsuite/g++.dg/pph/x0keyno1.h
branches/pph/gcc/testsuite/g++.dg/pph/x0keyno2.h
branches/pph/gcc/testsuite/g++.dg/pph/x1keyno.cc
branches/pph/gcc/testsuite/g++.dg/pph/x4keyno.cc
branches/pph/gcc/testsuite/g++.dg/pph/x7rtti.cc
branches/pph/gcc/testsuite/lib/dg-pph.exp
More information about the Gcc-cvs
mailing list