This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18436] [3.4/4.0 Regression] ICE in perform_or_defer_access_check (binfo is NULL)
- 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: 12 Nov 2004 11:58:57 -0000
- Subject: [Bug c++/18436] [3.4/4.0 Regression] ICE in perform_or_defer_access_check (binfo is NULL)
- References: <20041112001014.18436.sylvain.pion@sophia.inria.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-11-12 11:58 -------
The examples from comment #3 and comment #4 can both be reduced to
=====================================
void foo(int);
struct A
{
static void foo(A);
};
template<typename T> struct B : T
{
B() { foo(T()); }
};
B<A> b;
=====================================
I'm not sure whether this is valid or not - icc for example rejects the
code in strict mode.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC host triplet|i686-pc-linux-gnu |
Keywords| |monitored
Last reconfirmed|0000-00-00 00:00:00 |2004-11-12 11:58:49
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18436