public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53672] New: gcc/branches/cilkplus does not like C++ spawn (when optimized)
@ 2012-06-14 15:56 jjhforrest at gmail dot com
  2012-06-14 16:56 ` [Bug c++/53672] " bviyer at gmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: jjhforrest at gmail dot com @ 2012-06-14 15:56 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-10-10 19:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-14 15:56 [Bug c++/53672] New: gcc/branches/cilkplus does not like C++ spawn (when optimized) jjhforrest at gmail dot com
2012-06-14 16:56 ` [Bug c++/53672] " bviyer at gmail dot com
2012-06-14 19:22 ` jjhforrest at gmail dot com
2012-06-15  6:57 ` jjhforrest at gmail dot com
2012-06-15 19:44 ` bviyer at gcc dot gnu.org
2012-06-15 19:46 ` bviyer at gmail dot com
2012-06-16  8:13 ` jjhforrest at gmail dot com
2012-06-16 16:08 ` jjhforrest at gmail dot com
2012-06-18  2:08 ` bviyer at gcc dot gnu.org
2012-06-18  9:59 ` jjhforrest at gmail dot com
2012-10-10 19:34 ` paolo.carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).