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

            Bug ID: 58884
           Summary: OPTIONAL warning when a temprary value is created and
                    not used.
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mtewoodbury at gmail dot com

Please add the capability to warn when the temporary value created by postfix 
operators '++' and '--' are not used.  This should be OPTIONAL and disabled by 
default.

This is only an issue when NO optimization AT ALL is used, but does use a
little 
time and storage during optimization that could be better used improving the 
working code instead of coddling lazy programmers.

Reply via email to