re PR target/32748 (gfortran.dg/array_constructor_6.f90)
authorJanne Blomqvist <jb@gcc.gnu.org>
Sun, 15 Jul 2007 21:33:32 +0000 (00:33 +0300)
committerJanne Blomqvist <jb@gcc.gnu.org>
Sun, 15 Jul 2007 21:33:32 +0000 (00:33 +0300)
2007-07-16  Janne Blomqvist  <jb@gcc.gnu.org>

PR fortran/32748
* trans-decl.c (gfc_build_builtin_function_decls): Remove
DECL_IS_MALLOC attribute from internal_realloc, thus reverting
part of my 2007-07-03 patch.

From-SVN: r126662

gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c

index c71a360..67b31a6 100644 (file)
@@ -1,3 +1,10 @@
+2007-07-16  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       PR fortran/32748
+       * trans-decl.c (gfc_build_builtin_function_decls): Remove
+       DECL_IS_MALLOC attribute from internal_realloc, thus reverting
+       part of my 2007-07-03 patch.
+
 2007-07-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
            Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
index ddd8025..e07fba4 100644 (file)
@@ -2290,7 +2290,6 @@ gfc_build_builtin_function_decls (void)
                                     (PREFIX("internal_realloc")),
                                     pvoid_type_node, 2, pvoid_type_node,
                                     gfc_index_int_type_node);
-  DECL_IS_MALLOC (gfor_fndecl_internal_realloc) = 1;
 
   gfor_fndecl_allocate =
     gfc_build_library_function_decl (get_identifier (PREFIX("allocate")),