https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77578

            Bug ID: 77578
           Summary: Compiler crashes with segmentation fault
           Product: gcc
           Version: 5.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tomas.oberhuber at fjfi dot cvut.cz
  Target Milestone: ---

When compiling the attached file main.cpp as

g++ main.cpp -fopenmp

I get the following 

main.cpp: In static member function ‘static void GridTraverser<Grid<Device>
>::processEntities(GridTraverser<Grid<Device> >::CoordinatesType,
GridTraverser<Grid<Device> >::CoordinatesType)’:
main.cpp:28:56: internal compiler error: Segmentation fault
                  entity.getCoordinates().y() <= end.y();
                                                        ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccqklNTb.out file, please attach this to
your bugreport.
ERROR: Cannot create report: [Errno 17] File exists:
'/var/crash/_usr_lib_gcc_x86_64-linux-gnu_4.8_cc1plus.1000.crash'

It happens on gcc 5.4.0ubuntu~16.04.2 and also on older gcc
4.8.5ubuntu~14.04.1.

Tomas Oberhuber.

Reply via email to