- 15 May, 2002 2 commits
-
-
* invoke.texi (-malign-double): Re-add lost warning. * i386-protos.h (x86_output_mi_thunk): Declare. * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ... * i386.c (x86_output_mi_thunk): ... here; handle 64bits. * dwarf2out.c (output_call_frame_info): Do not skip unwind info when flag_asynchronous_unwind_tables is set. * flags.h (flag_reorder_functions): Declare. * function.c (prepare_function_start): Initialize frequnecy. * params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New paramters. * Makefile.in (predict.o): Add dependency on target.h and params.h * defaults.h (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros. * predict.c (choose_function_section): New function. (estimate_bb_frequencies): Use it. * toplev.c (flag_reorder_functions): New global variable. (lang_independent_options): New. (parse_options_and_default_flags): Set. * varasm.c (assemble_start_function): Bypass functdion alignment for never executed functions. * invoke.texi (-freorder-blocks, -freorder-functions): Document. (param hot-bb-count-fraction, hot-bb-frequency-fraction): New. * tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Document. Thu Jan 3 21:52:09 CET 2002 Jan Hubicka <jh@suse.cz> * predict.c: Inlude profile.h (MIN_COUNT): Rename to MIN_COUNT_FRACTION (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p): Use the information about maximal counter in the program. Thu Dec 20 22:14:00 CET 2001 Jan Hubicka <jh@suse.cz> * basic-block.h (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p): New functions. * cfgcleanup.c (outgoing_edges_match): Use them. * predict.c (MIN_COUNT, MIN_FREQUENCY): New macros. (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p): New functions. * function.h (function): Add new field function_frequency. * predict.c (compute_function_frequency): New function. (estimate_probability): Call it. From-SVN: r53478
Jan Hubicka committed -
* c-parse.in (MODIFIED_WCHAR_TYPE): New macro. (c_common_nodes_and_builtins): Use it. (builtin_define_with_value): New function. (cb_register_builtins): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here, using builtin_define_with_value. Use consistent notation when defining __GXX_WEAK__. (WCHAR_TYPE_SIZE): Don't redefine. (combine_strings): Don't use WCHAR_TYPE_SIZE. * cppdefault.h: Don't provide defaults for SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE. * cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc. * tradcpp.c (initialize_builtins): Likewise. * gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__. * c-lex.h (builtin_define_with_value): Prototype. * system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE, NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE. * doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc. * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h, config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h, config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h, config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h, config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h, config/sparc/linux64.h, config/sparc/netbsd-elf.h, config/sparc/sol2-bi.h, config/sparc/sparc.h: Do not define NO_BUILTIN_SIZE_TYPE etc. Remove all references to __SIZE_TYPE__ etc from all spec strings. When this makes extra specs empty, delete them. From-SVN: r53472
Zack Weinberg committed
-
- 14 May, 2002 2 commits
-
-
* doc/install.texi: Remove special markup originally required for HTML generation with texi2html. From-SVN: r53453
Gerald Pfeifer committed -
install.texi (Specific, [...]): Update passus on setting CONFIG_SHELL to /bin/ksh and remove alternate trick to... * doc/install.texi (Specific, *-*-solaris2*): Update passus on setting CONFIG_SHELL to /bin/ksh and remove alternate trick to (possibly) work around broken /bin/sh. From-SVN: r53452
Gerald Pfeifer committed
-
- 13 May, 2002 3 commits
-
-
* doc/contrib.texi: Update my entry. * wwwdocs/htdocs/bugs.html: Update. From-SVN: r53437
Neil Booth committed -
* gcc.c (SWITCH_TAKES_ARG): Remove 'V'. (translate_options): Remove 'V'. (process_command): Similarly. doc: * invoke.texi: Remove documentation of 'V'. From-SVN: r53425
Neil Booth committed -
* Makefile.in (c-common.o, cppinit.o): Update. * c-common.c: Include except.h. (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__. Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS. * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here. * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS, CPP_PREDEFINES): Handle here. config: * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h, alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h, alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define TARGET_OS_CPP_BUILTINS. * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define. (CPP_SPEC, EXTRA_SPECS): Update. (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC, CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC, CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC, CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC, CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove. doc: * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove. (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define. From-SVN: r53410
Neil Booth committed
-
- 11 May, 2002 1 commit
-
-
* config/rs6000/rs6000.c (rs6000_default_long_calls, rs6000_longcall_switch, rs6000_set_default_type_attributes): New. (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it. (rs6000_override_options): Handle -m(no-)longcall. (init_cumulative_args, output_mi_thunk): Check for both longcall and shortcall attributes on the function. (rs6000_attribute_table): Add "shortcall". (rs6000_handle_longcall_attribute): Update comment. (altivec_expand_unop_builtin, altivec_expand_binop_builtin, altivec_expand_ternop_builtin): Add default clauses to switches to silence warnings. * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and rs6000_default_long_calls. Define REGISTER_TARGET_PRAGMAS. (TARGET_OPTIONS): Add longcall and no-longcall. * config/rs6000/rs6000.md (call_nonlocal_sysv, call_value_nonlocal_sysv): Split by alternatives. One pair accepts only SYMBOL_REFs and rejects if CALL_LONG is set in the call cookie. The other pair accepts only LR/CTR and has no restriction. * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza): Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to tmake_file. * config/rs6000/rs6000-c.c: New file. * config/rs6000/t-rs6000-c-rule: New file. * config/rs6000/rs6000-protos.c: Add multiple-include guard. Prototype rs6000_pragma_longcall. * doc/extend.texi: Document shortcall attribute. * doc/invoke.texi: Document -mlongcall, -mno-longcall. From-SVN: r53382
Zack Weinberg committed
-
- 10 May, 2002 2 commits
-
-
2002-05-10 David S. Miller <davem@redhat.com> * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment. (struct rtx_def): Update unchanging flag comment. * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description. * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs to be handled to INSN too. (dbr_schedule): Likewise. * resource.c (next_insn_no_annul): Likewise. From-SVN: r53370
David S. Miller committed -
2002-05-09 David S. Miller <davem@redhat.com> * rtl.h (struct rtx_def): Document unchanging and in_struct flags more accurately. (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix comment. (INSN_FROM_TARGET_P): Valid also for CALL_INSN. * doc/rtl.texi: Document these macros more accurately. * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for JUMP_INSNs and CALL_INSNs. * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P or INSN_FROM_TARGET_P if the code is appropriate. From-SVN: r53360
David S. Miller committed
-
- 09 May, 2002 3 commits
-
-
* Makefile.in: Update. * c-common.c (flag_iso, flag_undef, cb_register_builtins, builtin_define_std): New. (c_common_init): Register CPP builtins callback. * c-common.h (flag_iso, flag_undef): New. * c-decl.c (c_decode_option): Set flag_iso and flag_undef. * c-lex.c: Don't include target.h. (cb_register_builtins): Move to c-common.c. (init_c_lex): Don't register hook here. * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New. (cpp_define, cpp_assert): Remove. * gcc.c (cc1_options): Pass -undef to front end. * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove. (TARGET_INITIALIZER): Update. * target.h (struct cpp_reader): Don't predeclare. (struct gcc_target): Remove cpp builtin hook. * tree.c (default_register_cpp_builtins): Remove. cp: * cp-tree.h (flag_ansi): Remove. * decl2.c (flag_ansi): Remove. (cxx_decode_option): Set flag_iso and flag_undef. doc: * tm.texi: Update. From-SVN: r53349
Neil Booth committed -
* cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison. * cppmacro.c (paste_all_tokens): Bad pastes are a hard error. doc: * cpp.texi: Update for removal of obsolete features. testsuite: * gcc.dg/cpp/poison.c: Update. * gcc.dg/cpp/20000625-2.c: Remove. * gcc.dg/cpp/direct2s.c: Remove final test. From-SVN: r53333
Neil Booth committed -
* final.c (end_final): Use C trees to output data structures for profiling. * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h (profile.o): New dependency profile.h (final.o): New dependency profile.h * profile.h: New file. New global structure profile_info. * final.h (count_edges_instrumented_now): Declare. (current_function_cfg_checksum): Declare. (function_list): New structure. (functions_head, functions_tail): New static variables. (end_final): Emits more data, removed some -ax stuff. (final): Stores function names and chcksums. * gcov-io.h (__write_gcov_string): New function. (__read_gcov_string): New function. * gcov.c (read_profile): New function. (create_program_flow_graph): Uses read_profile instead of reading da_file. (read_files): Removed da_file checking, it's done by read_profile now. * libgcc2.c (bb_function_info): New structure. (bb): New field in structure, removed some -ax stuff. (__bb_exit_func): Changed structure of da_file. * profile.c (count_edges_instrumented_now): New global variable. (current_function_cfg_checksum): New global variable. (max_counter_in_program): New global variable. (get_exec_counts): New function. (compute_checksum): New function. (instrument_edges): Sets count_edges_instrumented_now. (compute_branch_probabilities): Uses get_exec_counts instead of reading da_file. (branch_prob): Calls compute_checksum and writes extra data to bbg_file. (init_branch_prob): Removed da_file checking, done in get_exec_counts now. (end_branch_prob): Removed da_file checking, done in get_exec_counts now. * gcov.texi: Updated information about gcov file format. Co-Authored-By: Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz> From-SVN: r53326
Jan Hubicka committed
-
- 08 May, 2002 4 commits
-
-
rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name, and use it in all invocations of these macros. * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name, and use it in all invocations of these macros. Clean up comments. * rtl.c (rtl_check_failed_flag): Add an argument for the name of the flag access macro whose check failed. * doc/rtl.texi (Flags): Document additional flag uses. From-SVN: r53306
Janis Johnson committed -
PR preprocessor/6521 * cppfiles.c (handle_missing_header): Don't do anything different for <> includes. doc: * cppopts.texi: Update documentation for -MG. Co-Authored-By: Neil Booth <neil@daikokuya.demon.co.uk> From-SVN: r53304
Robert Spier committed -
* cpplex.c (cpp_interpret_charconst): Truncate as well as sign-extend. doc: * cpp.texi: Clarify multichar charconst valuation. testsuite: * gcc.dg/cpp/charconst-4.c: More tests. From-SVN: r53301
Neil Booth committed -
From-SVN: r53299
Mark Mitchell committed
-
- 07 May, 2002 2 commits
-
-
* config.in (ENABLE_RTL_FLAG_CHECKING): New. * configure.in (ac_rtlflag_checking): New. * doc/install.texi (--enable-checking): Document RTL flag checking. * configure: Regenerated. From-SVN: r53272
Janis Johnson committed -
* c-common.c (c_common_init): Set options->unsigned_wchar. * cppinit.c (cpp_create_reader): Default unsigned_wchar, group target dependencies. (init_builtins, cpp_handle_option): Update. * cpplex.c (cpp_interpret_charconst): Update. * cpplib.h (struct cpp_options): Add unsigned_wchar, rename signed_char to unsigned_char, group target dependencies. * defaults.h (WCHAR_UNSIGNED): Remove. * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison. config: * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h, i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h, i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h, i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h, sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED. doc: * tm.texi: Remove MAX_CHAR_TYPE_SIZE. From-SVN: r53271
Neil Booth committed
-
- 06 May, 2002 2 commits
-
-
From-SVN: r53242
Janis Johnson committed -
* c-common.c (warn_multichar): New. (c_common_init): Set CPP's warn_multichar. * c-common.h (warn_multichar): New. * c-decl.c (warn_multichar): Remove. * c-lex.c (lex_charconst): Update. * c-tree.h (warn_multichar): Remove. * cppexp.c (eval_token): Sign-extend charconst value. * cppinit.c (cpp_create_reader): Set warn_multichar. * cpplex.c (cpp_interpret_charconst): Don't sign-extend each character. Update prototype. Sign-extend the result. * cpplib.h: Fix conditions. (struct cpp_options): Add new warning flag. (cpp_interpret_charconst): Update prototype. cp: * Make-lang.in (decl2.o): Update. * cp-tree.h (warn_multichar): Remove. * decl2.c: Include c-common.h. (warn_multichar): Remove. doc: * cpp.texi: Update documentation. testsuite: * gcc.dg/cpp/charconst-3.c: Correct tests accordingly. From-SVN: r53240
Neil Booth committed
-
- 05 May, 2002 2 commits
-
-
doc: * cpp.texi: Update multichar charconst docs. testsuite: * gcc.dg/cpp/charconst-3.c: New test. From-SVN: r53202
Neil Booth committed -
2002-05-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements. From-SVN: r53181
Franz Sirl committed
-
- 04 May, 2002 2 commits
-
-
* Makefile.in (c-lex.o): Update. * c-lex.c: Include target.h. (cb_register_builtins): New. (init_c_lex): Set builtins callback. * c-lex.h (cpp_define, cpp_assert): New prototypes. * cppinit.c (init_builtins): Use callback, including for GXX_WEAK. * cpplib.h (struct cpp_callbacks): New member. * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New. (TARGET_INITIALIZER): Update. * target.h (struct gcc_target): New hook. * tree.c (default_register_cpp_builtins): New. * tree.h (default_register_cpp_builtins): New. doc: * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document. From-SVN: r53165
Neil Booth committed -
2002-05-03 David S. Miller <davem@redhat.com> Delete cycle display scheduling hook. * config/ia64/ia64.c (ia64_cycle_display, TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete. (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display and use emit_insn_before instead of ia64_emit_insn_before. * config/ia64/ia64.md (unspec usage): Delete cycle display. (cycle_display): Delete insn pattern. * config/sparc/sparc.md (unspec usage): Delete cycle display. (cycle_display): Delete insn pattern. * config/sparc/sparc.c (sparc_cycle_display, TARGET_SCHED_CYCLE_DISPLAY): Delete. * doc/md.texi (cycle_display): Don't mention. * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise. From-SVN: r53134
David S. Miller committed
-
- 03 May, 2002 2 commits
-
-
* doc/install.texi (Installing): Mention GCC 3.1 buildstats. (Specific): Removed buildstats references. (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0. (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1. Accomodate Solaris versions beyond 8. (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1. (Specific, *-*-solaris2.8): Removed, obsolete. From-SVN: r53097
Rainer Orth committed -
* defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c. * c-decl.c (c_init_decl_processing): Use it. * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE. * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define. * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define. From-SVN: r53091
Jason Merrill committed
-
- 02 May, 2002 2 commits
-
-
From-SVN: r53070
Loren J. Rittle committed -
From-SVN: r53040
Joseph Myers committed
-
- 01 May, 2002 2 commits
-
-
* config.gcc: Correct test of --enable-obsolete. Obsolete all A29k configurations. * doc/install.texi: Update to match. From-SVN: r53009
Zack Weinberg committed -
* doc/install.texi: Update Texinfo version requirement documentation. From-SVN: r52997
Joseph Myers committed
-
- 30 Apr, 2002 4 commits
-
-
install.texi (Final install): Add to the list of info to include in a report of a successful bootstrap... * install.texi (Final install): Add to the list of info to include in a report of a successful bootstrap, and add link to 3.1 list. From-SVN: r52956
Janis Johnson committed -
* pa.c (override_options): Default to PA8000 scheduling. * doc/invoke.texi (HP-PA options): Mention newly added 7300 scheduling parameter. From-SVN: r52950
Jeffrey A Law committed -
* doc/contrib.texi (Contributors): Use MIPS instead of Mips and mips. Add two missing commas. From-SVN: r52944
Gerald Pfeifer committed -
2002-04-30 Paolo Carlini <pcarlini@unitus.it> * doc/contrib.texi (Contributors): Update Paolo Carlini's and Benjamin Kosnik's entries. From-SVN: r52941
Paolo Carlini committed
-
- 29 Apr, 2002 4 commits
-
-
Merging code from dfa-branch: From-SVN: r52915
Vladimir Makarov committed -
* doc/install.texi (Testing): Provide additional information, and a stronger encouragement, for running the testsuites. From-SVN: r52910
Janis Johnson committed -
* doc/contrib.texi (Contributors): Add Paolo Carlini and Janis Johnson. Update Richard Henderson, Jakub Jelinek, and Mark Mitchell. Refer to Objective-C instead of ObjC, SPARC instead of sparc, and CPU instead of cpu. From-SVN: r52893
Gerald Pfeifer committed -
* toplev.c (flag_if_conversion, flag_if_conversion2): New static variables. (lang_independent_options): Add -fif-conversion, -fif-conversion2 (rest_of_compilation): Do if conversion only when asked for. (parse_options_and_default_flags): Set new variables to 1 for -O1 * invoke.texi (-fif-conversion, -fif-conversion2): Document. From-SVN: r52891
Jan Hubicka committed
-
- 26 Apr, 2002 1 commit
-
-
2002-04-25 Steve Christiansen <smc@us.ibm.com> * doc/md.texi (Machine Constraints): Add IA-64 constraints. From-SVN: r52774
Steve Christiansen committed
-