-disable-fixincludes doesn't quite work, minor

2010-05-10 Thread Jay K
-disable-libgcc and/or -disable-fixincludes are useful, depending on your goal.  Like if you just want to compile C to assembly or object files. It fails, but only after doing what I want anyway. make[2]: *** No rule to make target `../build-sparc-sun-solaris2.10/fixincludes/fixinc.sh', neede

RE: pic+64bit+sun assembler+unwind-tables => illegal cross section subtraction

2010-05-10 Thread Jay K
It might also be necessary to configure for i586-sun-solaris2.10 instead of i586-solaris2.10. Something I read said you can use various shorter forms, and I like the idea for convenience and to avoid those "pc"s and "unknown"s, but this seems to have bitten me a number of times, not just today.

Re: Compile times for gcc with ppl/cloog backened?

2010-05-10 Thread ajmcello
On Sun, May 9, 2010 at 3:22 AM, Richard Guenther wrote: > On Sun, May 9, 2010 at 5:09 AM, ajmcello wrote: >> I've got a quad core 3.2Ghz FreeBSD-8 system with 8GB of ram. I >> compiled and installed Cloog-PPL and PPL, mpfr, gmp, mpc, polylib, >> etc. I'm using make -j 4, and my gcc compile has be

RE: pic+64bit+sun assembler+unwind-tables => illegal cross section subtraction

2010-05-10 Thread Marc Glisse
On Mon, 10 May 2010, Jay K wrote: It seems using GNU as might still be slightly preferred in order to move data (jump tables) out of .text and into read only data, like, you know, "the less that is executable, the more secure". Though for locality, .text might be better. Note that you can al

32 Bit Backend with 3 Registers

2010-05-10 Thread Eggenmüller Bernd
Hi, I have a problem to compile the libgcc2 with a new gcc backend. I have a little processor with 4 registers A X Y and R0(0) with 32 Bit. R0(0) is the stackpointer and Y is the basepointer. So i only have the registers A and X to calculate. It always gave me an error that there are to less spi

alias of hidden function

2010-05-10 Thread Jack Howarth
On x86_64-apple-darwin10, we fail the lto testcase... /sw/src/fink.build/gcc46-4.5.999-20100508/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc46-4.5.999-20100508/darwin_objdir/gcc/ -O0 -fwhopr -c -o c_lto_20081222_1.o /sw/src/fink.build/gcc46-4.5.999-20100508/gcc-4.6-20100508/gcc/testsuite/gc

CLI-FE merge 4.3 to 4.5

2010-05-10 Thread Kevin Williams
Hello, We have just merged the branch st/cli-fe (a gcc front end for CLI) from a 4.3 realse to 4.5. This merge has broken the compiler and for a simple helloworld test it fails with the error cil1: internal compiler error: in execute_one_pass, at passes.c:1525 This error is reporting that the '

Re: alias of hidden function

2010-05-10 Thread Dave Korn
On 10/05/2010 14:30, Jack Howarth wrote: > Are there any standards in effect which would dictate that > the alias of a hidden function is valid? Visiblity doesn't apply to functions, it applies to symbols. Symbols are textual names with a linked value that exist in object files. The compiler

Re: alias of hidden function

2010-05-10 Thread Jack Howarth
On Mon, May 10, 2010 at 04:17:26PM +0100, Dave Korn wrote: > On 10/05/2010 14:30, Jack Howarth wrote: > > > Are there any standards in effect which would dictate that > > the alias of a hidden function is valid? > > Visiblity doesn't apply to functions, it applies to symbols. Symbols are > te

Re: alias of hidden function

2010-05-10 Thread Dave Korn
On 10/05/2010 16:19, Jack Howarth wrote: > Compiler executable checksum: c54eb6db87684e4d5a5bb9ad02c2b2c4 > 20081222_1.c:16: error: 'EXT_x' aliased to undefined symbol 'INT_x' > > which I assume means this error message is coming from the compiler and not > the linker. So it still unclear to me i

Re: alias of hidden function

2010-05-10 Thread Dave Korn
On 10/05/2010 17:16, Dave Korn wrote: > On 10/05/2010 16:19, Jack Howarth wrote: > >> Compiler executable checksum: c54eb6db87684e4d5a5bb9ad02c2b2c4 >> 20081222_1.c:16: error: 'EXT_x' aliased to undefined symbol 'INT_x' > The error comes from finish_aliases_1 in varasm.c, where it is suppressed

Re: -disable-fixincludes doesn't quite work, minor

2010-05-10 Thread Ian Lance Taylor
Jay K writes: > -disable-libgcc and/or -disable-fixincludes are useful, depending on your > goal. > >  Like if you just want to compile C to assembly or object files. > > > It fails, but only after doing what I want anyway. > > make[2]: *** No rule to make target > `../build-sparc-sun-solaris2.

