[PATCH] Add "__RTL" to cc1 (v2)

David Malcolm dmalcolm@redhat.com
Fri Oct 14 19:35:00 GMT 2016

On Fri, 2016-10-14 at 21:27 +0200, Bernd Schmidt wrote:
> On 10/14/2016 09:25 PM, David Malcolm wrote:
> > 
> > The behavior probably should be that it runs the remainder of the
> > RTL
> > passes from some specified point, and generates valid assembler (so
> > that we can have dg-do DejaGnu tests).
> Actually I had imagined that tests would specify before and after RTL
> so 
> that we verify that the pass we're testing does what it's supposed to
> do.

Note that this approach would allow for:

  { dg-final { scan-rtl-dump "SOMETHING" "PASS OF INTEREST" } } */

directives in the .c file, so it would support specifying the "after
RTL" to some extent.

More information about the Gcc-patches mailing list