Write test case for libstdc++ with C source

2014-04-27 Thread Sebastian Huber
Hallo, I would like to add a test case to the libstdc++ tests to test for C/C++ compatibility of the atomic operations. A straight forward approach like in the attached patch doesn't work since the "dg-additional-sources" is not supported: ERROR: 29_atomics/atomic/pr60932-c++.cc: unknown dg

Re: Write test case for libstdc++ with C source

2014-04-27 Thread Andreas Schwab
Sebastian Huber writes: > Since I am not an expert in the GCC test suite scripts, is it possible to > add such a test case at all with a moderate amount of work? Just add load_gcc_lib gcc-defs.exp. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 175

Re: Write test case for libstdc++ with C source

2014-04-27 Thread Sebastian Huber
On 04/27/2014 03:25 PM, Andreas Schwab wrote: Sebastian Huber writes: Since I am not an expert in the GCC test suite scripts, is it possible to add such a test case at all with a moderate amount of work? Just add load_gcc_lib gcc-defs.exp. In libstdc++-v3/testsuite/lib/libstdc++.exp? In th

Re: Write test case for libstdc++ with C source

2014-04-27 Thread Andreas Schwab
Sebastian Huber writes: > Is it possible to add a search path to something and avoid this > load_gcc_lib? Just follow the numerous examples that get it right. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now fo

Re: Integration of ISL code generator into Graphite

2014-04-27 Thread Roman Gareev
Hi Mircea. Sorry, I've been missing for a while. Thank you for your ideas! I agree that reusing of the existing code (especially code using tree-SSA related information) is important for this project. I'm considering the current code in graphite_clast_to_gimple.c, and want to ask a few questions a

[GSoC] questions about graphite_clast_to_gimple.c

2014-04-27 Thread Roman Gareev
Hi Tobias, I'm considering the current code in graphite_clast_to_gimple.c, and want to ask a few questions about it. 1. Where can I find the definitions of basic_block_def and edge from coretypes.h? 2. Why are recompute_all_dominators() and graphite_verify() called before initialization of if_re

bug in lra causes incorrect register usage / compiler crash

2014-04-27 Thread Paul Shortis
I'm porting gcc to a 16 bit cpu with a two address ISA like x86. When using LRA I was getting compiler crashes and results like this from the reload pass (insn 97 96 98 21 (parallel [ (set (reg/f:HI 3 r3 [59]) (plus:HI (reg/f:HI 6 sp) (const_int

Re: [buildrobot] arc-elf broken

2014-04-27 Thread Jan-Benedict Glaw
Hi! On Sat, 2014-04-19 21:54:07 +0200, Jan-Benedict Glaw wrote: > I noticed that between 704db68e45..f2de45326 (209463..r209495), > probbaly in e2ec52cad85e (r209484), building for arm-eabi breaks: I oversaw this one for arc-elf: g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-excep

gcc-4.10-20140427 is now available

2014-04-27 Thread gccadmin
Snapshot gcc-4.10-20140427 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.10-20140427/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.10 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

Re: Support to OpenACC and OpenMP 4.0 in GCC 4.9

2014-04-27 Thread Thomas Schwinge
Hi Paolo! On Sat, 26 Apr 2014 12:09:01 +0200, Paolo Leoni wrote: > I'm a graduating Physics student from Italy. I'm actually working on > accelerators devices like GPU and Intel MIC, with a focus on OpenACC > api. Are you primarily a user of OpenACC, or also interested in helping implement it in

Re: [GSoC] questions about graphite_clast_to_gimple.c

2014-04-27 Thread Tobias Grosser
On 27/04/2014 21:52, Roman Gareev wrote: Hi Tobias, I'm considering the current code in graphite_clast_to_gimple.c, and want to ask a few questions about it. 1. Where can I find the definitions of basic_block_def and edge from coretypes.h? gcc/basic-block.h 2. Why are recompute_all_domina