This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8856: g++ accepts invalid conversion-function-id
- From: martin at v dot loewis dot de (Martin v. Löwis)
- To: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: 10 Dec 2002 07:29:03 +0100
- Subject: Re: c++/8856: g++ accepts invalid conversion-function-id
- References: <Pine.LNX.4.44.0212092153040.27797-100000@gandalf.ticam.utexas.edu>
Wolfgang Bangerth <bangerth@ticam.utexas.edu> writes:
> That's a funny concept: take some reverse engineering (demangling) that
> generates something bogus, and feed this nonsense back into the loop (the
> compiler). It's really surprising that it works here -- let's call it a
> two-way bug :-)
>
> One will rarely find this kind of synchronisation between two bugs, as if
> the authors of the demangler and the parser had conspired...
Exactly. It made me doubt my C++ knowledge, and I had to read the
standard again to see that I was right and both tools were wrong :-)
Regards,
Martin