[Bug fortran/36114] [4.4 Regression] "f951: internal compiler error: Bus error" due to revision 134867

jaydub66 at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat May 3 20:12:00 GMT 2008



------- Comment #1 from jaydub66 at gmail dot com  2008-05-03 20:11 -------
Confirmed. The ICEs you get are really due to my rev. 134867, which actually
also triggered some testsuite failures (use_only_1.f90 and g77/970915-0.f). I
have no idea why I didn't notice it (sorry!).

This can easily be fixed by the following small patch:

Index: gcc/fortran/misc.c
===================================================================
--- gcc/fortran/misc.c  (revision 134867)
+++ gcc/fortran/misc.c  (working copy)
@@ -77,6 +77,7 @@ gfc_clear_ts (gfc_typespec *ts)
   ts->derived = NULL;
   ts->kind = 0;
   ts->cl = NULL;
+  ts->interface = NULL;
   /* flag that says if the type is C interoperable */
   ts->is_c_interop = 0;
   /* says what f90 type the C kind interops with */


-- 


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



More information about the Gcc-bugs mailing list