Re: [PATCH] gcc: Fix gdbhooks.py VecPrinter for vec<> as well as vec<>* [PR109006]

2023-03-03 Thread Jakub Jelinek via Gcc-patches
On Fri, Mar 03, 2023 at 06:07:48PM +, Jonathan Wakely via Gcc-patches wrote: > This fixes Jakub's second testcase. The printer needs to do slightly > different things depending on whether the gdbval obejct is a vec or a > pointer to a vec. > > OK for trunk? > > -- >8 -- > > gcc/ChangeLog: >

[PATCH] gcc: Fix gdbhooks.py VecPrinter for vec<> as well as vec<>* [PR109006]

2023-03-03 Thread Jonathan Wakely via Gcc-patches
This fixes Jakub's second testcase. The printer needs to do slightly different things depending on whether the gdbval obejct is a vec or a pointer to a vec. OK for trunk? -- >8 -- gcc/ChangeLog: PR middle-end/109006 * gdbhooks.py (VecPrinter): Handle vec as well as vec*. --- gc