Re: How can I write a builtin func?

2010-12-09 Thread Liu
2010/12/10 WANG.Jiong : > On 12/10/2010 02:17 PM, Liu wrote: > > Hi all, > I'm porting gcc to a MIPS-based DSP, I need write some builtin > func for some insns, but I can't find a doc., any one should help me? > Show me a example please? Thanks very much. > > Liu. > > > Maybe you should at le

Re: How can I write a builtin func?

2010-12-09 Thread WANG.Jiong
On 12/10/2010 02:17 PM, Liu wrote: Hi all, I'm porting gcc to a MIPS-based DSP, I need write some builtin func for some insns, but I can't find a doc., any one should help me? Show me a example please? Thanks very much. Liu. Maybe you should at least implement the following two hooks

How can I write a builtin func?

2010-12-09 Thread Liu
Hi all, I'm porting gcc to a MIPS-based DSP, I need write some builtin func for some insns, but I can't find a doc., any one should help me? Show me a example please? Thanks very much. Liu.

Re: "ld -r" on mixed IR/non-IR objects (

2010-12-09 Thread H.J. Lu
On Thu, Dec 9, 2010 at 6:29 PM, H.J. Lu wrote: > On Wed, Dec 8, 2010 at 9:36 AM, H.J. Lu wrote: >> On Wed, Dec 8, 2010 at 5:54 AM, H.J. Lu wrote: >>> On Wed, Dec 8, 2010 at 1:19 AM, Andi Kleen wrote: > On 12/07/2010 04:20 PM, Andi Kleen wrote: >> >> The only problem left is mixing o

Re: "ld -r" on mixed IR/non-IR objects (

2010-12-09 Thread H.J. Lu
On Wed, Dec 8, 2010 at 9:36 AM, H.J. Lu wrote: > On Wed, Dec 8, 2010 at 5:54 AM, H.J. Lu wrote: >> On Wed, Dec 8, 2010 at 1:19 AM, Andi Kleen wrote: On 12/07/2010 04:20 PM, Andi Kleen wrote: > > The only problem left is mixing of lto and non lto objects. this right > now is not

Re: internal compiler error in gcc trunk when using std::map

2010-12-09 Thread Jonathan Wakely
On 10 December 2010 00:40, Nathan Ridge wrote: > > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. This mailing list is not the right way to report bugs, you should have followed the instructions in the output you q

internal compiler error in gcc trunk when using std::map

2010-12-09 Thread Nathan Ridge
nstructions. And here's the output of g++-4.6 -v: Using built-in specs. COLLECT_GCC=g++-4.6 COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: ../src/configure --program-suffix=-4.6 --enable-languages=c,c++ Thread model: posix gcc version 4.6.0 20101209 (experimental) (GCC) Thanks, Nate.

gcc-4.5-20101209 is now available

2010-12-09 Thread gccadmin
Snapshot gcc-4.5-20101209 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20101209/ 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: v2: plugin to warn about surplus includes

2010-12-09 Thread Ian Lance Taylor
Michalis Giannakidis writes: > I am trying your plugin to  to warn about surplus includes: > http://gcc.gnu.org/ml/gcc/2010-05/msg00418.html You should probably e-mail Bernhard Reutner-Fischer, who wrote the plugin. > I have some problems compiling against gcc v4.5.1. > > ~/local/gcc-4.5.1/bin/

Re: GCC 4.5.2 Release Candidate available from gcc.gnu.org

2010-12-09 Thread Richard Guenther
On Thu, 9 Dec 2010, Rainer Orth wrote: > Richard Guenther writes: > > > The branch remains frozen and all checkins until after the final release > > of GCC 4.5.2 require explicit RM approval. > > I'd like to get the following three testsuite-only patches into the > branch if possible: > >

Re: GCC 4.5.2 Release Candidate available from gcc.gnu.org

2010-12-09 Thread Rainer Orth
Richard Guenther writes: > The branch remains frozen and all checkins until after the final release > of GCC 4.5.2 require explicit RM approval. I'd like to get the following three testsuite-only patches into the branch if possible: [v3] Don't create unlinkable 64-bit libtestc++.a on IR

Re: v2: plugin to warn about surplus includes

2010-12-09 Thread Michalis Giannakidis
Hello, I am trying your plugin to  to warn about surplus includes: http://gcc.gnu.org/ml/gcc/2010-05/msg00418.html I have some problems compiling against gcc v4.5.1. ~/local/gcc-4.5.1/bin/g++ -I`~/local/gcc-4.5.1/bin/gcc -print-file-name=plugin`/include -fPIC -shared -O2 rm_includes.cpp -o plugi

Re: "ld -r" on mixed IR/non-IR objects (

2010-12-09 Thread Andi Kleen
On Thu, Dec 09, 2010 at 02:34:27AM +, Dave Korn wrote: > On 08/12/2010 18:40, Andi Kleen wrote: > > > Fat LTO is just too slow. I suspect with that kind of performance > > penalty most people simply would not use it at all. > > How slow is "too" slow? How many people out of a hundred won't