- 17 Jan, 2005 2 commits
-
-
steven authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93780 138bc75d-0d04-0410-961f-82ee72b054a4
-
dorit authored
* fortran/f95-lang.c (gfc_init_builtin_functions): Call targetm.init_builtins. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93760 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 16 Jan, 2005 9 commits
-
-
pbrook authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93735 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
PR fortran/19182 * error.c (error_char): Line-buffer errors / warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93734 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93732 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
gfc_conv_intrinsic_scan, gfc_conv_intrinsic_verify): Remove 'gfc'-prefix from local variable, remove dead code, use correct type when inserting argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93731 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
gfc_conv_intrinsic_bound, gfc_conv_intrinsic_anyall, gfc_conv_intrinsic_count, gfc_conv_intrinsic_btest, gfc_conv_intrinsic_singlebitop): Use 'build_int_cst' instead of converting 'integer_zero_node' or 'integer_one_node' respectively. (gfc_conv_intrinsic_ishftc): Same, but store in local variable to evade re-building. (gfc_conv_intrinsic_strcmp, gfc_conv_intrinsic_rrspacing, gfc_conv_intrinsic_trim, gfc_conv_intrinsic_iargc): Use 'build_int_cst' instead of converting 'integer_zero_node' or 'integer_one_node' respectively. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93730 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
gfc_charlen_type_node as basic type for the range field. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93729 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
unsigned issue. Use build_int_cst instead of converting integer_zero_node. Remove unnecessary conversion. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93727 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
PR 19168 * resolve.c (check_case_overlap): Typo in comment. (validate_case_label_expr): Fix up kinds of case values (resolve_select): Properly handle kind mismatches. testsuite/ * gfortran.dg/select_5.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93725 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
PR fortran/17675 * trans-common.c (translate_common): Remove duplicate function call. (finish_equivalences): Preserve alignment when biasing offsets. testsuite/ * gfortran.dg/common_4.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93724 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 15 Jan, 2005 1 commit
-
-
tobi authored
ASCII-like character encoding. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93713 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 14 Jan, 2005 2 commits
-
-
pbrook authored
* resolve.c (compare_case): Cleanup. testsuite/ * gfortran.dg/select_1.f90: New test. * gfortran.dg/select_2.f90: New test. * gfortran.dg/select_3.f90: New test. * gfortran.dg/select_4.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93640 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
* resolve.c (compare_case): Give arguments correct type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93637 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 13 Jan, 2005 1 commit
-
-
kazu authored
typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93610 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 09 Jan, 2005 1 commit
-
-
pbrook authored
PR fortran/17675 * trans-common.c (current_common, current_offset): Remove. (create_common): Add head argument. (align_segment): New function. (apply_segment_offset): New function. (translate_common): Merge code from new_segment. Handle alignment. (new_segment): Remove. (finish_equivalences): Ensure proper alignment. testsuite/ * gfortran.dg/common_2.f90: New file. * gfortran.dg/common_3.f90: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93122 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 08 Jan, 2005 5 commits
-
-
tobi authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93095 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
gfc_constant_result, gfc_range_check, gfc_arith_power, eval_type_intrinsic0, eval_intrinsic_f2, gfc_real2real, gfc_real2complex, gfc_complex2int, gfc_complex2real, gfc_complex2complex): Fix whitespace issues. check.c (must_be, type_check, numeric_check, int_or_real_check, logical_array_check, array_check, scalar_check, nonoptional_check, variable_check, dim_check, check_a_kind, gfc_check_a_ikind, gfc_check_a_xkind, gfc_check_abs, gfc_check_all_any, gfc_check_allocated, gfc_check_a_p, gfc_check_besn, gfc_check_btest, gfc_check_char, gfc_check_cmplx, gfc_check_count, gfc_check_cshift, gfc_check_dcmplx, gfc_check_dble, gfc_check_digits, gfc_check_dot_product, gfc_check_eoshift, gfc_check_fnum, gfc_check_g77_math1, gfc_check_huge, gfc_check_i, gfc_check_iand, gfc_check_ibclr, gfc_check_ibits, gfc_check_ibset, gfc_check_idnint, gfc_check_ieor, gfc_check_index, gfc_check_int, gfc_check_ior, gfc_check_ishft, gfc_check_ishftc, gfc_check_kind, gfc_check_lb...
-
tobi authored
gfc_conv_intrinsic_bound, gfc_conv_intrinsic_minmaxloc, gfc_conv_intrinsic_ishft, gfc_conv_intrinsic_len): Remove trailing whitespace. (prepare_arg_info): Fix formatting, indenting and remove trailing whitespace. (gfc_conv_intrinsic_spacing, gfc_conv_intrinsic_trim): Remove trailing whitespace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93092 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93090 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
explicitly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93082 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 06 Jan, 2005 1 commit
-
-
tobi authored
fortran/ * gfortranspec.c (lang_specific_driver): Change year to 2005 in output of 'gfortran --version'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92995 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 03 Jan, 2005 1 commit
-
-
rth authored
* decl.c: Ditto * matchexp.c: Ditto * parse.c: Ditto * resolve.c: Ditto * st.c: Ditto * check.c: Remove stdlib.h and stdarg.h * error.c: Remove stdlib.h, stdarg.h, stdio.h, string.h * expr.c: Add system.h; remove stdarg.h, stdio.h, and string.h * f95-lang.c: Add system.h; remove stdio.h * interface.c: Add system.h; remove stdlib.h and string.h * intrinsic.c: Remove stdarg.h, stdio.h, and string.h * io.c: Remove string.h * simplify.c: Ditto * match.c: Remove stdarg.h and string.h * misc.c: Update copyright; add system.h; remove stdlib.h, string.h, and sys/stat.h * module.c: Add system.h; remove string.h, stdio.h, errno.h, unistd.h, and time.h * option.c: Remove string.h and stdlib.h * primary.c: Ditto * scanner.c: Update copyright; add system.h; remove stdlib.h, stdio.h, string.h, and strings.h * symbol.c: Add system.h; remove stdlib.h, stdio.h, and string.h * trans-array.c: Remove stdio.h and gmp.h * trans-const.c: Ditto * trans-expr.c: Ditto * trans-io.c: Ditto * trans-stmt.c: Ditto * trans.c: Ditto * trans-intrinsic.c: Remove stdio.h and string.h git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92866 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 29 Dec, 2004 1 commit
-
-
tobi authored
* gfortran.h (gfc_case): fix typo in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92695 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 27 Dec, 2004 3 commits
-
-
tobi authored
PR fortran/19032 * trans-intrinsic.c (gfc_conv_intrinsic_mod): Update comment in front of function to match the standard. Correct handling of MODULO. testsuite/ PR fortran/19032 * gfortran.dg/intrinsic_modulo_1.f90: New. * gfortran.fortran-torture/execute/intrinsic_mod_ulo.f90: Add tests with divisor -1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92645 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
* trans-expr.c (gfc_conv_cst_int_power): Only check for flag_unsafe_math_optimizations if we have a float type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92644 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
* trans-intrinsic.c (gfc_conv_intrinsic_ishft): Change to logicalshift. Call fold. Remove 0-bit shift shortcut. (gfc_conv_intrinsic_ishftc): Convert first argument to at least 4 bytes bits. Convert 2nd and 3rd argument to 4 bytes. Convert result if width(arg 1) < 4 bytes. Call fold. libgfortran/ * libgfortran/libgfortran.h (GFC_UINTEGER_1, GFC_UINTEGER_2): Define. * intrinsics/ishftc.c: Update copyright years. (ishftc8): Change 'shift' and 'size' to GFC_INTEGER_4. * intrinsics/mvbits.c: Correcty non-ASCII character in my name. Add implementations for GFC_INTEGER_1 and GFC_INTEGER_2. gcc/testsuite/ * gfortran.dg/g77/f90-intrinsic-bit.f: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92642 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 23 Dec, 2004 1 commit
-
-
bdavis authored
* gfortran.texi: Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92575 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 16 Dec, 2004 1 commit
-
-
tobi authored
comment typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92274 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 15 Dec, 2004 3 commits
-
-
tobi authored
function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92211 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
PR fortran/18993 * match.c (gfc_match_if): Don't explicitly skip optional whitespace. (gfc_match_nullify): Make sure that ')' is in front of the end of statement. testsuite/ PR fortran/18993 * gfotran.dg/nullify_1.f: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92209 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
(gfc_iresolve_init_1, gfc_iresolve_done_1): Remove. (gfc_get_string): Update prototype. * iresolve.c: Include tree.h. (string_node, HASH_SIZE, string_head, hash): Remove. (gfc_get_string): Use vsnprintf, get_identifier. (free_strings, gfc_iresolve_init_1, gfc_iresolve_done_1): Remove. * misc.c (gfc_init_1): Don't call gfc_iresolve_init_1. (gfc_done_1): Don't call gfc_iresolve_done_1. * module.c (mio_allocated_string): Take and return const char *, instead of modifying char**. (mio_expr): Update to match. * resolve.c (pure_function): Constify name argument. (resolve_function): Constify name. * trans-intrinsic.c (gfc_conv_intrinsic_function): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92176 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 13 Dec, 2004 1 commit
-
-
rth authored
* iresolve.c (gfc_resolve_all, gfc_resolve_any, gfc_resolve_count, gfc_resolve_cshift, gfc_resolve_dot_product, gfc_resolve_eoshift, gfc_resolve_matmul, gfc_resolve_maxloc, gfc_resolve_maxval, gfc_resolve_minloc, gfc_resolve_minval, gfc_resolve_pack, gfc_resolve_product, gfc_resolve_reshape, gfc_resolve_shape, gfc_resolve_spread, gfc_resolve_sum, gfc_resolve_transpose, gfc_resolve_unpack: Use PREFIX. libgfortran/ * intrinsics/cshift0.c, intrinsics/eoshift0.c, intrinsics/eoshift2.c, intrinsics/pack_generic.c, intrinsics/reshape_generic.c, intrinsics/spread_generic.c, intrinsics/transpose_generic.c, intrinsics/unpack_generic.c, m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4, m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4, m4/matmul.m4, m4/matmull.m4, m4/reshape.m4, m4/shape.m4, m4/transpose.m4: Use standard prefix instead of "__". * generated/*: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92075 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 12 Dec, 2004 5 commits
-
-
tobi authored
PR fortran/18869 * match.c (gfc_match_common): Skip whitespace. testsuite/ PR fortran/18869 * gfortran.dg/common_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92064 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
PR fortran/16581 * check.c (gfc_check_iand, gfc_check_ibclr, gfc_check_ibits, gfc_check_ibset, gfc_check_ieor, gfc_check_ior): Remove default integer kind check; Issue error for -std=f95 when needed. * intrinsic.c (add_functions): Change ieor from GFC_STD_GNU to GFC_STD_F95. * iresolve.c (gfc_resolve_iand, gfc_resolve_ieor, gfc_resolve_ior): Promote arguments to same kind. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92063 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
Paul Brook <paul@codesourcery.com> PR fortran/16222 * resolve.c (gfc_resolve_iterator_expr): New function. (gfc_resolve_iterator): Use it. Add real_ok argument. Convert start, end and stride to correct type. (resolve_code): Pass extra argument. * array.c (resolve_array_list): Pass extra argument. * gfortran.h (gfc_resolve): Add prototype. * trans-stmt.c (gfc_trans_do): Remove redundant type conversions. Handle real type iterators. testsuite/ * gfortran.dg/real_do_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92057 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92050 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92041 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 11 Dec, 2004 1 commit
-
-
tobi authored
PR fortran/17175 * iresolve.c (gfc_resolve_scale): Convert 'I' argument if not of same kind as C's 'int'. (gfc_resolve_set_eponent): Convert 'I' argument if not of kind 4. testsuite/ PR fortran/17175 * gfortran.dg/scale_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92029 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 08 Dec, 2004 1 commit
-
-
rth authored
to the output expression. * iresolve.c (gfc_resolve_cshift, gfc_resolve_eoshift): Suppress warning conversion. (gfc_resolve_reshape): Force convert SHAPE and ORDER parameters to index kind. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91917 138bc75d-0d04-0410-961f-82ee72b054a4
-