Bug ID: 84510
           Summary: C front-end does not utilise -Wuseless-cast
           Product: gcc
           Version: 5.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot
          Reporter: bje at gcc dot
  Target Milestone: ---

The -Wuseless-cast option only applies to C++ and Objective C. It would also be
useful in the C front-end, particularly for finding 'do nothing' casts and
casts of literals, which the compiler can do itself by inferring the type of
the literal.

Reply via email to