This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Unsure about a new warning in mainline
On 14/01/07, Paolo Carlini <pcarlini@suse.de> wrote:
Manuel López-Ibáñez wrote:
>
> So now you are getting both warning messages?
Definitely I'm getting both:
warning.cc: In function 'int main()':
warning.cc:3: warning: integer overflow in expression
warning.cc:3: warning: overflow in implicit constant conversion
warning.cc:4: warning: integer overflow in expression
You are getting two overflow warnings for the same expression? That
should not happen (TM). The TREE_OVERFLOW bit should have been noticed
and prevent giving another warning. Roger, do you agree on this?
Paolo, would you mind opening a bug report for this? I will look at it
as soon as I can.
Thanks,
Manuel.