Re: RFC: Add --plugin-gcc option to ar/nm

2011-10-15 Thread Andi Kleen
"H.J. Lu" writes: > Hi, > > ---plugin option for ar/nm is very long. I am proposing to add > a --plugin-gcc option. It can be implemented with > > 1. Move LTOPLUGINSONAME from gcc to config/plugins.m4. > 2. Define LTOPLUGINSONAME for ar/nm. > 3. For --plugin-gcc, ar/nm call popen using environ

RFC: Add --plugin-gcc option to ar/nm

2011-10-15 Thread H.J. Lu
Hi, ---plugin option for ar/nm is very long. I am proposing to add a --plugin-gcc option. It can be implemented with 1. Move LTOPLUGINSONAME from gcc to config/plugins.m4. 2. Define LTOPLUGINSONAME for ar/nm. 3. For --plugin-gcc, ar/nm call popen using environment variable GCC if set, or gcc w

gcc-4.7-20111015 is now available

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

asm in inline function invalidating function attributes?

2011-10-15 Thread Ulrich Drepper
I think gcc should allow the programmer to tell it something about a function return value even if the function is inlined and the compiler can see all the code. Consider the code below. If NOINLINE is defined the compiler will call g once. No need to do anything after the h() call since the fun

Re: The AST tree modification. Edited.

2011-10-15 Thread niXman
Up. 2011/10/12 niXman : > Hello! > > I have figured out the creation of functions and structures, thanks > Andi's and Balaji's. Couldn't understand how to create tree for > template functions, classes, methods. > Can you help me figure that out, please? > > Thanks. >

Re: ISO_IEC_14882-2011-5.1.2/10 - bug

2011-10-15 Thread Paolo Carlini
Hi > Hello. > > Quote from ISO_IEC_14882-2011, 5.1.2/10: Please open a normal Bugzilla PR Thanks, Paolo