This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12697] Redundant duplicate error message
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Oct 2003 01:06:34 -0000
- Subject: [Bug c++/12697] Redundant duplicate error message
- References: <20031020235903.12697.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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