Re: Duplicate assembler function names in cgraph

2007-04-17 Thread Paulo J. Matos
On 4/17/07, Mike Stump <[EMAIL PROTECTED]> wrote: On Apr 17, 2007, at 3:11 AM, Paulo J. Matos wrote: > I wonder, that if I am to use gcc head, how can I do that? This isn't a trick question is it? Anyway, it is answered by our web site. Briefly, you check out trunk and then you edit it. patch

Re: Duplicate assembler function names in cgraph

2007-04-17 Thread Mike Stump
On Apr 17, 2007, at 3:11 AM, Paulo J. Matos wrote: I wonder, that if I am to use gcc head, how can I do that? This isn't a trick question is it? Anyway, it is answered by our web site. Briefly, you check out trunk and then you edit it. patch is one way to mass edit a source tree for exam

Re: Duplicate assembler function names in cgraph

2007-04-17 Thread Paulo J. Matos
On 4/16/07, Jan Hubicka <[EMAIL PROTECTED]> wrote: > > Sure, however, I'm developing over 4.1.1, still you might still have > the error on current head, (I know 4.1.1 is quite old). What do you > mean by a test case? Do you want a short version of my IPA pass which > shows up the issue? Either th

Re: Duplicate assembler function names in cgraph

2007-04-16 Thread Jan Hubicka
> On 4/16/07, Jan Hubicka <[EMAIL PROTECTED]> wrote: > >Hi, > >> Hello all, > >> > >> I'm doing in my IPA pass: > >> for(node = cgraph_nodes; node; node = node->next) { > >>reg_cgraph_node(IDENTIFIER_POINTER(DECL_ASSEMBLER_NAME(node->decl))); > >> } > >> > >> to get all the function names in th

Re: Duplicate assembler function names in cgraph

2007-04-16 Thread Paulo J. Matos
On 4/16/07, Jan Hubicka <[EMAIL PROTECTED]> wrote: Hi, > Hello all, > > I'm doing in my IPA pass: > for(node = cgraph_nodes; node; node = node->next) { >reg_cgraph_node(IDENTIFIER_POINTER(DECL_ASSEMBLER_NAME(node->decl))); > } > > to get all the function names in the cgraph. I'm adding them t

Re: Duplicate assembler function names in cgraph

2007-04-16 Thread Jan Hubicka
Hi, > Hello all, > > I'm doing in my IPA pass: > for(node = cgraph_nodes; node; node = node->next) { >reg_cgraph_node(IDENTIFIER_POINTER(DECL_ASSEMBLER_NAME(node->decl))); > } > > to get all the function names in the cgraph. I'm adding them to a list > and I'm assuming that two nodes do not h