This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Richard Earnshaw wrote: > > > In litte-endian mode, gcc-3.0.3 built for ARM makes an unaligned access to a > > bitfield in a packed structure in fp-bit.c:unpack_d. > > FLOAT_BIT_ORDER_MISMATCH is defined in this case. This happens with > > -O2 or without. How can this be fixed in a general way? > > I think you need to compile your code with -malignment-traps Be careful not to use the similarly named -malignant-traps option; I've seen more than one programmer loose a foot that way :-) - Dan ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |