This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26690] New: ICE in get_callee_fndecl, at tree.c:5806 with OpenMP
- 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: 15 Mar 2006 09:50:42 -0000
- Subject: [Bug c++/26690] New: ICE in get_callee_fndecl, at tree.c:5806 with OpenMP
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following invalid OpenMP-C++ code snippet crashes the compiler
when compiled with -fopenmp:
=======================================
struct A
{
A(int);
};
void foo()
{
A a(0);
#pragma omp parallel private (a)
;
}
=======================================
bug.cc: In function 'void foo()':
bug.cc:9: error: no matching function for call to 'A::A()'
bug.cc:3: note: candidates are: A::A(int)
bug.cc:2: note: A::A(const A&)
bug.cc:9: internal compiler error: in get_callee_fndecl, at tree.c:5806
Please submit a full bug report, [etc.]
--
Summary: ICE in get_callee_fndecl, at tree.c:5806 with OpenMP
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored, openmp
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26690