charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Ake Sandgren <ake.sandgren AT hpc2n.umu.se>
- To: charm AT cs.uiuc.edu
- Subject: [charm] Patch for charm 6.x (including git HEAD)
- Date: Fri, 01 Mar 2013 15:09:11 +0100
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
Hi!
Found a bug in two configure tests that the Intel compiler incorrectly
failed on.
Patch attached.
--
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet:
ake AT hpc2n.umu.se
Phone: +46 90 7866134 Fax: +46 90 7866126
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se
commit a3351a13c43f531d7e98decd362570992bffe7d6 Author: Ake Sandgren <ake AT hpc2n.umu.se> Date: Fri Mar 1 15:05:48 2013 +0100 Fix use of uninitialized variables in configure. - This was causing the tests to incorrectly fail with Intel. diff --git a/src/scripts/configure b/src/scripts/configure index c1a8a49..73e2c23 100755 --- a/src/scripts/configure +++ b/src/scripts/configure @@ -3041,7 +3041,7 @@ then cat > $t <<EOT int foo(void) { - int x; + int x = 0; asm("lock incl %0" :: "m" (x)); asm("lock decl %0" :: "m" (x)); return x; @@ -3133,7 +3133,7 @@ cat > $t <<EOT #include <malloc.h> void switchTLS() { - Elf64_Addr m1, m2; + Elf64_Addr m1, m2 = 0; asm volatile ("movq %%fs:0x0, %0\n\t" "movq %1, %%fs:0x0\n\t" : "=r"(m1)
- [charm] Patch for charm 6.x (including git HEAD), Ake Sandgren, 03/01/2013
Archive powered by MHonArc 2.6.16.