[Bug 1683573] Re: GCC crashes with segmentation fault
Matthias Klose
doko at ubuntu.com
Sun Aug 20 14:46:26 UTC 2017
the issue is missing the preprocessed source, and there is no file
attached.
** Changed in: gcc-5 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-5 in Ubuntu.
https://bugs.launchpad.net/bugs/1683573
Title:
GCC crashes with segmentation fault
Status in gcc-5 package in Ubuntu:
Incomplete
Bug description:
Segementation fault in GCC when compiling the attached file.
The following command line triggers the crash:
/usr/bin/g++ -c -O3 -g -funroll-loops -fprefetch-loop-arrays
-fpermissive -fno-exceptions -static-libgcc -Wl,--hash-style=both
,--as-needed -DENABLE_TASK -std=c++0x -DTO_OMP -fopenmp -fexceptions
-DUSE_ALAMERE_TASKQ -w -DNDEBUG -o
obj/Arrays/ARRAY_PARALLEL_OPERATIONS.o ARRAY_PARALLEL_OPERATIONS.ii
The error message is:
Arrays/ARRAY_PARALLEL_OPERATIONS.cpp: In copy constructor ‘PhysBAM::ARRAY<T>::ARRAY(const PhysBAM::ARRAY<T>&, bool) [with T = PhysBAM::ARRAY_PARALLEL_OPERATIONS_HELPER<PhysBAM::VECTOR_2D<float>, float, PhysBAM::VECTOR_2D<float> >]’:
Arrays/ARRAY_PARALLEL_OPERATIONS.cpp:298:1: internal compiler error: Segmentation fault
create_task0(spawn Array_Parallel_Operations_Helper(&helpers(i)));
^
This happens with gcc version 5.4.1 20160904 (Ubuntu 5.4.1-2ubuntu1~16.04)
The same error happens with gcc-6.2
Intel ICC can compile the same code without any errors.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1683573/+subscriptions
More information about the foundations-bugs
mailing list