Re: Set environment variable on remote target

2008-07-17 Thread Andreas Schwab
Jie Zhang <[EMAIL PROTECTED]> writes: > Andreas Schwab wrote: >> Jie Zhang <[EMAIL PROTECTED]> writes: >> >>> @@ -261,7 +262,11 @@ proc rsh_exec { boardname program pargs inp outp } { >>> set inp "/dev/null" >>> } >>> -set ret [local_exec "$RSH $rsh_useropts $hostname sh -c '$program

RE: Question about doloop_end pattern

2008-07-17 Thread Bingfeng Mei
Thanks. I was looking at bfin. MT's implementation looks similar but simpler. > -Original Message- > From: Ramana Radhakrishnan [mailto:[EMAIL PROTECTED] > Sent: 16 July 2008 19:17 > To: Bingfeng Mei > Cc: gcc@gcc.gnu.org > Subject: Re: Question about doloop_end pattern > > Hi Bingfeng

size of array "" is too large

2008-07-17 Thread Hariharan
Hello, I see that in x86 GCC, you can define a structure with struct trial { long a[10]; }; Whereas in a 16-bit target (picochip), you cannot define, struct trial { long a[1]; }; In the case above, i get a "size of array ‘a’ is too large" error. The thing that took me by surp

Re: Set environment variable on remote target

2008-07-17 Thread Jie Zhang
Andreas Schwab wrote: Jie Zhang <[EMAIL PROTECTED]> writes: Andreas Schwab wrote: Jie Zhang <[EMAIL PROTECTED]> writes: @@ -261,7 +262,11 @@ proc rsh_exec { boardname program pargs inp outp } { set inp "/dev/null" } -set ret [local_exec "$RSH $rsh_useropts $hostname sh -c '

Re: size of array "" is too large

2008-07-17 Thread Nicholas Sherlock
Hariharan wrote: [...] in a 16-bit target (picochip), you cannot define, struct trial { long a[1]; }; In the case above, i get a "size of array ‘a’ is too large" error. The thing that took me by surprise was, if i split the structure to struct trial { long a[5000]; long b[5000]; };

Re: Set environment variable on remote target

2008-07-17 Thread Andreas Schwab
Jie Zhang <[EMAIL PROTECTED]> writes: > So we have to use single quotes. The updated patch is attached. This will break if the value can contain single quotes. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fi

Bootstrap failure in stage 1 on trunk for i686-pc-linux-gnu

2008-07-17 Thread Rainer Emrich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 /opt/gnu/src/gcc/gcc-4.4.0/gcc/reload1.c: In function ‘choose_reload_regs’: /opt/gnu/src/gcc/gcc-4.4.0/gcc/reload1.c:6083: error: expected expression at end of input /opt/gnu/src/gcc/gcc-4.4.0/gcc/reload1.c:6083: error: expected declaration or stateme

Re: Bootstrap failure in stage 1 on trunk for i686-pc-linux-gnu

2008-07-17 Thread H.J. Lu
On Thu, Jul 17, 2008 at 7:51 AM, Rainer Emrich <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > /opt/gnu/src/gcc/gcc-4.4.0/gcc/reload1.c: In function 'choose_reload_regs': > /opt/gnu/src/gcc/gcc-4.4.0/gcc/reload1.c:6083: error: expected expression at > end > of input

Re: Bootstrap failure in stage 1 on trunk for i686-pc-linux-gnu

2008-07-17 Thread Rainer Emrich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 H.J. Lu schrieb: | On Thu, Jul 17, 2008 at 7:51 AM, Rainer Emrich <[EMAIL PROTECTED]> wrote: |> -BEGIN PGP SIGNED MESSAGE- |> Hash: SHA1 |> |> /opt/gnu/src/gcc/gcc-4.4.0/gcc/reload1.c: In function 'choose_reload_regs': |> /opt/gnu/src/gcc/gcc-

Re: Bootstrap failure in stage 1 on trunk for i686-pc-linux-gnu

2008-07-17 Thread H.J. Lu
On Thu, Jul 17, 2008 at 8:48 AM, Rainer Emrich <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > H.J. Lu schrieb: > | On Thu, Jul 17, 2008 at 7:51 AM, Rainer Emrich <[EMAIL PROTECTED]> > wrote: > |> -BEGIN PGP SIGNED MESSAGE- > |> Hash: SHA1 > |> > |> /opt/gnu

Re: Bootstrap failure in stage 1 on trunk for i686-pc-linux-gnu

2008-07-17 Thread Rainer Emrich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 H.J. Lu schrieb: | On Thu, Jul 17, 2008 at 8:48 AM, Rainer Emrich <[EMAIL PROTECTED]> wrote: |> -BEGIN PGP SIGNED MESSAGE- |> Hash: SHA1 |> |> H.J. Lu schrieb: |> | On Thu, Jul 17, 2008 at 7:51 AM, Rainer Emrich <[EMAIL PROTECTED]> |> wrote: |

Re: How to implement conditional execution

2008-07-17 Thread Paul Brook
On Friday 27 June 2008, Julian Brown wrote: > On Fri, 27 Jun 2008 15:52:22 +0530 > > "Mohamed Shafi" <[EMAIL PROTECTED]> wrote: > > If the condition in the 'if' instruction is satisfied the processor > > will execute the next instruction or it will replace with a nop. So > > this means that i can i

Re: Bootstrap failure in stage 1 on trunk for i686-pc-linux-gnu

2008-07-17 Thread Ralf Wildenhues
> > | On Thu, Jul 17, 2008 at 7:51 AM, Rainer Emrich <[EMAIL PROTECTED]> wrote: > > |> /opt/gnu/src/gcc/gcc-4.4.0/gcc/reload1.c: In function > > 'choose_reload_regs': > > |> /opt/gnu/src/gcc/gcc-4.4.0/gcc/reload1.c:6083: error: expected > > expression at end of input Looks like a corrupted file.

gcc-4.3-20080717 is now available

2008-07-17 Thread gccadmin
Snapshot gcc-4.3-20080717 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.3-20080717/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.3 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches