Crash in remove_stmt_from_en_lp_fn() due to remving of gimple statement using gsi_remove

2019-11-15 Thread Shubham Narlawar
Hello, I'm writing a Simple LTO pass. I have placed my optimization routine under execute() hook. In my optimization routine, I want to delete an instruction for which I have the gimple_stmt_iterator. If I call gsi_remove(gsi, true), it causes a crash in remove_stmt_from_en_lp_fn() where it is

Yocto Project Recipe for Testing upstream code

2019-11-15 Thread Nicholas Krause
Greetings David, I mentioned this in my other email for my work but it seems that the Yocto Project has this recipe devupstream.bbclass and are hoping to get it to work for upstream code including gcc from HEAD e.t.c.  I'm asked them to see if they can mention that other projects like LLVM/GCC

gcc-8-20191115 is now available

2019-11-15 Thread gccadmin
Snapshot gcc-8-20191115 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/8-20191115/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 8 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-8

Re: GCC 7.5 Released

2019-11-15 Thread Gerald Pfeifer
On Fri, 15 Nov 2019, Richard Biener wrote: >> I disabled snapshots from the GCC 7 branch on gcc.gnu.org. > Huh, I thought I did - I usually do this when creating the RC > (and I didn't see a new snapshot during the RC phase). ftp://gcc.gnu.org/pub/gcc/snapshots/7-20191107/ came after ftp://gcc.gnu

Re: Getting function pointer from basic block or gimple statement

2019-11-15 Thread Richard Biener
On Fri, Nov 15, 2019 at 2:25 PM Shubham Narlawar wrote: > > Hello, > > From the gimple statement or basic block, is there any way to get > function pointer? From gimple structure, I am able to get basic block > but unable to get function pointer neither from basic block nor > gimple. There is no

Getting function pointer from basic block or gimple statement

2019-11-15 Thread Shubham Narlawar
Hello, >From the gimple statement or basic block, is there any way to get function pointer? From gimple structure, I am able to get basic block but unable to get function pointer neither from basic block nor gimple. Regards, Shubham