This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/6424] [DR 339] sizeof() with overload resolution


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]