Jason Merrill <ja...@redhat.com> writes:

| I want to add a %S format to the C++ front end for printing a
| template/args pair during template argument deduction substitution.  I
| want to print this during print_instantiation_partial_context, which
| uses pp_verbatim.  But for some reason the format attribute on
| pp_verbatim doesn't allow C++ front end formats even though they work
| fine, so this patch adjusts the format attribute to use GCC_DIAG_STYLE
| if it has already been set.
| 
| Tested x86_64-pc-linux-gnu.  OK for trunk?

Yes, both patches look OK to me.  Thanks!

| 
| I've also attached the front end patch that I want this change to support.
| commit a4175256ff83ee2d3d8626a137d817f44cbafc5a
| Author: Jason Merrill <ja...@redhat.com>
| Date:   Tue Jun 7 15:57:56 2011 -0400

-- Gaby

Reply via email to