On 06/10/2015 09:24 AM, David Malcolm wrote:
gcc/unittests/ChangeLog:
        * test-cfg.c: New file.
---
  gcc/unittests/test-cfg.c | 319 +++++++++++++++++++++++++++++++++++++++++++++++
  1 file changed, 319 insertions(+)
  create mode 100644 gcc/unittests/test-cfg.c
So this one would be a great place to check that the dominator code does something sensible if there's unreachable nodes in the CFG or the post-dominator code does something sensible with infinite loops, etc.

I don't necessarily expect you to do this, just pointing it out.

Just a nit, I noticed this included rtl.h, which seems a bit odd. Are those #includes relatively minimal or are they in need to cleanup?

Jeff

Reply via email to