[Bug c++/17846] New: Segfault in perform_or_defer_access_check
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Oct 5 16:50:00 GMT 2004
extern "C" long foo (int);
struct A
{
int i;
};
struct B
{
static void foo (A &);
B (int x) : c (x) { foo (d); }
int c;
A d;
};
ICEs at -O2 on e.g. i386-redhat-linux and x86_64-redhat-linux.
This is a recent regression, apparently caused by PR c++/17585 patch.
When build_over_call calls
4418 perform_or_defer_access_check (cand->access_path, fn);
cand->access_path is NULL.
--
Summary: Segfault in perform_or_defer_access_check
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,mark at codesourcery dot
com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17846
More information about the Gcc-bugs
mailing list