This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix c++/16036


On Fri, 18 Jun 2004, Richard Henderson wrote:
>         * gimple-low.c (lower_function_body): Generate return statement for
>         fall off the end of the function here ...
>         * tree-cfg.c (make_edges): ... instead of here.
>         * gimplify.c (gimplify_return_expr): Mark return temp TREE_NO_WARNING.

Thanks!  This also solves a problem that I had noticed.

Would you mind also adding a testcase (PR c++/16036 has one), to avoid
regressions?

Gerald
-- 
Gerald Pfeifer (Jerry)   gerald@pfeifer.com   http://www.pfeifer.com/gerald/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]