This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11078] [ABI] ICE in write_type with typeof and templates
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2004 14:14:09 -0000
- Subject: [Bug c++/11078] [ABI] ICE in write_type with typeof and templates
- References: <20030603112812.11078.jtotland1@chello.no>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2004-08-09 14:14 -------
Subject: Re: [ABI] ICE in write_type with typeof and templates
"ian at wasabisystems dot com" <gcc-bugzilla@gcc.gnu.org> writes:
[...]
| possible. Rather than introduce another extension, I propose mangling that as
| 1cIYLPi0EEE -- that is, we express (int*) as a constant of type (int*) and value
| 0. I guess the drawback is that this means that c<typeof(int)> and c<typeof(0)>
| might have identical manglings. If that is not permissible, then we need
I object to that deviation. For the same reasons we don't "fold"
expressions, we should not be doing that transmutation.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11078