[Bug c++/56694] New: Internal compiler error when compiling OpenMP code

jurgen.knodlseder at irap dot omp.eu gcc-bugzilla@gcc.gnu.org
Sat Mar 23 09:01:00 GMT 2013


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

             Bug #: 56694
           Summary: Internal compiler error when compiling OpenMP code
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jurgen.knodlseder@irap.omp.eu


While compiling my GammaLib suite with the new gcc 4.8.0 an internal compiler
error occurred in a routine that uses OpenMP for multi-threading. The following
message occurs:

GObservations_optimizer.cpp: In member function 'virtual void
GObservations::optimizer::eval(const GOptimizerPars&)':
GObservations_optimizer.cpp:431:1: internal compiler error: in change_scope, at
final.c:1575
 }
 ^
0x8340bb8 change_scope
    ../../gcc-4.8.0/gcc/final.c:1575
0x8344526 reemit_insn_block_notes
    ../../gcc-4.8.0/gcc/final.c:1650
0x8344526 final_start_function(rtx_def*, _IO_FILE*, int)
    ../../gcc-4.8.0/gcc/final.c:1743
0x8345b9a rest_of_handle_final
    ../../gcc-4.8.0/gcc/final.c:4341
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../src
-I../../src/support -I/home/jenkins/cfitsio/cfitsio3310/include
-I/home/jenkins/readline/readline62/include
-I/home/jenkins/python/python273/include/python2.7 -g -O2 -fopenmp -c
GObservation.cpp -o GObservation.o >/dev/null 2>&1
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

I created a branch on GitHub to download the relevant code:
https://github.com/gammalib/gammalib/tree/gcc480-compile-error



More information about the Gcc-bugs mailing list