On 10/27/2015 01:49 PM, David Malcolm wrote:
gcc/testsuite/ChangeLog:
* unittests/test-functions.c: New file.
There's some if (0) code in here that needs to be eliminated.
The RTL case in particular is probably stretching the limits of what we
can do with the framework right now. Or more correctly what folks are
likely to write within this framework.
We may need to build up a library of bits that do common things so that
we're not repeating that stuff all over the place.
As far as RTL testing, as you note, once we hit RTL we're going to have
far more target dependencies to contend with. Testing will be nontrivial.
OK if/when prereqs are approved. Minor twiddling if we end up moving it
elsewhere or standardizing/reducing header files is pre-approved.
Jeff