Re: Finding a relevant place for a custom GCC pass

2014-01-05 Thread Sandeep K Chaudhary
Thanks for the reply Marc ! If I place my pass before ccp then I guess I have to implement the means to perform calculations on my own so that it can duplicate the functionality of ccp, right? I will also look at the source code to see if I can modify the source code directly. Is pass_ccp in tree-

Re: Finding a relevant place for a custom GCC pass

2014-01-05 Thread Marc Glisse
On Sun, 5 Jan 2014, Sandeep K Chaudhary wrote: Hi guys, I want to write a pass which can find the calculations performed on the right hand side of each statement. In the below example - VAR1 = 1; VAR1++; VAR1 = VAR1 + 5; I want to be able to capture the equivalent stateme

Finding a relevant place for a custom GCC pass

2014-01-05 Thread Sandeep K Chaudhary
Hi guys, I want to write a pass which can find the calculations performed on the right hand side of each statement. In the below example - VAR1 = 1; VAR1++; VAR1 = VAR1 + 5; I want to be able to capture the equivalent statements i.e. VAR1 = 1; VAR1 = 2; VAR1 = 7; To ach

thread_local broken in gcc 4.8 ?

2014-01-05 Thread Conrad S
According to http://gcc.gnu.org/gcc-4.8/cxx0x_status.html the keyword "thread_local" is supported in gcc 4.8 when using -std=c++11 However, thread_local seems broken. Let's say we compile a multi-file program that uses thread_local: g++ a.cpp -c -o a.o -std=c++11 g++ b.cpp -c -o b.o -std=c++11 g+

Re: Remove spam in GCC mailing list

2014-01-05 Thread Christopher Faylor
On Sat, Dec 28, 2013 at 08:40:07PM +0900, Tae Wong wrote: >You want to send a mail to python-dev at python dot org. > >The spam still exists in gcc-bugs mailing list: >http://gcc.gnu.org/ml/gcc-bugs/2013-08/msg00689.html >http://gcc.gnu.org/ml/gcc-bugs/2013-08/msg00759.html >http://gcc.gnu.org/ml/g

gcc-4.9-20140105 is now available

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