HA: How to set revision_string in version.c?

2011-06-15 Thread Vlad Krylov
Thanks, Jonathan. I've created DEV-PHASE and now it works От: Jonathan Wakely [jwakely@gmail.com] Отправлено: 9 июня 2011 г. 20:32 Кому: Vlad Krylov Копия: gcc@gcc.gnu.org Тема: Re: How to set revision_string in version.c? On 9 June 2011 17:12, Vlad Kry

Re: libgcc: problems adding asm sources (libgcc/siditi-object.mk)

2011-06-15 Thread Georg-Johann Lay
Ian Lance Taylor schrieb: > Georg-Johann Lay writes: > >> Ian Lance Taylor schrieb: >>> Georg-Johann Lay writes: >>> >> Wondering why there is now just another t-target, both t-targets >> containing snips of libgcc. > > There is a very slowly moving incomplete transition to move all the > libgc

Re: libgcc: problems adding asm sources (libgcc/siditi-object.mk)

2011-06-15 Thread Rainer Orth
Georg-Johann Lay writes: >> If you are creating new files you can help that transition by creating >> them in libgcc rather than gcc. > > May I say that I like the "classical" setup more because all target > dependent code resides in >./gcc/config/$target > (besides some lines for adding a ta

new wiki page: MELT performance

2011-06-15 Thread Pierre Vittet
Hello, I have written a new page on the wiki (http://gcc.gnu.org/wiki/MELTPerformanceTest) about the performance of GCC using a MELT plugin. This can be usefull to see what take too much time in MELT (it looks like we spend a lot of time in the garbage collector, this might be highly improved

the interface for cloning function

2011-06-15 Thread Feng LI
Hi, Is there an interface provided in GCC to clone the current function? I searched in the source code but failed, just in case I'm going wrong. Thanks, Feng

Re: Returning unions (Was: Re: Ping^5: Re: Updated^2: RFA: Fix middle-end/46500 (void * encapsulated))

2011-06-15 Thread H.J. Lu
On Tue, Jun 14, 2011 at 8:27 PM, Joern Rennecke wrote: > Quoting "H.J. Lu" : > >> Do you have a testcase for i386? > > struct args { int i0, i1; }; > > union args_u { struct args *a; } __attribute__((transparent_union)); > > union args_u > f (union args_u in) > { >  union args_u out; > >  out.a =

C++ member function template id not matching linkage name (PR debug/49408)

2011-06-15 Thread Jan Kratochvil
Hi, http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49408 struct S { void m (int x) {} }; template struct K { void f () { S s; (s.*F) (5); } }; int main () { K<&S::m> k; k.f (); } <1><64>: Abbrev Number: 8 (DW_TAG_structure_type) <65> DW_AT_name: K<&S::m>

Re: Returning unions (Was: Re: Ping^5: Re: Updated^2: RFA: Fix middle-end/46500 (void * encapsulated))

2011-06-15 Thread Joern Rennecke
Quoting "H.J. Lu" : On Tue, Jun 14, 2011 at 8:27 PM, Joern Rennecke wrote: Quoting "H.J. Lu" : Do you have a testcase for i386? struct args { int i0, i1; }; union args_u { struct args *a; } __attribute__((transparent_union)); union args_u f (union args_u in) {  union args_u out;  out.a

Re: Returning unions (Was: Re: Ping^5: Re: Updated^2: RFA: Fix middle-end/46500 (void * encapsulated))

2011-06-15 Thread H.J. Lu
On Wed, Jun 15, 2011 at 2:47 PM, Joern Rennecke wrote: > Quoting "H.J. Lu" : > >> On Tue, Jun 14, 2011 at 8:27 PM, Joern Rennecke >> wrote: >>> >>> Quoting "H.J. Lu" : >>> Do you have a testcase for i386? >>> >>> struct args { int i0, i1; }; >>> >>> union args_u { struct args *a; } __attribu