Re: Problem in function in-lining

2006-04-13 Thread Martin Hicks
On Thu, Apr 13, 2006 at 07:32:39PM +0100, Dave Korn wrote: > On 13 April 2006 13:37, Martin Hicks wrote: > > > On Thu, Apr 13, 2006 at 01:34:10PM +0800, Ching-Hua Chang wrote: > >> We had ported gcc-3.4.2 to our own RISC, and meet a strange > >> case in optimization

Re: Problem in function in-lining

2006-04-13 Thread Martin Hicks
ouple weeks ago to the list, but never got any responses. http://gcc.gnu.org/ml/gcc/2006-04/msg00054.html mh -- Martin Hicks || [EMAIL PROTECTED] || PGP/GnuPG: 0x4C7F2BEE signature.asc Description: Digital signature

Re: gcc3.4.5: bug with inline on ppc405?

2006-04-04 Thread Martin Hicks
On Mon, Apr 03, 2006 at 10:31:19AM -0400, Martin Hicks wrote: > > Hi, > > I've run into a piece of code on ppc405 that does the wrong thing when a > function is automatically inlined. I don't really do ppc asm so I > haven't been able to isolate what exa

gcc3.4.5: bug with inline on ppc405?

2006-04-03 Thread Martin Hicks
fine if I leave the static, but also add the 'noinline' function attribute. I've posted "objdump -dS" output for post/cpu/b.o with and without cpu_post_test_bc() declared as static at: http://www.bork.org/~mort/ppcstatic/ Any hints appreciated. Let me know if any