emv@math.lsa.umich.edu (Edward Vielmetti) (07/31/90)
Ed said: perl on dec 5000, ultrix 4.0. fails tests 40-42 in op.s, all having to do with $&. fails tests 8 and 9 in op.eval, dealing with recursive evals. Chris said: I compiled everything without -O and all tests pass. Ed said: thanks Chris and Michael Stryker (strkyer@phyc.ucsf.edu), compiling with -g (not -O) and -DCRIPPLED_CC and it passes all tests. tmaeno@cc.titech.ac.jp (Toshinori Maeno) writes that they had the same problem on our MIPS3240 and Sony RISC NEWS. Mr. Ohta found that Mips C compiler generates buggy code for perly.c when we compiled with -O. Carl Fongheiser reports the same problem on UWS 2.2 on a 2100, and he got it to work when he undefined HAS_VOLATILE in config.h. "Apparently, Larry Wall and the MIPS compiler have different ideas as to what 'volatile' means." <cmf@unix.cis.pitt.edu> Ed now tries to compile and optimize, and finds that eval.c took over 14 hours to compile on a DS 5000 (!) as cc -c -DLANGUAGE_C -O -Olimit 2800 eval.c and it looks like toke.c is about the same. Time to buy more memory, it only has 8M in it right now. I'll let you know day after tomorrow when toke.c, teval.c, and ttoke.c are done compiling. If Mr. Maeno would try undefining HAS_VOLATILE on the Sony RISC NEWS C compiler and see if perl works with -O then that would be useful to know. --Ed Edward Vielmetti, U of Michigan math dept <emv@math.lsa.umich.edu>