[Bug middle-end/90735] missing location in -Wreturn-local-addr on a function with two return statements

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90735 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Last

[Bug middle-end/90735] missing location in -Wreturn-local-addr on a function with two return statements

2019-06-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90735 --- Comment #2 from Martin Sebor --- The problem is in this function in gimple-low.c: /* Lower a GIMPLE_RETURN GSI. DATA is passed through the recursion. */ static void lower_gimple_return (gimple_stmt_iterator *gsi, struct

[Bug middle-end/90735] missing location in -Wreturn-local-addr on a function with two return statements

2019-06-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90735 --- Comment #1 from Martin Sebor --- The output of the -fdump-tree-all-lineno option shows the correct location information in the a.c.007t.omplower dump: ;; Function f (f, funcdef_no=0, decl_uid=1909, cgraph_uid=1, symbol_order=0) f (int i,