https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92974

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
We have a good location when processing the template:

(gdb) p loc
$4 = (const op_location_t &) @0x7fffffffc3d0: {m_operator_loc = 0,
m_combined_loc = 2147483648}
(gdb) p loc.m_combined_loc 
$5 = 2147483648
(gdb) pel
{file = 0x7fffffffd8f2 "92974.C", line = 5, column = 32, data = 0x0, sysp =
false}

but not when instantiating it:

(gdb) p loc
$7 = (const op_location_t &) @0x7fffffffbc40: {m_operator_loc = 0,
m_combined_loc = 0}

Reply via email to