Commit e51333e4 by Tobias Burnus Committed by Tobias Burnus

trans-decl.c (gfc_generate_function_code): Use all arguments of set_std.

2007-03-16  Tobias Burnus  <burnus@net-b.de>

       * trans-decl.c (gfc_generate_function_code): Use all arguments of
         set_std.

From-SVN: r122981
parent ba006834
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> 2007-03-15 Francois-Xavier Coudert <coudert@clipper.ens.fr>
* gfortran.h (gfc_option_t): Add flag_backtrace field. * gfortran.h (gfc_option_t): Add flag_backtrace field.
......
...@@ -3137,7 +3137,7 @@ gfc_generate_function_code (gfc_namespace * ns) ...@@ -3137,7 +3137,7 @@ gfc_generate_function_code (gfc_namespace * ns)
if (sym->attr.is_main_program) if (sym->attr.is_main_program)
{ {
tree gfc_int4_type_node = gfc_get_int_type (4); 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, build_int_cst (gfc_int4_type_node,
gfc_option.warn_std), gfc_option.warn_std),
build_int_cst (gfc_int4_type_node, build_int_cst (gfc_int4_type_node,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment