OSDN Git Service

2007-03-16 Tobias Burnus <burnus@net-b.de>
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Mar 2007 09:50:18 +0000 (09:50 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Mar 2007 09:50:18 +0000 (09:50 +0000)
       * trans-decl.c (gfc_generate_function_code): Use all arguments of
         set_std.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122981 138bc75d-0d04-0410-961f-82ee72b054a4

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

index a738975..54c8e89 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-16  Tobias Burnus  <burnus@net-b.de>
+
+       * trans-decl.c (gfc_generate_function_code): Use all arguments of
+         set_std.
+
 2007-03-15  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
 
        * gfortran.h (gfc_option_t): Add flag_backtrace field.
index a98b11c..f8be3df 100644 (file)
@@ -3137,7 +3137,7 @@ gfc_generate_function_code (gfc_namespace * ns)
   if (sym->attr.is_main_program)
     {
       tree gfc_int4_type_node = gfc_get_int_type (4);
-      tmp = build_call_expr (gfor_fndecl_set_std, 3,
+      tmp = build_call_expr (gfor_fndecl_set_std, 5,
                             build_int_cst (gfc_int4_type_node,
                                            gfc_option.warn_std),
                             build_int_cst (gfc_int4_type_node,