This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/33333] ICE with #pragma omp parallel for in try/catch statement
- 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: 27 Dec 2007 19:09:41 -0000
- Subject: [Bug middle-end/33333] ICE with #pragma omp parallel for in try/catch statement
- References: <bug-33333-14057@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from reichelt at gcc dot gnu dot org 2007-12-27 19:09 -------
Confirmed. Shorter testcase (just compile with "-fopenmp"):
==================================
struct A
{
int n;
void foo();
};
void A::foo()
{
try
{
#pragma omp parallel for
for (int i = 0; i < n; ++i)
;
} catch(...) {}
}
==================================
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code,
| |monitored, openmp
Known to fail| |4.2.0 4.2.2 4.3.0
Last reconfirmed|0000-00-00 00:00:00 |2007-12-27 19:09:41
date| |
Summary|libgomp omp-low.c:4251 |ICE with #pragma omp
|generates internal compiler |parallel for in try/catch
|error |statement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33333