Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gcc] internal compiler error


  • To: arm-gcc@xxxxxxxxxxxxxxxx
  • Subject: Re: [arm-gcc] internal compiler error
  • From: Paul Brook <paul@xxxxxxxxxxxxxxxx>
  • Date: Mon, 5 Apr 2004 11:27:28 +0100

On Monday 05 April 2004 08:33, Gupta, Kshitij wrote:
> Hi Paul,
> 	Can we have an early access via the cvs.  We are stuck due to this
> compiler issue.
> warm regards
> -kshitij

Yes, instructions for accessing gcc cvs are at
http://gcc.gnu.org/cvs.html

You want the csl-arm-branch. ie. something like

cvs -d :ext:anoncvs@xxxxxxxxxxxxxxxx:/cvsroot/gcc co -P -r csl-arm-branch gcc

Alternatively you may be able to work around the problem by
(a) compiling that file without -g
or
(b) manually inlining the problematic functions. The bug is exposed by code of 
the form:

static inline int foo(int i){return (i+7)/8;}
void bar()
{
  int a[foo(16)];
}

Changing this to
voir bar()
{
  int a[(16+7)/8];
}

Should allow the code to compile.

Paul