This is the mail archive of the gcc@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: how to avoid duplicate warnings


Silvius Rus <rus@google.com> writes:

> I want to avoid duplicate warnings.  I thought of a few ways, but none
> seems perfect.  Can you please advise which of the following I should
> choose, suggest alternatives, or let me know if a solution exists.

It may work to set and check TREE_NO_WARNING on the offending
CONVERT_EXPR/NOP_EXPR.

Ian


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