------- Comment #2 from kargl at gcc dot gnu dot org  2009-04-24 05:22 -------
This patch allows the code in comment #2 to compile with -std=f95.
Don't know if it is correct.

REMOVE:kargl[194] svn diff trans-decl.c 
Index: trans-decl.c
===================================================================
--- trans-decl.c        (revision 146588)
+++ trans-decl.c        (working copy)
@@ -1396,7 +1396,6 @@ build_function_decl (gfc_symbol * sym)
   gfc_formal_arglist *f;

   gcc_assert (!sym->backend_decl);
-  gcc_assert (!sym->attr.external);

   /* Set the line and filename.  sym->declared_at seems to point to the
      last statement for subroutines, but it'll do for now.  */


-- 

kargl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|                            |4.3.2 4.5.0
   Last reconfirmed|0000-00-00 00:00:00         |2009-04-24 05:22:22
               date|                            |


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

Reply via email to