------- Comment #2 from burnus at gcc dot gnu dot org  2009-05-07 14:51 -------
Stupid but working fix: Reverting the patch for PR 39791 on MIPS_DEBUGGING_INFO
only. I think that's the safest to do - even if it is not the most elegant way
of doing it. I don't like backporting Rev. 137975 which would be the proper fix
as one probably would need more modifications, risking regressions - and that
does not seem to be worthwile for PR 39791 on 4.3.x.

--- dwarf2out.c (revision 147216)
+++ dwarf2out.c (working copy)
@@ -11324,8 +11324,11 @@
     {
       tree domain = TYPE_DOMAIN (type);

+#ifndef MIPS_DEBUGGING_INFO
+      /* See PR bootstrap/40061 for the ifndef  */
       if (TYPE_STRING_FLAG (type) && is_fortran () && dimension_number > 0)
        break;
+#endif

       /* Arrays come in three flavors: Unspecified bounds, fixed bounds,
         and (in GNU C only) variable bounds.  Handle all three forms


-- 


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

Reply via email to