Re: C++0x Memory model and gcc

2010-05-10 Thread Andrew MacLeod
On 05/10/2010 12:39 AM, Ian Lance Taylor wrote: Albert Cohen writes: I agree. Or even, =c++0x or =gnu++0x On the other hand, I fail to see the differen between =single and =fast, and the explanation about "the same memory word" is not really relevant as memory models typically tell you ab

Re: profile mode output analysis (call stacks to source code mapping)

2010-05-10 Thread Silvius Rus
On Fri, May 7, 2010 at 7:09 AM, Karel Gardas wrote: > with recent fixes into profile mode I've succeed even using it for > MICO[1] on OpenSolaris platform. Is there any tool which > translates call stacks to humans or is there any documentation/hint > how to use generated call stack information t

optimizing a DSO

2010-05-10 Thread Vivek Verma
I am trying to speedup the load and startup time of a shared library. After reading Ulrich Drepper's paper on "How to write shared libraries", it seems that the easiest thing to try would be to reduce the number of symbols that are globally visible. After carefully adding __attribute__((visibi

Re: alias of hidden function

2010-05-10 Thread Jack Howarth
On Mon, May 10, 2010 at 05:20:22PM +0100, Dave Korn wrote: > On 10/05/2010 17:16, Dave Korn wrote: > > On 10/05/2010 16:19, Jack Howarth wrote: > > > >> Compiler executable checksum: c54eb6db87684e4d5a5bb9ad02c2b2c4 > >> 20081222_1.c:16: error: 'EXT_x' aliased to undefined symbol 'INT_x' > > >

RE: -disable-fixincludes doesn't quite work, minor

2010-05-10 Thread Jay K
Ok if I do both or the emails are just annoying? I find that bugs are often ignored just as well (but not lost/forgotten, granted. :) ) Thanks, - Jay > To: jay.kr...@cornell.edu > CC: gcc@gcc.gnu.org > Subject: Re: -disable-fixincludes doesn't quite w

Re: optimizing a DSO

2010-05-10 Thread Ian Lance Taylor
Vivek Verma writes: > I am trying to speedup the load and startup time of a shared > library. After reading Ulrich Drepper's paper on "How to write shared > libraries", it seems that the easiest thing to try would be to reduce > the number of symbols that are globally visible. After carefully >

Re: -disable-fixincludes doesn't quite work, minor

2010-05-10 Thread Ian Lance Taylor
Jay K writes: > Ok if I do both or the emails are just annoying? As far as I'm concerned, it's fine to do both. > I find that bugs are often ignored just as well (but not lost/forgotten, > granted. :) ) Agreed on both counts. Ian

Re: a peculiar fpload problem on an inferior processor

2010-05-10 Thread Amker.Cheng
On Sat, May 8, 2010 at 2:52 PM, Amker.Cheng wrote: >>  Ah, I forgot pro/epilogue generation, but I think that's the only other >> thing that happens after reload.  That is a special case: it has to generate >> strict rtl that directly matches the insns it wants.  You'll probably have to >> arrange

Re: ARM Neon Tests Failing on non-Neon Target

2010-05-10 Thread Mark Mitchell
Richard Earnshaw wrote: > Speaking of which, we should probably formally deprecate the old arm-elf > derived targets in 4.6 so that we can remove them in 4.7. > Similarly, we should deprecate support for the FPA on ARM. I agree. -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-338

Is it safe to use $t0 when handling call clobbered registers (on MIPS)

2010-05-10 Thread Amker.Cheng
Hi : I'm working on a fpu which cannot work fpload insns right, so I have to use a GPR reg as temp reg to first load mem into GPR then move GPR into fpu register. I have handled most cases but the case gcc handling call clobbered fpu registers. since it is in reload pass, I have no available GPR

Re: C++0x Memory model and gcc

2010-05-10 Thread Miles Bader
Andrew MacLeod writes: > -fmemory-model=single - Enable all data races introductions, as they > are today. (relax all 4 internal restrictions.) One could still use this mode with a multi-threaded program as long as explicit synchronization is done, right? -Miles -- Road, n. A strip of land

Re: optimizing a DSO

2010-05-10 Thread Jakub Jelinek
On Mon, May 10, 2010 at 05:15:51PM -0700, Ian Lance Taylor wrote: > The most obvious change in your data is that the number of hash > buckets dropped from 4099 to 2053. It's entirely possible that you > were close to the boundary of when the linker decides to increase the > number of hash buckets.