Re: [PATCH] c++: dump-lang-raw with obj_type_ref fields

2025-01-14 Thread anetczuk
Thanks for review. New version in attachment. On 2025-01-14 19:03, Marek Polacek wrote: On Mon, Jan 13, 2025 at 11:03:54PM +0100, anetczuk wrote: Raw dump of lang tree was missing information about virtual method call. Please resend the patch as an attachment, it's not applicable

[PATCH] c++: dump-lang-raw with obj_type_ref fields

2025-01-13 Thread anetczuk
Raw dump of lang tree was missing information about virtual method call. The information is provided in "tok" field of obj_type_ref. gcc/ChangeLog: * tree-dump.cc (dequeue_and_dump): Handle OBJ_TYPE_REF. gcc/testsuite/ChangeLog: * g++.dg/lang-dump-1.C: New test. --- gcc/testsuite/g++.dg/lan