[Bug fortran/37472] bad output on default-format write of double in common block with -m64 flag i

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Dec 21 05:30:00 GMT 2008



------- Comment #13 from jvdelisle at gcc dot gnu dot org  2008-12-21 05:28 -------
This little patch eliminates the misalignment of output characters with -m32
and gets rid of a many many valgrind errors.

@@ -628,7 +637,7 @@ output_float_FMT_G_ ## x (st_parameter_d
 \
   while (low <= high)\
     { \
-      GFC_REAL_ ## x temp;\
+      float temp;\
       mid = (low + high) / 2;\
 \
       temp = 0.1 * calculate_exp_ ## x (mid) - 0.5\


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37472



More information about the Gcc-bugs mailing list