aboutsummaryrefslogtreecommitdiff
path: root/gcc/f
AgeCommit message (Collapse)AuthorFilesLines
2001-11-10Daily bump.GCC Administrator1-1/+1
From-SVN: r46915
2001-11-09Makefile.in: Update.Neil Booth2-45/+12
* Makefile.in: Update. * c-decl.c (print_lang_decl, print_lang_type): Remove. (print_lang_identifier): Rename c_print_identifier. * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New. (print_lang_statistics, lang_print_xnode): Remove. * c-parse.in (set_yydebug): Rename c_set_yydebug. * c-tree.h (c_set_yydebug, c_print_identifier): New. * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New. LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE, LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE, LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New. (LANG_HOOKS_INITIALIZER): Update. * langhooks.h (struct lang_hooks): New members. (lang_print_tree_hook): New. * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New. * print-tree.c: Include langhooks.h. (print_node): Update. * toplev.c (decode_d_option): Update. * tree.c: Include langhooks.h. (dump_tree_statistics): Update. * tree.h (print_lang_statistics, print_lang_decl, print_lang_type, print_lang_identifier, set_yydebug, lang_print_xnode): Remove. ada: * misc.c (gnat_print_decl, gnat_print_type): Renamed. (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override. (print_lang_statistics, lang_print_xnode, print_lang_identifier, set_yydebug): Remove. cp: * cp-lang.c (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE, LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE, LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): Override. * cp-tree.h (print_class_statistics): Remove. (cxx_print_statistics, cxx_print_xnode, cxx_print_decl, cxx_print_type, cxx_print_identifier, cxx_set_yydebug): New. * lex.c (set_yydebug): Rename c_set_yydebug. * ptree.c (print_lang_decl, print_lang_type, print_lang_identifier, lang_print_xnode): Rename. * tree.c (print_lang_statistics): Rename. f: * com.c (ffe_print_identifier): Rename. (LANG_HOOKS_PRINT_IDENTIFIER): Override. (lang_print_xnode, print_lang_decl, print_lang_statistics, print_lang_type, set_yydebug): Remove. java: * java-tree.h (java_set_yydebug): New. * jcf-parse.c (set_yydebug): Rename java_set_yydebug. * lang.c (LANG_HOOKS_SET_YYDEBUG): Override. (print_lang_decl, print_lang_type, print_lang_identifier, print_lang_statistics, lang_print_xnode): Remove. objc: * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): Override. (lang_print_xnode, print_lang_statistics): Remove. From-SVN: r46907
2001-11-09g77spec.c (lang_specific_driver): Adjust behavior of -v and --version for ↵Zack Weinberg7-102/+24
consistency with other front ends. * g77spec.c (lang_specific_driver): Adjust behavior of -v and --version for consistency with other front ends. Remove large #if 0 block. Do not add libraries to argv if there are no input files. (add_version_magic): Delete all references and dependent code. * lang-options.h: Delete -fnull-version. * lang-specs.h: Delete f77-version spec. * lex.c: Delete logic conditional on ffe_is_null_version() and now-unused label. * top.c: Delete ffe_is_null_version_ variable. (ffe_decode_option): Delete -fnull-version case. * top.h: Delete declaration of ffe_is_null_version_ and ffe_is_null_version(), ffe_set_is_null_version() macros. From-SVN: r46883
2001-11-09Daily bump.GCC Administrator1-1/+1
From-SVN: r46876
2001-11-09c-lang.c (LANG_HOOKS_NAME): New.Neil Booth2-14/+10
* c-lang.c (LANG_HOOKS_NAME): New. (lang_hooks): Constify. (c_init_options): Update. (lang_identify): Remove. * c-parse.in (language_string): Remove. * dbxout.c: Include langhooks.h. (dbxout_symbol_location): Update. * dwarf2out.c: Include langhooks.h. (gen_compile_unit_die): Update. * dwarfout.c: Include langhooks.h. (prototyped_attribute, output_compile_unit_die): Update. * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New. (LANG_HOOKS_INITIALIZER): Update. * langhooks.h (struct lang_hooks): New members. Constify. * stringpool.c: Don't include toplev.h. (set_identifier_size): Remove. * toplev.c (toplev_main): Initialize identifier size. (print_version): Update. * tree.h (language_string, init_lex, lang_identify, set_identifier_size): Remove. * Makefile.in: Update dependencies. * config/darwin.c: Include langhooks.h. (func_name_maybe_scoped): Update. * config/darwin.h (ASM_END_FILE): Update. * config/nextstep.h (ASM_END_FILE): Update. * config/nextstep21.h (ASM_END_FILE): Update. * config/i386/sun386.h (ASM_END_FILE): Update. * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h. (rs6000_output_function_epilogue): Update. ada: * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override. (struct lang_hooks): Constify. (language_string, lang_identify): Remove. * utils.c (init_decl_processing): Update. cp: * cp-lang.c (LANG_HOOKS_NAME): Override. (struct lang_hooks): Constify. * lex.c (cxx_init_options): Update. (lang_identify): Remove. * parse.y (language_string): Remove. f: * com.c (language_string, lang_identify): Remove. (struct lang_hooks): Constify. (LANG_HOOKS_NAME): Override. (init_parse): Update. java: * jcf-parse.c (init_lex): Remove. * lang.c (language_string, lang_identify): Remove. (struct lang_hooks): Constify. (LANG_HOOKS_NAME): Override. (init_parse): Update. objc: * objc-act.c (LANG_HOOKS_NAME): Override. (struct lang_hooks): Constify. (objc_init_options): Update. (lang_identify): Remove. From-SVN: r46874
2001-11-08configure.in: Add AC_ARG_PROGRAM to support program name transformation with ↵Andreas Franck2-2/+7
--program-prefix... * configure.in: Add AC_ARG_PROGRAM to support program name transformation with --program-prefix, --program-suffix and --program-transform-name. * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME, PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME, GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME, PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle program_transform_name the way suggested by autoconf. (GCC_TARGET_INSTALL_NAME): Define. (install-driver): Use the transformed target alias name. * Make-lang.in (CXX_INSTALL_NAME, GXX_CROSS_NAME, DEMANGLER_CROSS_NAME): Handle program_transform_name the way suggested by autoconf. (GXX_TARGET_INSTALL_NAME, CXX_TARGET_INSTALL_NAME): Define. (c++.install-common): Use the transformed target alias names. * Make-lang.in (G77_INSTALL_NAME, G77_CROSS_NAME): Handle program_transform_name the way suggested by autoconf. * Make-lang.in (JAVA_INSTALL_NAME, JAVA_CROSS_NAME): Handle program_transform_name the way suggested by autoconf. (java.install-common): Also transform auxiliary program names with program_transform_name. From-SVN: r46856
2001-11-08Daily bump.GCC Administrator1-1/+1
From-SVN: r46842
2001-11-08Make-lang.in: Add rules for building g77.1.Toon Moene5-58/+144
2001-11-08 Toon Moene <toon@moene.indiv.nluug.nl> * Make-lang.in: Add rules for building g77.1. * invoke.texi: Add man page stuff. Move indexing from g77.texi to here. * g77.texi: Remove indexing specific to invoke.texi. * news.texi: Document that g77.1 is now a generated file. From-SVN: r46840
2001-11-07Daily bump.GCC Administrator1-1/+1
From-SVN: r46821
2001-11-06Clean up langhooksNeil Booth3-1/+7
* alias.c:: Include langhooks.h. * emit-rtl.c: Similarly. * toplev.c: Similarly. * tree-inline.c: Similarly. * langhooks-def.h: New, the old langhooks.h. Give the default hooks a common prefix. * langhooks.h: Contents extracted from toplev.h. * toplev.h: Move langhook stuff to langhooks.h. * langhooks.c: Give default hooks a common prefix. * c-lang.c: Include langhooks-def.h. * ada/misc.c: Similarly. * cp/cp-lang.c: Similarly. * f/com.c: Similarly. * java/lang.c: Similarly. * objc/objc-act.c: Similarly. * Makefile.in: Update. * ada/Makefile.in: Similarly. * cp/Make-lang.in: Similarly. * f/Make-lang.in: Similarly. * java/Make-lang.in: Similarly. * objc/Make-lang.in: Similarly. From-SVN: r46813
2001-11-06Daily bump.GCC Administrator1-1/+1
From-SVN: r46803
2001-11-05Daily bump.GCC Administrator1-1/+1
From-SVN: r46783
2001-11-04g77.texi: Split off invoke.texi (preliminary to using it to generate a man ↵Toon Moene4-2066/+2073
page). 2001-11-04 Toon Moene <toon@moene.indiv.nluug.nl> * g77.texi: Split off invoke.texi (preliminary to using it to generate a man page). * Make-lang.in: Reflect in build rules. From-SVN: r46775
2001-11-04Daily bump.GCC Administrator1-1/+1
From-SVN: r46771
2001-11-03Daily bump.GCC Administrator1-1/+1
From-SVN: r46729
2001-11-02com.c (ffecom_initialize_char_syntax_, [...]): Delete.Kaveh R. Ghazi2-60/+12
* com.c (ffecom_initialize_char_syntax_, U_CHAR, is_idchar, is_idstart, is_hor_space, is_space, SKIP_WHITE_SPACE, SKIP_ALL_WHITE_SPACE): Delete. (read_filename_string, read_name_map): Don't use is_space or is_hor_space. From-SVN: r46716
2001-11-02Daily bump.GCC Administrator1-1/+1
From-SVN: r46711
2001-11-01Daily bump.GCC Administrator1-1/+1
From-SVN: r46687
2001-10-31Daily bump.GCC Administrator1-1/+1
From-SVN: r46672
2001-10-30Daily bump.GCC Administrator1-1/+1
From-SVN: r46630
2001-10-29news.texi: Document new ability to compile programs with arrays larger than ↵Toon Moene2-1/+27
512 Mbyte on... 2001-10-29 Toon Moene <toon@moene.indiv.nluug.nl> * news.texi: Document new ability to compile programs with arrays larger than 512 Mbyte on 32-bit targets. From-SVN: r46608
2001-10-29Daily bump.GCC Administrator1-1/+1
From-SVN: r46602
2001-10-28Daily bump.GCC Administrator1-1/+1
From-SVN: r46575
2001-10-27Daily bump.GCC Administrator1-1/+1
From-SVN: r46563
2001-10-26Daily bump.GCC Administrator1-1/+1
From-SVN: r46530
2001-10-25Daily bump.GCC Administrator1-1/+1
From-SVN: r46484
2001-10-24com.c (ffecom_check_size_overflow_): Only check for TREE_OVERFLOW.Toon Moene2-2/+5
2001-10-24 Toon Moene <toon@moene.indiv.nluug.nl> * com.c (ffecom_check_size_overflow_): Only check for TREE_OVERFLOW. From-SVN: r46473
2001-10-24Daily bump.GCC Administrator1-1/+1
From-SVN: r46461
2001-10-23alias.c (can_address_p): Compnonents are not addressable if the containing ↵Richard Kenner2-15/+13
type has alias set 0. * alias.c (can_address_p): Compnonents are not addressable if the containing type has alias set 0. (get_alias_set): Rework to use STRIP_NOPS. Only call front-end routine on object, type, or object with NOPs stripped, not inner values. Use language hook to call front-end routine. * builtins.c (get_memory_rtx): Always call set_mem_attributes. (expand_builtin_apply): Call set_mem_align on MEMs we make. Don't pass alignment to emit_block_move. (expand_builtin_memcpy, expand_builtin_va_copy): Likewise. (expand_builtin_memset): Likewise, but for clear_storage. * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set and remove C++ specific parts. * c-common.h (c_common_get_alias_set): Add declaration. * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro. * calls.c (emit_call_1): Fix typo in sibcall_pop case. (save_fixed_argument_area): Call set_mem_align. Remove alignment in call to emit_block_move. (emit_library_call_value_1, store_one_arg): Likewise. (target_for_arg): Remove; disabled long ago. * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs once and similar cleanups. (offset_address): Use proper introductory comment. * expr.c (emit_block_move): Use alignment from that of MEM args, not from explicit operand; all callers changed. (clear_storage): Likewise. (expand_assignment): Don't call set_mem_alias_set on to_rtx. (store_field): Remove kludge on alias set used for to_rtx. (highest_pow2_factor, case *_DIV_EXPR): Never return 0. (expand_expr_unaligned): Call set_mem_attributes instead of set_mem_alias_set. * expr.h (emit_block_move, clear_storage): Remove ALIGN argument. * function.c (assign_stack_temp_for_type): Set MEM alignment. (expand_function_end): Track MEM attributes of trampolines. * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM. * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory attributes from original. * langhooks.c (lang_hook_default_get_alias_set): New function. (hook_get_alias_set_0): New function. * langhooks.h (hook_get_alias_set_0): New declaration. (lang_hook_default_get_alias_set): Likewise. (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer. * reload1.c (alter_reg): Use adjust_address_nv. * rtl.c (get_mode_alignment): Moved to here. * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and change default if unknown from 1 to BITS_PER_UNIT. * stor-layout.c (get_mode_alignment): Remove from here. * toplev.h (struct lang_hoks): Add get_alias_set field. * tree.h (lang_get_alias_set): Delete declaration. * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment. * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise. (ix86_va_arg): Likewise. * config/i960/i960.c (i960_setup_incoming_varargs): Likewise. * config/pa/pa.c (hppa_builtin_saveregs): Likewise. * config/sparc/sparc.c (sparc_va_arg): Likewise. * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise. (expand_block_move_mem): Remove dead code. * cp/cp-lang.c (cxx_get_alias_set): New function. Point LANG_HOOKS_GET_ALIAS_SET to it. * f/com.c (LANG_HOOKS_GET_ALIAS_SET): New macro. (lang_get_alias_set): Delete. * java/lang.c (lang_get_alias_set): Deleted. From-SVN: r46440
2001-10-23Daily bump.GCC Administrator1-1/+1
From-SVN: r46428
2001-10-23gcc.texi (Sending Patches): Remove.Joseph Myers2-120/+6
* doc/gcc.texi (Sending Patches): Remove. f: * g77.texi (Sending Patches): Remove. From-SVN: r46418
2001-10-22* Make-lang.in (f/intdoc): Depend on safe-ctype.o.Zack Weinberg2-2/+7
From-SVN: r46410
2001-10-22Daily bump.GCC Administrator1-1/+1
From-SVN: r46403
2001-10-21c-format.c (maybe_read_dollar_number): Use safe-ctype macros and/or fold ↵Kaveh R. Ghazi8-35/+32
extra calls into fewer ones. * c-format.c (maybe_read_dollar_number): Use safe-ctype macros and/or fold extra calls into fewer ones. * collect2.c (dump_file): Likewise. * cppexp.c (parse_number): Likewise. * cpplex.c (_cpp_lex_direct): Likewise. * final.c (output_asm_insn, asm_fprintf): Likewise. * fix-header.c (inf_scan_ident, main): Likewise. * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix): Likewise. * fold-const.c (real_hex_to_f): Likewise. * gen-protos.c (parse_fn_proto): Likewise. * genattrtab.c (check_attr_test, check_attr_value): Likewise. * genrecog.c (change_state, write_action): Likewise. * gensupport.c (shift_output_template): Likewise. * local-alloc.c (requires_inout): Likewise. * mips-tfile.c (IS_ASM_IDENT): Likewise. * protoize.c (is_id_char, main): Likewise. * real.c (asctoeg): Likewise. * recog.c (asm_operand_ok): Likewise. * reload.c (find_reloads): Likewise. * scan.c (scan_identget_token): Likewise. * sched-vis.c (print_value): Likewise. * stringpool.c (ggc_alloc_string): Likewise. * toplev.c (read_integral_parameter, decode_g_option): Likewise. * tradcif.y (parse_number, yylex, parse_escape): Likewise. * tradcpp.c (rescan): Likewise. * tree.c (clean_symbol_name): Likewise. * varasm.c (decode_reg_name): Likewise. * alpha.h (ASM_OUTPUT_ASCII): Likewise. * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise. * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise. * m88k.c (output_ascii): Likewise. * m88k.h (OVERRIDE_OPTIONS): Likewise. * mcore.h (REG_CLASS_FROM_LETTER): Likewise. * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise. * sh.h (REG_CLASS_FROM_LETTER): Likewise. cp: * xref.c (GNU_xref_member): Use safe-ctype macros and/or fold extra calls into fewer ones. f: * bad.c (ffebad_finish): Use safe-ctype macros and/or fold extra calls into fewer ones. * implic.c (ffeimplic_lookup_): Likewise. * intdoc.c (dumpimp): Likewise. * intrin.c (ffeintrin_init_0): Likewise. * lex.c (ffelex_backslash_, ffelex_cfebackslash_, ffelex_hash_): Likewise. * lex.h (ffelex_is_firstnamechar): Likewise. * target.c (ffetarget_integerhex): Likewise. java: * gjavah.c (jni_print_char, decode_signature_piece): Use safe-ctype macros and/or fold extra calls into fewer ones. * lex.c (java_read_unicode, java_lex): Likewise. * lex.h (JAVA_START_CHAR_P, JAVA_PART_CHAR_P, JAVA_ASCII_DIGIT, JAVA_ASCII_HEXDIGIT, JAVA_ASCII_LETTER): Likewise. * mangle_name.c (append_unicode_mangled_name, unicode_mangling_length): Likewise. From-SVN: r46397
2001-10-21target.h (FFETARGET_32bit_longs): Don't define for 64-bit hppa.Craig Prescott2-1/+6
2001-10-21 Craig Prescott <prescott@phys.ufl.edu> * target.h (FFETARGET_32bit_longs): Don't define for 64-bit hppa. From-SVN: r46393
2001-10-21Daily bump.GCC Administrator1-1/+1
From-SVN: r46390
2001-10-20Daily bump.GCC Administrator1-1/+1
From-SVN: r46372
2001-10-19Daily bump.GCC Administrator1-1/+1
From-SVN: r46344
2001-10-18Daily bump.GCC Administrator1-1/+1
From-SVN: r46329
2001-10-17std.c (ffestd_labeldef_format): Fix variable/stmt ordering.Richard Henderson2-4/+9
* std.c (ffestd_labeldef_format): Fix variable/stmt ordering. (ffestd_R737A): Likewise. From-SVN: r46328
2001-10-17com.h: Remove FFECOM_targetCURRENT...Richard Henderson25-6546/+1552
* com.h: Remove FFECOM_targetCURRENT, FFECOM_ONEPASS, BUILT_FOR_270, BUILT_FOR_280, FFECOM_GCC_INCLUDE, all derivitive defines, and all related conditional compilation directives. * bad.c, bld.c, bld.h, com.c, equiv.c, equiv.h, global.h, intdoc.c, intrin.c, intrin.h, lex.c, parse.c, sta.c, std.c, ste.c, ste.h, stt.c, stt.h, stw.h, symbol.c, symbol.h, target.h, top.c: Likewise. From-SVN: r46324
2001-10-17Makefile.in (misc.o): Depend on langhooks.h.Richard Henderson3-6/+21
ada/ * Makefile.in (misc.o): Depend on langhooks.h. * misc.c: Include it. (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New. (LANG_HOOKS_DECODE_OPTION): New. (lang_hooks): Use LANG_HOOKS_INITIALIZER. f/ * Make-lang.in (f/com.o): Depend on langhooks.h. * com.c: Include it. (LANG_HOOKS_INIT, LANG_HOOKS_FINISH): New. (LANG_HOOKS_INIT_OPTIONS, LANG_HOOKS_DECODE_OPTION): New. (lang_hooks): Use LANG_HOOKS_INITIALIZER. java/ * Make-lang.in (java/lang.o): Depend on langhooks.h. From-SVN: r46318
2001-10-17Daily bump.GCC Administrator1-1/+1
From-SVN: r46309
2001-10-16Daily bump.GCC Administrator1-1/+1
From-SVN: r46278
2001-10-15Daily bump.GCC Administrator1-1/+1
From-SVN: r46264
2001-10-14Daily bump.GCC Administrator1-1/+1
From-SVN: r46252
2001-10-13Daily bump.GCC Administrator1-1/+1
From-SVN: r46242
2001-10-12Daily bump.GCC Administrator1-1/+1
From-SVN: r46224
2001-10-11Daily bump.GCC Administrator1-1/+1
From-SVN: r46180
2001-10-10Daily bump.GCC Administrator1-1/+1
From-SVN: r46143