[Bug c++/26748] New: gimplify_expr_stmt in cp-gimplifer.c does warnings

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Mar 18 16:32:00 GMT 2006


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);


-- 
           Summary: gimplify_expr_stmt in cp-gimplifer.c does warnings
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
OtherBugsDependingO 24222
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26748



More information about the Gcc-bugs mailing list