[Bug c++/12697] Redundant duplicate error message

igodard at pacbell dot net gcc-bugzilla@gcc.gnu.org
Tue Oct 21 01:17:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From igodard at pacbell dot net  2003-10-21 01:06 -------
The reduced test case shows two messages which are not actually the same: one cites (int, int) vs. (signed char, signed char), the other cites (int, int) vs. (unsigned char, unsigned char). Arguably these are both usefull because one of the args is signed char and one is unsigned char (well, maybe not very useful :-). 

However. the original report show *three* messages, two of which are *identical*. May I suggest that you revert to the original test, or find a new reduction showing actual duplicate messages. BTW, I think the third (duplicate) message requires that the unused (short, short) overload be present; it seems to go away if that overload is removed, as in the reduced case from bangaerth.

Ivan



More information about the Gcc-bugs mailing list