[11478] in Athena Bugs

home help back first fref pref prev next nref lref last post

gcc 2.1 on the vax

daemon@ATHENA.MIT.EDU (Bill Cattey)
Thu Dec 2 23:39:54 1993

Date: Thu,  2 Dec 1993 23:39:27 -0500 (EST)
From: Bill Cattey <wdc@MIT.EDU>
To: bugs@MIT.EDU, gnu@MIT.EDU, watchmaker@MIT.EDU

Warning:  The default gcc for the vax (in the gnu locker since we don't
have vax cygnus gcc), gcc2.1 screwed up in the following way: 

memset(foo, ' ', 2); 

It in-lined the memset to stuff a constant into the memory pointed to 
by foo, but the constant was mis-generated. 

Instead of (32 * 256 + 32) (a space, shifted left 8 bits plus a space) 
The constant 538976288 was used. 
Luckily, the assembler noticed this wasn't a 16 bit quantity and complained! 

We should decide what we're going to do about vax gcc. 

Should we make 1.40 the default and wait for January to come and the
vaxes to go? 

-wdc 
 

home help back first fref pref prev next nref lref last post