Overview
=========
When compiling the simple file which is attached to this report, I get the
following message suggesting that I report it here:

compiler_error.cc:18: internal compiler error: in lower_regimplify, at
omp-low.c:4251

Steps to reproduce
====================
Compile the attached file compiler_error.cc:
g++-4.2.1 -c -Wall -fopenmp -save-temps -o compiler_error.o compiler_error.cc

Build Date & Platform
=====================
Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
Linux 2.6.19.2 #8 SMP Mon Jun 25 2007 x86_64 GNU/Linux
gcc was configured with: .../gcc-4.2.1/configure --prefix=.../gcc-4.2.1
--program-suffix=-4.2.1 --enable-threads --enable-languages=c++,fortran

The bug shows up both with the RedHat gcc version AND the "official" version.

The bug does not occur when I compile the source using the portland compiler,
for example.

Additional Information
======================
1. When I remove the try...catch statement, the problem is gone.
2. When I do not loop up to the class variable A::x but a constant (say, 1000),
the problem is gone.


-- 
           Summary: libgomp omp-low.c:4251 generates internal compiler error
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: steigers at phys dot ethz dot ch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33333

Reply via email to