[PATCH] Fix d_u32align probe on ARM
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Wed, 23 Jun 2010 14:34:04 +0000 (16:34 +0200)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Wed, 23 Jun 2010 14:34:04 +0000 (16:34 +0200)
commitf1c7503b9028d20741c9a01345ba8704998ea381
tree2958fa7ac7c600df65e17486c2e37be8a494595e
parentc457df0449f0dea3e420c5db9e823240ec3148a0
[PATCH] Fix d_u32align probe on ARM

From: Marc Pignat <marc@pignat.org>
Date: Wed, 23 Jun 2010 15:38:37 +0200

My proposed solution is to use the 'volatile' keyword to make sure the
compiler will really do the job.

Please note that it does not work with -O3, but the configure script
compile with -O2, so this should be fine.

At this time I've only tested the Configure scripts, which now detects
the align problem on ARM. I'm compiling the whole thing to check if the
md5 bug goes away!

I hope this will fix this *5 years* old bug, and the upstream bug as
well!

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Configure