[Bug other/59490] [4.9 Regression] cilk-plus failure

2013-12-14 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59490

--- Comment #3 from Dominique d'Humieres dominiq at lps dot ens.fr ---
The following patch silences the failures:

--- ../_clean/gcc/testsuite/g++.dg/cilk-plus/CK/catch_exc.cc2013-12-11
19:35:38.0 +0100
+++ gcc/testsuite/g++.dg/cilk-plus/CK/catch_exc.cc2013-12-14
14:03:33.0 +0100
@@ -1,6 +1,6 @@
 /* { dg-options -fcilkplus } */
 /* { dg-do run { target i?86-*-* x86_64-*-* arm*-*-* } } */
-/* { dg-options -fcilkplus -lcilkrts { target { i?86-*-* x86_64-*-* arm*-*-*
} } } */
+/* { dg-options -mtune=generic -fcilkplus -lcilkrts { target { i?86-*-*
x86_64-*-* arm*-*-* } } } */

 #include assert.h
 #include unistd.h

However, while I understand that -mtune=* can change the content of dump files
as in pr59494 without any side effect on the generated code, I think the above
patch is only papering over a real bug.


[Bug other/59490] [4.9 Regression] cilk-plus failure

2013-12-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59490

Richard Biener rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.9.0


[Bug other/59490] [4.9 Regression] cilk-plus failure

2013-12-12 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59490

H.J. Lu hjl.tools at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-12-13
 Ever confirmed|0   |1

--- Comment #1 from H.J. Lu hjl.tools at gmail dot com ---
To reproduce:

# make check-c++ RUNTESTFLAGS=--target_board='unix{-m32\ -march=corei7}'
cilk-plus.exp=catch_exc.cc 
...
FAIL: g++.dg/cilk-plus/CK/catch_exc.cc  -O1 -fcilkplus
-L/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libcilkrts/.libs
execution test
FAIL: g++.dg/cilk-plus/CK/catch_exc.cc  -O2 -fcilkplus
-L/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libcilkrts/.libs
execution test
FAIL: g++.dg/cilk-plus/CK/catch_exc.cc  -O3 -fcilkplus
-L/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libcilkrts/.libs
execution test
FAIL: g++.dg/cilk-plus/CK/catch_exc.cc  -g -O2 -fcilkplus
-L/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libcilkrts/.libs
execution test
FAIL: g++.dg/cilk-plus/CK/catch_exc.cc  -g -O3 -fcilkplus
-L/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libcilkrts/.libs
execution test


[Bug other/59490] [4.9 Regression] cilk-plus failure

2013-12-12 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59490

--- Comment #2 from H.J. Lu hjl.tools at gmail dot com ---
Just -mtune=corei7:

make check-c++ RUNTESTFLAGS=--target_board='unix{-m32\ -mtune=corei7}'
cilk-plus.exp=catch_exc.cc

is sufficient to reproduce.