[Bug c++/26748] gimplify_expr_stmt in cp-gimplifer.c does warnings
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 20 12:25:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26748
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #4)
> (In reply to Andrew Pinski from comment #0)
> > I don't have a testcase but gimplify_expr_stmt produces warnings:
> > warning (OPT_Wextra, "statement with no effect");
> > ...
> > else if (warn_unused_value)
> > warn_if_unused_value (stmt, input_location);
>
> WAITING on a testcase
Closing since there's been no response with a testcase so I can't reproduce the
bug.
More information about the Gcc-bugs
mailing list