https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97116
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97116
--- Comment #4 from CVS Commits ---
The master branch has been updated by David Malcolm :
https://gcc.gnu.org/g:2f7c50b7091c09d665aaf27173aacf34c9904e4c
commit r11-3701-g2f7c50b7091c09d665aaf27173aacf34c9904e4c
Author: David Malcolm
Date: Tu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97116
--- Comment #3 from David Malcolm ---
is_method seems to be set by:
if (TREE_CODE (TREE_TYPE (fn)) == METHOD_TYPE)
so perhaps we can simply reimplement this logic
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97116
--- Comment #2 from David Malcolm ---
(using "i - is_method" as the value)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97116
--- Comment #1 from David Malcolm ---
The C++ FE has %P for printing parm indices, with index < 0 printed as "this";
implemented in cp/error.c: parm_to_string as called from cp_printer.