This is the mail archive of the 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 libgomp/33333] New: libgomp omp-low.c:4251 generates internal compiler error

When compiling the simple file which is attached to this report, I get the
following message suggesting that I report it here: internal compiler error: in lower_regimplify, at

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

Build Date & Platform
Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
Linux #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

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