On Fri, 2016-03-18 at 13:20 -0600, Jeff Law wrote: > On 03/18/2016 01:16 PM, Bernd Schmidt wrote: > > On 03/18/2016 08:14 PM, Jeff Law wrote: > > > I also added a blurb to the dump file when we create these > > > equivalences > > > and included a test to verify the code fires. I verified it > > > fired on > > > x86 and x86-64. It may or may not fire on other targets, so I > > > left the > > > test in the i386 specific subdirectory. > > > > This is the sort of thing I'd want to do with rtl unit tests.
Would you like an RTL frontend? (and something like a gcc/testsuite/rtl.dg/ ) > Yea. Along the same lines, my patch for the coalescing problem > introduces a new bitmap function that I'd like to cover with some > unit > tests. Presumably the -fself-test idea could help here? > I'm sure we're going to find oodles of these things as we > continue development and ponder how to better test things than > scanning > dump files.