In perl.git, the branch maint-5.12 has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/e41dba3a72ad72a97b65d55bb763bd9eb4bd9c41?hp=691367f8ef160b3a115f819740efc779931f80dc>

- Log -----------------------------------------------------------------
commit e41dba3a72ad72a97b65d55bb763bd9eb4bd9c41
Author: H.Merijn Brand <[email protected]>
Date:   Wed Jun 23 16:34:04 2010 +0200

    [PATCH] Fix d_u32align probe on ARM
    
    From: Marc Pignat <[email protected]>
    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 <[email protected]>
-----------------------------------------------------------------------

Summary of changes:
 Configure |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Configure b/Configure
index 576b88d..3a8732b 100755
--- a/Configure
+++ b/Configure
@@ -30,7 +30,7 @@
 
 # $Id: Head.U 6 2006-08-25 22:21:46Z rmanfredi $
 #
-# Generated on Sat Feb 13 19:05:42 CET 2010 [metaconfig 3.5 PL0]
+# Generated on Wed Jun 23 16:03:55 CEST 2010 [metaconfig 3.5 PL0]
 # (with additional metaconfig patches by [email protected])
 
 cat >c1$$ <<EOF
@@ -18578,8 +18578,8 @@ $signal_t bletch(int s) { exit(4); }
 #endif
 int main() {
 #if BYTEORDER == 0x1234 || BYTEORDER == 0x4321
-    U8 buf[8];
-    U32 *up;
+    volatile U8 buf[8];
+    volatile U32 *up;
     int i;
 
     if (sizeof(U32) != 4) {

--
Perl5 Master Repository

Reply via email to