summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/utils/TableGen/ARMDecoderEmitter.cpp
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2010-09-20 04:20:55 +0000
committermarcel <marcel@FreeBSD.org>2010-09-20 04:20:55 +0000
commite3d05690361abbb1b04fac7e25bb62d95a7b6d36 (patch)
treeda835ee84e13451f120d2e911db89e6275149c87 /contrib/llvm/utils/TableGen/ARMDecoderEmitter.cpp
parentec0b99e7f0f65e9161c5baf6c115e6bf1ee2da41 (diff)
downloadFreeBSD-src-e3d05690361abbb1b04fac7e25bb62d95a7b6d36.zip
FreeBSD-src-e3d05690361abbb1b04fac7e25bb62d95a7b6d36.tar.gz
Unbreak the build on strong-aligned architectures (arm, ia64).
Casting from (char *) to (struct ufs1_dinode *) changes the alignment requirement of the pointer and GCC does not know that the pointer is adequately aligned (due to malloc(3)), and warns about it. Cast to (void *) first to by-pass the check.
Diffstat (limited to 'contrib/llvm/utils/TableGen/ARMDecoderEmitter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud