This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/43545] New: OpenMP ICE (segfault) in conditional break
- From: "sjackman at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2010 19:06:04 -0000
- Subject: [Bug c++/43545] New: OpenMP ICE (segfault) in conditional break
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following test case causes g++ 4.4.0 to crash.
$ g++ --version
g++ (GCC) 4.4.0 20090514 (Red Hat 4.4.0-6)
#include <vector>
int main()
{
std::vector<int> m;
std::vector<int>::const_iterator it = m.begin();
#pragma omp parallel
for (;;) {
if (it == m.end())
break;
}
return 0;
}
--
Summary: OpenMP ICE (segfault) in conditional break
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sjackman at gmail dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43545