[RFA:] Fix g++.law/bit-fields2.C for mmix-knuth-mmixware

Hans-Peter Nilsson hp@bitrange.com
Mon Mar 25 15:23:00 GMT 2002


On Mon, 25 Mar 2002, Richard Henderson wrote:
> On Mon, Mar 25, 2002 at 03:05:20PM -0800, Richard Henderson wrote:
> > On Mon, Mar 25, 2002 at 06:38:23AM -0500, Hans-Peter Nilsson wrote:
> > > 	* g++.old-deja/g++.law/bit-fields2.C: Check against
> > >  	sizeof (void *), not sizeof (unsigned int).

> Yer screwed.  You can play games with typedefs and target
> specific ifdefs up at the top of the file if you like, but
> there is no generic one-size-fits-all answer.

Allright, I'll add a comment "This test is only meant for
targets where EMPTY_FIELD_BOUNDARY is defined to no larger than
the size of an unsigned int, or PCC_BITFIELD_TYPE_MATTERS is
defined" and skip it for mmix-knuth-mmixware.

brgds, H-P



More information about the Gcc-patches mailing list