call.c
166 KB
-
re PR c++/4872 (missed warning (no return) -- regression from 2.95) · efe49da0
PR c++/4872 * decl.c (finish_function): Warn about a non-void function with no return statement and no abnormal exit. * cp-tree.h (struct cp_language_function): Add returns_abnormally. (current_function_returns_abnormally): New macro. * call.c (build_call): Set it. From-SVN: r49407
Jason Merrill committed