This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/6424] [DR 339] sizeof() with overload resolution
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2004 02:40:09 -0000
- Subject: [Bug c++/6424] [DR 339] sizeof() with overload resolution
- References: <20020423071601.6424.jens.maurer@gmx.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-08-09 02:40 -------
The point is that the ABI doesn't say how to mangle the number of the arguments
for the "cl" operator. In fact, it expects operators to have a fixed arity,
which is not true for "cl". Something like:
<expression> ::= <n-ary operator name> <number> <expression>*
would work, if we classify "cl" in such a class. This definitely does not break
any existing code because "cl" is totally broken at this point.
How does the ICC mangle this? I suppose something like this. I think we should
go ahead and fix this bug, instead of waiting for the C++ ABI. We have never
heard something back about this issue after all.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |giovannibajo at libero dot
| |it
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6424