1. 17 Jan, 2005 2 commits
  2. 16 Jan, 2005 9 commits
  3. 15 Jan, 2005 1 commit
  4. 14 Jan, 2005 2 commits
  5. 13 Jan, 2005 1 commit
  6. 09 Jan, 2005 1 commit
    • pbrook's avatar
      2005-01-09 Paul Brook <paul@codesourcery.com> · 0626976e
      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
      0626976e
  7. 08 Jan, 2005 5 commits
    • tobi's avatar
      Fix typo · 477788ae
      tobi authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93095 138bc75d-0d04-0410-961f-82ee72b054a4
      477788ae
    • tobi's avatar
      * arith.c (arctangent2, gfc_arith_init_1, gfc_arith_done_1, · 6a2a046c
      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...
      6a2a046c
    • tobi's avatar
      * trans-intrinsic.c (gfc_get_intrinsic_lib_fndecl, · 6bcf802b
      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
      6bcf802b
    • tobi's avatar
      * trans-const.c: Don't include unused math.h. · 2b7c9f15
      tobi authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93090 138bc75d-0d04-0410-961f-82ee72b054a4
      2b7c9f15
    • tobi's avatar
      * gfortran.h: Remove outdated comment. Don't include stdio.h · adbea5d4
      tobi authored
      explicitly.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93082 138bc75d-0d04-0410-961f-82ee72b054a4
      adbea5d4
  8. 06 Jan, 2005 1 commit
  9. 03 Jan, 2005 1 commit
    • rth's avatar
      * arith.c: Add system.h; remove string.h · 7436502b
      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
      7436502b
  10. 29 Dec, 2004 1 commit
  11. 27 Dec, 2004 3 commits
    • tobi's avatar
      fortran/ · 8241ce4f
      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
      8241ce4f
    • pinskia's avatar
      2004-12-27 Andrew Pinski <pinskia@physics.uc.edu> · 31ad0f07
      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
      31ad0f07
    • tobi's avatar
      gcc/fortran/ · 4d66f715
      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
      4d66f715
  12. 23 Dec, 2004 1 commit
  13. 16 Dec, 2004 1 commit
  14. 15 Dec, 2004 3 commits
    • tobi's avatar
      * scanner.c (skip_fixed_comments): Fix typo in comment preceding · 5b10af95
      tobi authored
      function.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92211 138bc75d-0d04-0410-961f-82ee72b054a4
      5b10af95
    • tobi's avatar
      fortran/ · efc20cc9
      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
      efc20cc9
    • rth's avatar
      * gfortran.h (gfc_expr.function.name): Make const. · c231e334
      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
      c231e334
  15. 13 Dec, 2004 1 commit
    • rth's avatar
      gcc/fortran/ · 820b4fbd
      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
      820b4fbd
  16. 12 Dec, 2004 5 commits
  17. 11 Dec, 2004 1 commit
    • tobi's avatar
      fortran/ · 201e10b4
      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
      201e10b4
  18. 08 Dec, 2004 1 commit