This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17826] [3.4/4.0 Regression] ICE in cp_tree_equal
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Oct 2004 01:25:25 -0000
- Subject: [Bug c++/17826] [3.4/4.0 Regression] ICE in cp_tree_equal
- References: <20041004072131.17826.jakub@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-07 01:25 -------
Here's something shorter:
=====================================================
struct A
{
template<typename> static int foo();
};
template<int> struct B {};
template<typename T> void bar()
{
B<sizeof A::foo<T>()> b1;
B<sizeof A::foo<T>()> b2;
}
=====================================================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
GCC target triplet|x86_64-redhat-linux |
Keywords| |monitored
Known to work|3.2.2 2.95.3 |3.2.2 2.95.3 3.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17826