Re: [PATCH 13/16] cse.c selftests

2016-10-05 Thread Bernd Edlinger
David, I think this could be added to the pr71779 test case: test_pr71779 () { /* Only run this tests for target==aarch64. */ #ifndef GCC_AARCH64_H +#ifndef I386_OPTS_H return; +#endif #endif rtl_dump_test t (SELFTEST_LOCATION, locate_file ("pr71779.rtl")); dataflow_te

[PATCH 13/16] cse.c selftests

2016-10-05 Thread David Malcolm
Changed in v2: * move test dumps into external files * update for addition of selftest::location to rtl_dump_test Blurb from v1: This patch uses rtl_dump_test to start building out a test suite for cse. I attempted to create a reproducer for PR 71779; however I'm not yet able to replicate the bo