zsh-workers
 help / color / mirror / code / Atom feed
* C01arith.ztst
@ 2004-05-12 19:08 Clint Adams
  2004-05-13  9:36 ` C01arith.ztst Peter Stephenson
  0 siblings, 1 reply; 5+ messages in thread
From: Clint Adams @ 2004-05-12 19:08 UTC (permalink / raw)
  To: zw

> Yup, working on RHEL (actually CentOS, but they should be equivalent).

I don't have any problems with C03traps, but I notice

Test ../../Test/C01arith.ztst failed: bad status 1, expected 0 from:
  print $((##))
Error output:
(eval):1: bad math expression: illegal character: ^P
Was testing: ## without following character

on at least two of our mips autobuilders.

http://buildd.debian.org/fetch.php?&pkg=zsh&ver=4.2.0-10&arch=mips&stamp=1084382326&file=log&as=raw
http://buildd.debian.org/fetch.php?&pkg=zsh-beta&ver=4.2.0-dev-1%2B20040512-1&arch=mips&stamp=1084379509&file=log&as=raw

Any idea what this means?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: C01arith.ztst
  2004-05-12 19:08 C01arith.ztst Clint Adams
@ 2004-05-13  9:36 ` Peter Stephenson
  2004-05-14 19:31   ` C01arith.ztst Clint Adams
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Stephenson @ 2004-05-13  9:36 UTC (permalink / raw)
  To: zw

Clint Adams wrote:
> > Yup, working on RHEL (actually CentOS, but they should be equivalent).
> 
> I don't have any problems with C03traps, but I notice
> 
> Test ../../Test/C01arith.ztst failed: bad status 1, expected 0 from:
>   print $((##))
> Error output:
> (eval):1: bad math expression: illegal character: ^P
> Was testing: ## without following character

Suggests some problem with tokenisation or parsing.  Should be
relatively easy to trace by hand, if it's tied to the command and not
the environment.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: C01arith.ztst
  2004-05-13  9:36 ` C01arith.ztst Peter Stephenson
@ 2004-05-14 19:31   ` Clint Adams
  2004-05-14 21:51     ` C01arith.ztst Clint Adams
  0 siblings, 1 reply; 5+ messages in thread
From: Clint Adams @ 2004-05-14 19:31 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: zw

> Suggests some problem with tokenisation or parsing.  Should be
> relatively easy to trace by hand, if it's tied to the command and not
> the environment.

The string stored at ptr, after ptr is no longer equal to optr, changes
from "" to "\020" when checkunary() is called.  I'm going to try again
with gcc -O0 to see if the same thing happens.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: C01arith.ztst
  2004-05-14 19:31   ` C01arith.ztst Clint Adams
@ 2004-05-14 21:51     ` Clint Adams
  2004-05-14 22:17       ` C01arith.ztst Falk Hueffner
  0 siblings, 1 reply; 5+ messages in thread
From: Clint Adams @ 2004-05-14 21:51 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: zw, debian-gcc, debian-mips

> The string stored at ptr, after ptr is no longer equal to optr, changes
> from "" to "\020" when checkunary() is called.  I'm going to try again
> with gcc -O0 to see if the same thing happens.

The test passes with no optimization; I guess this means it's a gcc bug
specific to mips.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: C01arith.ztst
  2004-05-14 21:51     ` C01arith.ztst Clint Adams
@ 2004-05-14 22:17       ` Falk Hueffner
  0 siblings, 0 replies; 5+ messages in thread
From: Falk Hueffner @ 2004-05-14 22:17 UTC (permalink / raw)
  To: Clint Adams; +Cc: Peter Stephenson, zw, debian-gcc, debian-mips

Clint Adams <clint@zsh.org> writes:

>> The string stored at ptr, after ptr is no longer equal to optr, changes
>> from "" to "\020" when checkunary() is called.  I'm going to try again
>> with gcc -O0 to see if the same thing happens.
>
> The test passes with no optimization; I guess this means it's a gcc
> bug specific to mips.

Please file a bug report with a test case, then.

-- 
	Falk


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-05-15  1:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-12 19:08 C01arith.ztst Clint Adams
2004-05-13  9:36 ` C01arith.ztst Peter Stephenson
2004-05-14 19:31   ` C01arith.ztst Clint Adams
2004-05-14 21:51     ` C01arith.ztst Clint Adams
2004-05-14 22:17       ` C01arith.ztst Falk Hueffner

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).