[Patch] libstdc++/30586

Paolo Carlini pcarlini@suse.de
Fri Jan 26 18:09:00 GMT 2007


Paolo Carlini wrote:

> Hi,
>
> this is the patch I tested on ia64-linux (and x86-linux), rather 
> straightforward.
>
> I'll wait until tomorrow evening italian time, anyway.

Committed to mainline and 4_2-branch.

As regards 4_1-branch, the bug is latent, because, as noticed by 
Andreas, in that branch we have the more serious issue that the 
atomic_word.h tailored at powerpc, alpha and ia64 are mistakenly not 
used, instead just the generic one. Thus, I mean to commit there also 
the below additional hunk.

Paolo.

////////////////

Index: configure.host
===================================================================
--- configure.host    (revision 121196)
+++ configure.host    (working copy)
@@ -119,9 +119,18 @@
 # Set specific CPU overrides for atomic_word_dir. Most can just use 
generic.
 # THIS TABLE IS SORTED.  KEEP IT THAT WAY.
 case "${host_cpu}" in
+  alpha*)
+    atomic_word_dir=cpu/alpha
+    ;;
   cris*)
     atomic_word_dir=cpu/cris
     ;;
+  ia64)
+    atomic_word_dir=cpu/ia64
+    ;;
+  powerpc* | rs6000)
+    atomic_word_dir=cpu/powerpc
+    ;;
   sparc* | ultrasparc)
     atomic_word_dir=cpu/sparc
     ;;



More information about the Libstdc++ mailing list