Index: gcc41.spec =================================================================== RCS file: /cvs/dist/devel/gcc/gcc41.spec,v retrieving revision 1.156 diff -r1.156 gcc41.spec 142a143 > Patch32: gcc-4.1.2-read_barrier_alpha.patch 450a452 > %patch32 -p1 -b .read_barrier_alpha --- gcc-4.1.2/libjava/sysdep/alpha/locks.h.read_barrier_alpha 2007-02-20 22:41:38.000000000 +0100 +++ gcc-4.1.2/libjava/sysdep/alpha/locks.h 2007-04-10 18:20:24.000000000 +0200 @@ -58,4 +58,10 @@ __asm__ __volatile__("wmb" : : : "memory"); } +inline static void +read_barrier() +{ + __asm__ __volatile__("mb" : : : "memory"); +} + #endif This would help AlphaCore. Please note, I already spoke with gcc-people and they told me that this is already fixed in HEAD.
Committed to SVN redhat/gcc-4_1-branch, will therefore show up in the next rawhide build.