OSDN Git Service

2003-09-21 Toon Moene <toon@moene.indiv.nluug.nl>
[pf3gnuchains/gcc-fork.git] / gcc / f / ChangeLog
index 9241290..e985070 100644 (file)
@@ -1,3 +1,534 @@
+2003-09-21  Toon Moene  <toon@moene.indiv.nluug.nl>
+
+       * news.texi: Update with fixed PR's.
+
+2003-09-21  George Helffrich  <bugzilla@w170.uklinux.net>
+
+       * g77.texi: Remove ancient part about debugging COMMON
+       and EQUIVALENCE not correctly.
+
+2003-09-18  Roger Sayle  <roger@eyesopen.com>
+
+       * com.c (ffecom_overlap_): Remove FFS_EXPR case.
+       (ffecom_tree_canonize_ref_): Likewise.
+       (ffe_truthvalue_conversion): Likewise.
+
+2003-09-01  Josef Zlomek  <zlomekj@suse.cz>
+
+       * com.c (ffecom_overlap_): Kill BIT_ANDTC_EXPR.
+       (ffecom_tree_canonize_ref_): Kill BIT_ANDTC_EXPR.
+
+Thu Jul 31 01:47:27 2003  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * com.c (ffecom_init_0): Use `dconsthalf'.
+
+Sat Jul 19 12:03:03 2003  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * com.c data.c expr.c fini.c g77spec.c global.c lab.c lex.c name.c
+       sta.c stc.c std.c storag.c stt.c stw.c symbol.c target.c type.c:
+       Remove unnecessary casts.
+
+Thu Jul 17 06:34:41 2003  Neil Booth  <neil@daikokuya.co.uk>
+
+       * lang-options.h: Remove.
+       * lang.opt: Document most options.
+
+2003-07-14  Geoffrey Keating  <geoffk@apple.com>
+
+       * lang-specs.h (f77-cpp-input): Use -o to specify the CPP output file.
+
+2003-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>
+
+       * ffe.texi: Correctly use @var{srcdir}.
+
+2003-07-09  Toon Moene  <toon@moene.indiv.nluug.nl>
+
+       PR Fortran/11301
+       * com.c (ffecom_sym_transform_): finish_decl should have
+       the same last argument as start_decl.
+
+2003-07-08  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * Make-lang.in (f/g77.dvi): Use PWD_COMMAND.
+
+2003-07-08  Zack Weinberg  <zack@codesourcery.com>
+
+       * lex.c: Remove error block #ifdef MAP_CHARACTER.
+
+Mon Jul  7 18:13:22 2003  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * com.c (bison_rule_pushlevel_, bison_rule_compstmt_): Adjust
+       emit_line_note calls.
+       * ste.c (ffeste_emit_line_note_): Likewise.
+
+2003-07-06  Andreas Jaeger  <aj@suse.de>
+
+       * bad.c: Convert () to (void) in function definitions.
+       * bld.c: Likewise.
+       * data.c: Likewise.
+       * equiv.c: Likewise.
+       * expr.c: Likewise.
+       * global.c: Likewise.
+       * implic.c: Likewise.
+       * info.c: Likewise.
+       * intdoc.c: Likewise.
+       * intrin.c: Likewise.
+       * lab.c: Likewise.
+       * lex.c: Likewise.
+       * malloc.c: Likewise.
+       * src.c: Likewise.
+       * st.c: Likewise.
+       * sta.c: Likewise.
+       * stb.c: Likewise.
+       * stc.c: Likewise.
+       * std.c: Likewise.
+       * ste.c: Likewise.
+       * storag.c: Likewise.
+       * stt.c: Likewise.
+       * stw.c: Likewise.
+       * symbol.c: Likewise.
+       * top.c: Likewise.
+       * where.c: Likewise.
+
+       * com.c: Convert prototypes to ISO C90.
+       * com.h: Likewise.
+       * g77spec.c: Likewise.
+
+Sun Jul  6 20:01:29 2003  Neil Booth  <neil@daikokuya.co.uk>
+
+       * top.c (ffe_handle_option): Don't handle filenames.
+
+2003-07-05  Toon Moene  <toon@moene.indiv.nluug.nl>
+
+       PR Fortran/11301
+       * com.c (ffecom_sym_transform_): Only install
+       FFEINFO_whereGLOBAL symbols in the global binding
+       level if not -fno-globals.
+
+Wed Jul  2 21:16:02 2003  Neil Booth  <neil@daikokuya.co.uk>
+
+       * top.c (ffe_init_options): Update prototype.
+       * top.h (ffe_init_options): Update prototype.
+
+2003-06-27  Zack Weinberg  <zack@codesourcery.com>
+
+       * com.c (input_file_stack_tick): Delete redundant declaration.
+
+Thu Jun 26 07:06:29 2003  Neil Booth  <neil@daikokuya.co.uk>
+
+       * top.c (ffe_handle_option): Don't check for missing arguments.
+
+Wed Jun 25 06:52:12 2003  Neil Booth  <neil@daikokuya.co.uk>
+
+       * top.c (ffe_handle_option): Add missing break;.
+
+2003-06-24  Scott Snyder  <snyder@fnal.gov>
+
+       PR fortran/11299
+       * com.c (ffe_init): Call push_srcloc() to ensure that
+       input_file_stack is initialized.
+
+Sat Jun 21 21:29:38 2003  Neil Booth  <neil@daikokuya.co.uk>
+
+       * lang.opt: Add -fpreprocessed.
+       * top.c (ffe_handle_option): Handle it.
+
+Fri Jun 20 10:00:31 2003  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * com.c (finish_function): Adjust expand_function_end call.
+
+2003-06-17  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * Make-lang.in: Replace BUILD_CC references with CC_FOR_BUILD.
+
+Sun Jun 15 15:56:51 2003  Neil Booth  <neil@daikokuya.co.uk>
+
+       * lang.opt: Declare F77.
+
+Sat Jun 14 18:13:00 2003  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * com.c (stor_parm_decls): Adjust init_function_start call.
+
+Sat Jun 14 13:25:00 2003  Neil Booth  <neil@daikokuya.co.uk>
+
+       * Make-lang.in: Update to use options.c and options.h.
+       * top.c: Include options.h not f-options.h.
+       (ffe_init_options): From com.c.  Request F77 options.
+       (ffe_handle_options): Abort on unrecognized switch.
+       * com.c (ffe_init_options): Move to top.c.
+       * top.h (fee_init_options): New.
+
+2003-06-13  Richard Henderson  <rth@redhat.com>
+
+       PR debug/9864
+       * com.c (ffecom_sym_transform_): Install FFEINFO_whereGLOBAL
+       symbols in the global binding level.
+
+Sun Jun  8 15:42:09 2003  Neil Booth  <neil@daikokuya.co.uk>
+
+       * Make-lang.in (F77_OBJS, f77.mostlyclean, f/com.o): Update.
+       (f/f-options.c, f/f-options.h): New.
+       * com.c: Include opts.h and f-options.h.
+       (ffecom_decode_include_option_): Remove.
+       (LANG_HOOKS_HANDLE_OPTION): New.
+       (LANG_HOOKS_DECODE_OPTION): Drop.
+       (struct file_name_list, ffecom_decode_include_option,
+       ffecom_open_include_): Constify.
+       * com.h (ffecom_decode_include_option): Update.
+       * lang.opt: New.
+       * top.c: Include f-options.h, opts.h.
+       (ffe_is_digit_string_): Constify.
+       (ffe_decode_option): Transform to ffe_handle_option.
+       * top.h (ffe_decode_option): Replace with ffe_handle_option.
+
+2003-06-08  Andreas Jaeger  <aj@suse.de>
+
+       * std.c: Remove #if 0'ed functions.
+
+       * sta.c: Remove usage of HARD_F90, FFESTR_F90 and FFESTR_VXT.
+       * stb.c: Likewise.
+       * stb.h: Likewise.
+       * stc.c: Likewise.
+       * stc.h: Likewise.
+       * std.c: Likewise.
+       * std.h: Likewise.
+       * ste.c: Likewise.
+       * ste.h: Likewise.
+
+       * str.h (FFESTR_F90): Remove macro.
+       (FFESTR_VXT): Remove macro.
+
+       * bld.c: Remove usage of FFETARGET_okCHARACTER2,
+       FFETARGET_okCHARACTER3, FFETARGET_okCHARACTER4,
+       FFETARGET_okCHARACTER5, FFETARGET_okCHARACTER6,
+       FFETARGET_okCHARACTER7, FFETARGET_okCHARACTER8,
+       FFETARGET_okCOMPLEX4, FFETARGET_okCOMPLEX5, FFETARGET_okCOMPLEX6,
+       FFETARGET_okCOMPLEX7, FFETARGET_okCOMPLEX8, FFETARGET_okINTEGER5,
+       FFETARGET_okINTEGER6, FFETARGET_okINTEGER7, FFETARGET_okINTEGER8,
+       FFETARGET_okLOGICAL5, FFETARGET_okLOGICAL6, FFETARGET_okLOGICAL7,
+       FFETARGET_okLOGICAL8, FFETARGET_okREAL4, FFETARGET_okREAL5,
+       FFETARGET_okREAL6, FFETARGET_okREAL7 and FFETARGET_okREAL8.
+       * bld.h: Likewise.
+       * expr.c: Likewise.
+       * target.h: Likewise.
+       * com.c: Likewise.
+
+Sun Jun  8 12:28:14 2003  Neil Booth  <neil@daikokuya.co.uk>
+
+       * Make-lang.in: Update.
+       * top.c: Include opts.h. Define cl_options_count and cl_options.
+
+2003-06-07  Andreas Jaeger  <aj@suse.de>
+
+       * symbol.c (ffesymbol_new_): Remove tests for macro
+       FFECOM_symbolHOOK.
+       * symbol.h: Likewise.
+
+       * storag.c (ffestorag_new): Remove tests for macro
+       FFECOM_storageHOOK.
+       * storag.h: Likewise.
+
+       * lab.c (ffelab_new): Remove tests for macro FFECOM_labelHOOK.
+       * lab.h: Likewise.
+
+       * global.c: Remove tests for macro FFECOM_globalHOOK.
+       * global.h (struct _ffeglobal_): Likewise.
+
+       * bld.h: Remove tests for macros FFECOM_constantHOOK,
+       FFECOM_nonterHOOK, FFECOM_globalHOOK, FFECOM_labelHOOK,
+       FFECOM_storageHOOK, FFECOM_symbolHOOK.
+       Remove code dependend on FFECOM_itemHOOK.
+       * bld.c: Likewise.
+
+       * com.h (FFECOM_constantHOOK): Remove define.
+       (FFECOM_nonterHOOK): Remove.
+       (FFECOM_globalHOOK): Remove.
+       (FFECOM_labelHOOK): Remove.
+       (FFECOM_storageHOOK): Remove.
+       (FFECOM_symbolHOOK): Remove.
+
+       * com.c (ffecom_get_external_identifier_): Remove usage of
+       FFETARGET_isENFORCED_MAIN_NAME.
+
+       * bld.c: Remove code dependend on FFEBLD_BLANK_, FFECOM_itemHOOK.
+       (ffebld_new_accter): Likewise.
+       (ffebld_new_arrter): Likewise.
+       (ffebld_new_conter_with_orig): Likewise.
+       (ffebld_new_item): Likewise.
+       (ffebld_new_labter): Likewise.
+       (ffebld_new_labtok): Likewise.
+       (ffebld_new_none): Likewise.
+       (ffebld_new_one): Likewise.
+       (ffebld_new_symter): Likewise.
+       (ffebld_new_two): Likewise.
+
+Sat Jun  7 12:10:41 2003  Neil Booth  <neil@daikokuya.co.uk>
+
+       * com.c (ffe_init_options): Update.
+
+Thu Jun  5 18:33:40 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * Make-lang.in:  Add support for stageprofile and stagefeedback
+
+2003-06-04  Andreas Jaeger  <aj@suse.de>
+
+       * g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.
+
+2003-06-01  Bud Davis  <bdavis9659@comcast.net>
+
+       * ste.c (ffeste_R838): Handle ERROR_MARK.
+       (ffeste_R839): Ditto.
+
+2003-06-01  Andreas Jaeger  <aj@suse.de>
+
+       * lex.c (ffelex_file_fixed): Remove usage of
+       REDUCE_CARD_SIZE_AFTER_BIGGY.
+
+       * expr.c (ffeexpr_exprstack_push_operand_): Remove code depenend
+       on WEIRD_NONFORTRAN_RULES.
+
+       * com.c (ffecom_arg_ptr_to_expr): Remove
+       PASS_HOLLERITH_BY_DESCRIPTOR dependend code.
+       (ffecom_const_expr): Remove usage of NEWCOMMON.
+       (ffecom_expand_let_stmt): Remove MOVE_EXPR.
+
+2003-05-31  Bud Davis  <bdavis9659@comcast.net>
+
+       PR fortran/10843
+       * sta.c (ffesta_second_): Parse GO TO correctly,
+       even in free source format.
+
+2003-05-31  Andreas Jaeger  <aj@suse.de>
+
+       * lex.c (ffelex_hash_): Remove HANDLE_PRAGMA and
+       HANDLE_GENERIC_PRAGMA dependend code, remove #if 0 code.
+       (pragma_getc): Removed.
+       (pragma_ungetc): Removed.
+
+2003-05-30  Roger Sayle  <roger@eyesopen.com>
+
+       * com.c (ffecom_init_0): Define built-in functions for tan and atan.
+       * com-rt.def: Use then to implement g77's tan and atan intrinsics.
+
+2003-05-22  Bud Davis  <bdavis9659@comcast.net>
+
+       * com.c (ffecom_sym_transform_): Error out on unallocatable
+       storage after type is set.
+
+2003-05-18  Toon Moene  <toon@moene.indiv.nluug.nl>
+
+       * intdoc.in: Fix documentation of IDATE.
+       * intdoc.texi: Regenerate.
+       * news.texi: Update due to also fixing it in 3.3.1.
+
+2003-05-16  Wolfgang Bangerth <bangerth@dealii.org>
+
+       * g77.texi: Remove most of the of the preface of the
+       bugs section.
+
+2003-05-15  Wolfgang Bangerth <bangerth@dealii.org>
+
+       * g77.texi: Remove most of the bug reporting instructions and
+       merge them into bugs.html.
+
+2003-05-13  Zack Weinberg  <zack@codesourcery.com>
+
+       * com.c: Replace all calls to fatal_io_error with calls to
+       fatal_error; add ": %m" to the end of all the affected error
+       messages.
+
+2003-05-12  Zack Weinberg  <zack@codesourcery.com>
+
+       * bad.c: Don't call diagnostic_count_diagnostic.
+
+2003-05-12  Roger Sayle  <roger@eyesopen.com>
+
+       * com.c (ffecom_init_0): Define built-in functions for atan2,
+       exp, floor, fmod, log and pow.
+       (duplicate_decls): Preserve assembler name when redeclaring a
+       built-in.
+       * com-rt.def: Implement using the built-in forms of the above
+       functions rather than calling the standard C library directly.
+       Correct some of the run-time prototype "codes".
+
+2003-05-11  Toon Moene  <toon@moene.indiv.nluug.nl>
+
+       PR fortran/10726
+       * intdoc.in: Fix documentation of IDATE.
+       * intdoc.texi: Regenerate.
+       * g77.texi: Document completion of INTEGER*n support.
+       * news.texi: Update due to the above.
+
+2003-05-08  Roger Sayle  <roger@eyesopen.com>
+
+       PR fortran/8485
+       * target.h (FFETARGET_REAL_VALUE_FROM_INT_): Cast to
+       HOST_WIDE_INT instead of long.
+       (FFETARGET_REAL_VALUE_FROM_LONGLONG_): New macro.
+       (FFETARGET_LONGLONG_FROM_INTS_): New macro.
+       (ffetarget_convert_complex1_integer4): Implement.
+       (ffetarget_convert_complex2_integer4): Implement.
+       (ffetarget_convert_integer4_complex1): Implement.
+       (ffetarget_convert_integer4_complex2): Implement.
+       (ffetarget_convert_integer4_real1): Implement.
+       (ffetarget_convert_integer4_real2): Implement.
+       (ffetarget_convert_real1_integer4): Implement.
+       (ffetarget_convert_real2_integer4): Implement.
+       * com.c (ffecom_constantunion): Handle INTEGER*8.
+       (ffecom_constantunion_with_type): Likewise.
+
+2003-05-03  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * com.c (ffecom_do_entry_): Use location_t and input_location
+       directly.
+       (ffecom_gen_sfuncdef_): Likewise.
+       (ffecom_start_progunit_): Likewise.
+       (ffecom_sym_transform_): Likewise.
+       (ffecom_sym_transform_assign_): Likewise.
+       * lex.c (ffelex_hash_): Likewise.
+       (ffelex_include_): Likewise.
+       * std.c (ffestd_exec_begin): Likewise.
+       (ffestd_exec_end): Likewise.
+       * ste.c (struct gbe_block): Likewise.
+       (ffeste_start_block_): Likewise.
+       (ffeste_start_stmt_): Likewise.
+
+2003-05-03  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * ansify.c (die_unless): Revert lineno change here.
+
+2003-05-02  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * lex.c (ffelex_file_pop_): Adjust file_stack member use.
+       (ffelex_file_push_): Likewise.
+       (ffelex_hash_): Likewise.
+
+2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * ansify.c (die_unless): Rename lineno to input_line.
+       * com.c (ffecom_subscript_check_, ffecom_do_entry_,
+       ffecom_gen_sfuncdef_, ffecom_start_progunit_,
+       ffecom_sym_transform_, ffecom_sym_transform_assign_,
+       bison_rule_pushlevel_, bison_rule_compstmt_, finish_function,
+       store_parm_decls): Likewise.
+       * intrin.c (ffeintrin_fulfill_generic): Likewise.
+       * lex.c (ffelex_hash_, ffelex_include_, ffelex_next_line_,
+       ffelex_file_fixed, ffelex_file_free): Likewise.
+       * std.c (ffestd_exec_end): Likewise.
+       * ste.c (ffeste_emit_line_note_, ffeste_start_block_,
+       ffeste_start_stmt_): Likewise.
+       * ste.h (ffeste_filelinenum, ffeste_set_line): Likewise.
+
+       * lex.c (ffelex_file_pop_): Rename parameter from input_filename.
+       (ffelex_file_push_): Likewise.
+
+       * ste.c (struct gbe_block): Rename field from input_filename.
+       (ffeste_start_block_, ffeste_start_stmt_): Likewise.
+
+2003-04-17  Roger Sayle  <roger@eyesopen.com>
+
+       PR c/10375
+       * com.c (duplicate_decls): Preserve "const" and "noreturn"
+       function attributes.
+
+2003-04-13  Roger Sayle  <roger@eyesopen.com>
+
+       * com.c (duplicate_decls): Preserve pure and malloc attributes.
+
+2003-04-12  Zack Weinberg  <zack@codesourcery.com>
+
+       * com.c (ffecom_build_complex_constant_, ffecom_expr_)
+       (ffecom_init_zero_, ffecom_transform_namelist_, ffecom_vardesc_)
+       (ffecom_vardesc_array_, ffecom_vardesc_dims_, ffecom_2)
+       * ste.c (ffeste_io_ialist_, ffeste_io_cilist_, ffeste_io_cllist_)
+       (ffeste_io_icilist_, ffeste_io_inlist_, ffeste_io_olist_):
+       Use build_constructor.
+
+2003-04-11  Bud Davis <bdavis9659@comcast.net>
+
+       PR Fortran/9263
+       * gcc/f/data.c (ffedata_advance_): Check initial, final and
+       increment values for INTEGER typeness.
+       * gcc/f/news.texi: Document these fixes.
+
+2003-03-27  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * ffe.texi: Don't mention dead file proj.c.
+
+2003-03-26  Roger Sayle  <roger@eyesopen.com>
+
+       PR fortran/9793
+       * target.h (ffetarget_divide_integer1): Perform division by -1
+       using negation to prevent possible overflow trap on the host.
+
+2003-03-25  Marcelo Abreu  <mmabreu@inf.ufrgs.br>
+
+       PR fortran/10204
+       * ffe.texi: Reference the GCC web site in the URL.
+
+2003-03-24  Toon Moene  <toon@moene.indiv.nluug.nl>
+
+       PR fortran/10197
+       * news.texi: Document PR fortran/10197 fixed.
+
+Sun Mar 23 23:43:45 2003  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/7086
+       * com.c (ffecom_sym_transform_): Adjust calls to
+       put_var_into_stack.
+       (ffe_mark_addressable): Likewise.
+
+2003-03-22  Bud Davis  <bdavis9659@comcast.net>
+
+       * com.c (ffecom_constantunion_with_type): New function.
+       * com.h (ffecom_constantunion_with_type): Declare.
+       * stc.c (ffestc_R810): Check for kind type.
+       * ste.c (ffeste_R810): Use ffecom_constantunion_with_type
+       to discern SELECT CASE variables.
+
+2003-03-15  Roger Sayle  <roger@eyesopen.com>
+
+       * stb.c (ffestb_R100110_): Allow the number before the X format
+       to be optional when not -fpedantic.
+       * std.c (ffestd_R1001dump_1010_3_): Delete unused static function.
+       (ffestd_R1001dump_): For the FFESTP_formattypeX case, call
+       ffestd_R1001dump_1010_2_ instead of ffestd_R1001dump_1010_3_.
+
+2003-03-15  Roger Sayle  <roger@eyesopen.com>
+
+       * f/ste.c (ffeste_R810): Fix whitespace.
+
+2003-03-15  Andreas Jaeger  <aj@suse.de>
+
+       * g77spec.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
+       (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
+
+2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * g77.texi, invoke.texi, g77spec.c, lang-specs.h: GCC, not
+       GNU CC.  Especially here.
+
+2003-03-10  Roger Sayle  <roger@eyesopen.com>
+
+       * com.c (duplicate_decls): Synchronize with C's duplicate_decls.
+
+Sat Mar  8 21:11:40 2003  Neil Booth  <neil@daikokuya.co.uk>
+
+       * com.c (ffe_init): Update prototype; move code to ffe_post_options.
+       (ffe_post_options): New.
+
+2003-03-04  Tom Tromey  <tromey@redhat.com>
+
+       * Make-lang.in (f77.tags): New target.
+
+2003-02-20  Toon Moene  <toon@moene.indiv.nluug.nl>
+
+       * news.texi: Document fixing PR fortran/9038.
+
+2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * g77.texi, invoke.texi: Update to GFDL 1.2.
+
 2003-01-31  Toon Moene  <toon@moene.indiv.nluug.nl>
 
        * news.texi: Document fixing PR fortran/7681