Re: C01arith.ztst

2004-05-15 Thread Clint Adams
> "-O2 -fwritable-strings" produces the same behavior as "-O2". It's fine with -O0 and -O1. Should I be trying -fwritable-strings with one of those?

Re: C01arith.ztst

2004-05-15 Thread Clint Adams
> I missed the beginning of this thread. What gcc version? Do you have a > small test program? How about "-O2 -fwritable-strings"? ii gcc3.3.3-2The GNU C compiler No. "-O2 -fwritable-strings" produces the same behavior as "-O2".

Re: C01arith.ztst

2004-05-14 Thread Falk Hueffner
Clint Adams <[EMAIL PROTECTED]> 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 mean

Re: C01arith.ztst

2004-05-14 Thread Clint Adams
> 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.