This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/33333] ICE with #pragma omp parallel for in try/catch statement



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]