This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/34262] MVBITS does not work for arrays



------- Comment #2 from burnus at gcc dot gnu dot org  2007-11-28 14:20 -------
The following fixes it, but I need to check for unwanted side effects:

Index: intrinsic.c
===================================================================
--- intrinsic.c (revision 130489)
+++ intrinsic.c (working copy)
@@ -104,6 +104,7 @@ gfc_get_intrinsic_sub_symbol (const char
   gfc_symbol *sym;

   gfc_get_symbol (name, gfc_intrinsic_namespace, &sym);
+  sym->attr.elemental = 1;
   sym->attr.always_explicit = 1;
   sym->attr.subroutine = 1;
   sym->attr.flavor = FL_PROCEDURE;


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |burnus at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
  GCC build triplet|?                           |
   GCC host triplet|?                           |
 GCC target triplet|?                           |
   Last reconfirmed|2007-11-28 14:09:34         |2007-11-28 14:20:53
               date|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]