This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53672] New: gcc/branches/cilkplus does not like C++ spawn (when optimized)
- From: "jjhforrest at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 14 Jun 2012 15:55:43 +0000
- Subject: [Bug c++/53672] New: gcc/branches/cilkplus does not like C++ spawn (when optimized)
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53672
Bug #: 53672
Summary: gcc/branches/cilkplus does not like C++ spawn (when
optimized)
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jjhforrest@gmail.com
Created attachment 27619
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27619
.ii file created with -save-temp
In real code I get
In function '<built-in>':
cc1plus: internal compiler error: Segmentation fault
With tiny example (segfault.cpp -> segfault.ii) I get
/j/mycilk3/bin/g++ -O2 segfault.ii
segfault.cpp: In function â<built-in>â:
segfault.cpp:33:1: internal compiler error: in remap_gimple_op_r, at
tree-inline.c:849
}
^
works at -O1
Output from /j/mycilk3/bin/g++ -v
Using built-in specs.
COLLECT_GCC=/j/mycilk3/bin/g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../cilk2/configure --prefix=/j/mycilk3 --libexecdir=/usr/lib
--enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++
--disable-multilib --disable-bootstrap --with-system-zlib CFLAGS='-fPIC
-march=x86-64' LD=/usr/bin/ld
Thread model: posix
gcc version 4.8.0 20120522 (experimental) (GCC)
segfault.ii attached