[Bug c++/35099] New: [OpenMP] ICE in remove_unreachable_regions with -O -fopenmp

t-gcc-bugzilla at snowelm dot com gcc-bugzilla@gcc.gnu.org
Wed Feb 6 08:02:00 GMT 2008


g++ on the trunk (revision 132140) produces ICE when compiling the attached
test1.ii.  I tried to reduce the code but I couldn't.

$ g++-4.3 -E test.cpp -o test1.ii
$ g++-4.3 -O -fopenmp test1.ii
hoge.cpp: In function 'void
_Z15test_learnervecP15EnvironmentBaseRSt6vectorIP11LearnerBaseSaIS3_EEiSs.omp_fn.0(void*)':
hoge.cpp:85: internal compiler error: in remove_unreachable_regions, at
except.c:693
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
mak@cl26:~/src/tdn$ g++-4.3 -v                 
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/home/mak/local --program-suffix=-4.3 :
(reconfigured) ../configure --prefix=/home/mak/local --program-suffix=-4.3
CPPFLAGS=-I/home/mak/local/include LDFLAGS=-L/home/mak/local/lib
--enable-languages=c,c++,fortran,java,objc --no-create --no-recursion
Thread model: posix
gcc version 4.3.0 20080206 (experimental) (GCC)


-- 
           Summary: [OpenMP] ICE in remove_unreachable_regions with -O -
                    fopenmp
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: t-gcc-bugzilla at snowelm dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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



More information about the Gcc-bugs mailing list