This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: how to avoid duplicate warnings
- From: Ian Lance Taylor <iant at google dot com>
- To: Silvius Rus <rus at google dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 06 Feb 2007 15:13:56 -0800
- Subject: Re: how to avoid duplicate warnings
- References: <45C8F8E8.4040308@google.com>
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