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

            Bug ID: 59297
           Summary: ICE: openmp atomic with indirect LHS
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chaosgate at gmail dot com

Created attachment 31292
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31292&action=edit
Preprocessed source

This code outputs the following ICE (and nothing else):

atIce.cpp: In function ‘void f(Y&)’:
atIce.cpp:15:20: internal compiler error: in lower_stmt, at gimple-low.c:457
   data (pts[0]) += 1;
                    ^

when compiled with 
g++ -o /dev/null -c -Wfatal-errors -fopenmp -fpermissive -w -std=gnu++0x
atIce.cpp


gcc -v:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/paludis/build/sys-devel-gcc-4.8.2/work/gcc-4.8.2/configure
--prefix=/usr --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --disable-silent-rules
--enable-fast-install --libdir=/usr/lib64 --cache-file=config.cache
--libdir=/usr/lib64 --with-pkgversion='exherbo gcc-4.8.2' --program-suffix=-4.8
--disable-bootstrap --enable-clocale=gnu --enable-languages=c,c++,fortran,java
--enable-lto --disable-multilib --enable-nls --enable-serial-configure
--enable-libquadmath --enable-libquadmath-support --with-cloog --enable-libgomp
--disable-libobjc --disable-libssp --with-as=x86_64-pc-linux-gnu-as
--with-ld=x86_64-pc-linux-gnu-ld --with-system-zlib
Thread model: posix
gcc version 4.8.2 (exherbo gcc-4.8.2)

Reply via email to