Re: Tutorial Proposal for GCC Summit

2010-08-19 Thread Diego Novillo
On 10-08-18 12:50 , Uday Khedker wrote: Looking forward to getting some feedback. I would also be happy to modify the tutorial based on the feedback. Thank you very much for organizing this tutorial. I think it's an excellent idea. In the context of the GCC Summit, I believe your presentat

gcc-4.5-20100819 is now available

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

Re: Irreducible loops in generated code

2010-08-19 Thread Zdenek Dvorak
Hi, > > I'm working on decompiling x86-64 binary programs, using branches to rebuild > > a control-flow graph and looking for loops. I've found a significant number > > of irreducible loops in gcc-produced code (irreducible loops are loops with > > more than one entry point), especially in -O3 opt

Could we use VIEW_CONVERT_EXPR to build ADDR_EXPR ?

2010-08-19 Thread Fang, Changpeng
Hi, I am working on bug 45260 and found that the problem is related to VIEW_CONVERT_EXPR. In the prefetching pass, we generate the base address for the prefetching: tree-ssa-loop-prefetch.c (issue_prefetch_ref): addr_base = build_fold_addr_expr_with_type (ref->mem, ptr_type_node); + gcc_asser

Re: Could we use VIEW_CONVERT_EXPR to build ADDR_EXPR ?

2010-08-19 Thread Andrew Pinski
On Thu, Aug 19, 2010 at 4:55 PM, Fang, Changpeng wrote: > My questions are: > > (1) Can we generate address expression for COMPONENT_REF and contains > VIEW_CONVERT >      expression (is it legal to do so)? No you should not generate addresses for VCEs that contain a SSA_NAME. I think you shoul

Re: Could we use VIEW_CONVERT_EXPR to build ADDR_EXPR ?

2010-08-19 Thread Richard Kenner
> No you should not generate addresses for VCEs that contain a SSA_NAME. True, because it should be an ADDR_EXPR of the SSA_NAME and the a convert to the appropriate pointer type. But the question here was trickier: there was a COMPONENT_REF of the VCE of an SSA_NAME. I don't know the answer to