[Bug c++/12735] [3.3/3.4 regression] duplicate error messages for redeclaration errors

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Wed Oct 22 21:27: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=12735



------- Additional Comments From gdr at integrable-solutions dot net  2003-10-22 21:26 -------
Subject: Re:  [3.3/3.4 regression] duplicate error messages for redeclaration errors

"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| Confirmed. Interesting that we issue two _different_ error messages for
| the same error! (This implies that we get them from two different
| places, maybe in different phases of parsing.)

I'm almost certain that this is because we have too many name lookup
codes that all try to do many things -- there is even a code
documented as not issueing error, but does error :-)

-- Gaby



More information about the Gcc-bugs mailing list