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]

Re: ARM compiler misbehaves ?


Hei
Interesting discussion.
Our ARM technical manual says that useing word(16 bit) pointers is either
1. UNSPECIFIED or
2. Masks out the least significant bit
So the start of this discussion shows a non portable code so we have rearanged our code.


Svein-Erik

Bill Gatliff wrote:
Guys:


ldr pc, =dead_horse


:^)


Oh, wait:


Maybe gcc should have an error checking mode that complains
about assigning an address of an unaligned value to an aligned
pointer (if it doesn't already).


Actually, I think it does. It's a -W something-or-other.



b.g.




------
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]