- 03 Jun, 2004 3 commits
-
-
tobi authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82605 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
lists instead of compound expr chains. (gfc_trans_code): Annotate statement lists. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82604 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82603 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 02 Jun, 2004 1 commit
-
-
tobi authored
PR fortran/15557 * data.c (assign_substring_data_value): New function. (gfc_assign_data_value): Call the new function if we're dealing with a substring LHS. testsuite/ PR fortran/15557 * gfortran.fortran-torture/execute/data_3.f90: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82570 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 01 Jun, 2004 1 commit
-
-
tobi authored
* gfortran.h (GFC_VERSION): Remove. * gfortran.texi (version-gfortran): Remove, replace by version-GCC where used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82544 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 31 May, 2004 1 commit
-
-
tobi authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82492 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 30 May, 2004 3 commits
-
-
tobi authored
* trans-const.c (gfc_conv_string_init): Allow variable string length lower than initialization string length. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82457 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
* trans-decl.c (gfc_shadow_sym, gfc_restore_sym): New functions. * trans-expr.c (gfc_trans_string_copy): New function. (gfc_conv_statement_function): Use them. Create temp vars. Enforce character lengths. (gfc_conv_string_parameter): Use gfc_trans_string_copy. * trans-stmt.c (gfc_trans_forall_1): Use gfc_{shadow,restore}_sym. * trans.h (struct gfc_saved_var): Define. (gfc_shadow_sym, gfc_restore_sym): Add prototypes. testsuite/ * gfortran.fortran-torture/execute/st_function_1.f90: New test. * gfortran.fortran-torture/execute/st_function_2.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82452 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
libgfortran/ * libgfortran.h (random_seed): Update prototype. * intrinsics/random.c: Disable old implementation and add new one. testsuite/ * gfortran.fortran-torture/execute/random_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82443 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 29 May, 2004 3 commits
-
-
pbrook authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82418 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82412 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
testsuite/ * gfortran.fortran-torture/execute/equiv_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82411 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 27 May, 2004 1 commit
-
-
tobi authored
(gfc_current_locus): Declare new global variable. * scanner.c (gfc_current_locus, gfc_set_locus): Remove. (gfc_current_locus1): Rename ... (gfc_current_locus): ... to this. (gfc_at_eof, gfc_at_bol, gfc_at_eol, gfc_advance_line, next_char, skip_fixed_comments, skip_free_comments, gfc_next_char_literal, gfc_peek_char, gfc_gobble_whitespace, gfc_new_file): Use gfc_current_locus instead of gfc_current_locus1, gfc_set_locus() and gfc_current_locus(), respectively. * array.c (match_subscript, gfc_match_array_ref, match_array_list, match_array_cons_element, gfc_match_array_constructor): Read/modify gfc_current_locus instead of calling gfc_set_locus() and gfc_current_locus(). * decl.c (gfc_match_null, variable_decl, gfc_match_kind_spec, match_attr_spec, gfc_match_function_decl, gfc_match_end, attr_decl1, gfc_match_save): Likewise. * error.c (error_print, gfc_internal_error): Likewise. * expr.c (gfc_int_expr, gfc_default_logical_kind): Likewise. * interface.c...
-
- 26 May, 2004 2 commits
-
-
sayle authored
* io.c (format_asterisk): Silence compiler warnings by correcting the number of elements of a "locus" initializer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82301 138bc75d-0d04-0410-961f-82ee72b054a4
-
sayle authored
PR fortran/13912 * matchexp.c: Allow unary operators after arithmetic operators as a GNU extension. (match_ext_mult_operand, match_ext_add_operand): New functions. (match_mult_operand): Tweak to call match_ext_mult_operand. (match_add_operand): Tweak to call match_ext_mult_operand. (match_level_2): Rearrange to call match_ext_add_operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82277 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 23 May, 2004 4 commits
-
-
pbrook authored
testsuite/ * gfortran.fortran-torture/compile/inquiry_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82177 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
* expr.c (restricted_args): Remove redundant checks/argument. (external_spec_function): Update to match. (restricted_intrinsic): Rewrite. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82166 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
* trans-common.c: Change int to HOST_WIDE_INT. Capitalize error messages. (current_length): Remove. (add_segments): New function. (build_equiv_decl): Create initialized common blocks. (build_common_decl): Always add decl to bindings. (create_common): Create initializers. (find_segment_info): Reformat to match coding conventions. (new_condition): Use add_segments. (add_condition, find_equivalence, add_equivalences): Move iteration inside functions. Only process each segment once. (new_segment, finish_equivalences, translate_common): Simplify. testsuite/ * gfortran.fortran-torture/execute/common_init_1.f90: New test. * gfortran.fortran-torture/execute/equiv_init.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82165 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82162 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 22 May, 2004 6 commits
-
-
pbrook authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82139 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
(gfc_show_namespace): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82136 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
* symbol.c (gfc_add_common): Disable checks to work around other more fundamental inadequacies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82134 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
only for functions. (gfc_build_function_decl): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82132 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
* intrinsic.c (add_sym_3s): New function. (add_subroutines): Use it. * intrinsic.h (gfc_check_system_clock, gfc_resolve_system_clock): Add prototypes. * iresolve.c (gfc_resolve_system_clock): New function. libgfortran/ * intrinsics/system_clock: New file. * Makefile.am: Add intrinsics/system_clock.c. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82131 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
* lang.opt: Add Wunderflow. * gfortran.h (gfc_option_t): Add warn_underflow option. * options.c (gfc_init_options, set_Wall): Use it. * primary.c (match_real_constant): Explicitly handle UNDERFLOW. * arith.c (gfc_arith_uminus, gfc_arith_plus, gfc_arith_minus, gfc_arith_times, gfc_arith_divide, gfc_arith_power, gfc_real2real, gfc_real2complex, gfc_complex2real, gfc_complex2complex): Ditto. * arith.c (common_logarithm): Fix typo in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82130 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 21 May, 2004 2 commits
-
-
sayle authored
* io.c (check_format): As a GNU extension, allow the comma after a string literal to be optional in a format. Use gfc_notify_std to issue an error/warning as appropriate. * io/format.c (parse_format_list): Allow the comma after a string literal to be optional. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82109 138bc75d-0d04-0410-961f-82ee72b054a4
-
sayle authored
* io.c (check_format): Use gfc_notify_std to determine whether to issue an error/warning for omitting the digits from the X format. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82106 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 20 May, 2004 1 commit
-
-
sayle authored
* io.c (format_item): Allow the number before the X format to be optional when not -pedantic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82067 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 19 May, 2004 2 commits
-
-
pbrook authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82023 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
Create decls for __builtin_pow{,f}. * gfortran.h (PREFIX_LEN): Define. * trans-decl.c (gfor_fndecl_math_powi): Add. (gfor_fndecl_math_powf, gfor_fndecl_math_pow): Remove. (gfc_build_intrinsic_function_decls): Create decls for powi. * trans-expr.c (powi_table): Add. (gfc_conv_integer_power): Remove. (gfc_conv_powi): New function. (gfc_conv_cst_int_power): New function. (gfc_conv_power_op): Use new powi routines. * trans.h (struct gfc_powdecl_list): Add. (gfor_fndecl_math_powi): Add. (gfor_fndecl_math_powf, gfor_fndecl_math_pow): Remove. testsuite/ * gfortran.fortran-torture/execute/power.f90: Test constant integers. libgfortran/ * Makefile.am (i_pow_c): Set it. Add build rule. (gfor_built_src): Use it. (m4_files): add m4/pow.m4. * Makefile.in: Regenerate. * m4/pow.m4: New file. * generated/pow_*.c: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82014 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 18 May, 2004 4 commits
-
-
tobi authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82008 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81997 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
* arith.c (gfc_int2complex): Fix incorrect range checking. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81985 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
* decl.c (add_init_expr_to_sym): Remove incorrect check. (default_initializer): Move to expr.c. (variable_decl): Don't assign default initializer to variables. * expr.c (gfc_default_initializer): Move to here. * gfortran.h (gfc_default_initializer): Add prototype. * resolve.c (resolve_symbol): Check for illegal initializers. Assign default initializer. testsuite/ * gfortran.fortran-torture/execute/der_init_4.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81966 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 17 May, 2004 2 commits
-
-
tobi authored
* arith.c (gfc_arith_power): Complex number raised to 0 power is 1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81959 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
* arith.c (gfc_real2complex): Range checking wrong part of complex number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81957 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 16 May, 2004 3 commits
-
-
pbrook authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81925 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81918 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81912 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 15 May, 2004 1 commit
-
-
tobi authored
* decl.c (add_init_expr_to_sym): Verify that COMMON variable is not initialized in a disallowed fashion. * match.c (gfc_match_common): Likewise. (var_element): Verify that variable is not in the blank COMMON, if it is in a common. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81899 138bc75d-0d04-0410-961f-82ee72b054a4
-