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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
In handle_pragma_diagnostic
(gdb) p input_location
$1 = 324032
(gdb) p expand_location (input_location)
$2 = {file = 0x7fffffffe472 "pr69558.c", line = 17, column = 1, data = 0x0,
sysp = false}
(gdb) p loc
$3 = 324224
(gdb) p expand_location (loc)
$4 = {file = 0x7fffffffe472 "pr69558.c", line = 17, column = 7, data = 0x0,
sysp = false}
and the warning:
Breakpoint 6, warning (opt=213, gmsgid=0x1951058 "%qD is deprecated") at
../../gcc/diagnostic.c:972
972       rich_location richloc (line_table, input_location);
(gdb) p input_location
$5 = 324032
(gdb) p expand_location (input_location)
$6 = {file = 0x7fffffffe472 "pr69558.c", line = 17, column = 1, data = 0x0,
sysp = false}

Reply via email to