Re: GCC C bug: sizeof a union of structs returns zero value

2004-12-17 Thread Richard Henderson
On Thu, Dec 16, 2004 at 06:52:35PM -0800, Hugh Daniel wrote: char ccc[ sizeof( union{ struct aaa; struct bbb; })]; In ISO Standard C, this doesn't do what you think it does. What you are attempting to use is an ill-conceived Microsoft extension. You can enable *some* amount of support for this

Re: gcc3.1 now sign-extends unsigned integer function arguments on alpha

2002-05-16 Thread Richard Henderson
On Thu, May 16, 2002 at 11:06:50PM -0400, John Baldwin wrote: With gcc 2.95, when a register was passed to this function, the value was zero-extended using the zapnot instruction. If so, that was incorrect. The Alpha OSF/1 ABI specifies that all 32-bit arguments and return values are to be

Re: c/5707: i386 compiler can't build libgcc2.c with -msoft-float

2002-03-05 Thread Richard Henderson
On Tue, Mar 05, 2002 at 06:15:19AM -0600, Joel Sherrill wrote: Richard/Jan could you try this out and take a stab at fixing it? This is a real pain for the embedded community using i386dx/ex and 486sx derived CPUs See if this is all you need r~ Index: config/i386/i386md