This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25952] New: -fopenmp causes ICE on valid code
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jan 2006 00:44:54 -0000
- Subject: [Bug c++/25952] New: -fopenmp causes ICE on valid code
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Example:
int toto() {
int a=0;
#pragma omp single
{
for (int i=0; i<10; ++i)
a += i;
}
return a;
}
int main() { return toto(); }
----
Even though we don't support openmp currently, this should not ICE.
--
Summary: -fopenmp causes ICE on valid code
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: openmp
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25952