aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-06-10predict.def (PRED_CALL, [...]): New.Jan Hubicka3-8/+72
* predict.def (PRED_CALL, PRED_ERROR_RETURN): New. * predict.c (estimate_probability): Calculate dominance information; improve detection of NORETURN heuristics; add call/error_return heuiristics; tweak comparison heuristics to recognize -1. From-SVN: r43130
2001-06-10std_cstdio.h: Include cstddef for size_t.Benjamin Kosnik2-1/+8
2001-06-10 Benjamin Kosnik <bkoz@redhat.com> * include/c_std/bits/std_cstdio.h: Include cstddef for size_t. From-SVN: r43128
2001-06-10Daily bump.GCC Administrator5-5/+5
From-SVN: r43126
2001-06-10invoke.texi (C Dialect Options): Document -aux-info.Alexandre Oliva3-276/+333
* doc/invoke.texi (C Dialect Options): Document -aux-info. (Debugging Options): Document -print-multi-directory and -print-multi-lib. * doc/gcc.1: Rebuilt. From-SVN: r43124
2001-06-10toplev.c (independent_decode_option): Require `=' between `-aux-info' and ↵Alexandre Oliva3-4/+15
filename in the same argument. * toplev.c (independent_decode_option): Require `=' between `-aux-info' and filename in the same argument. * gcc.c: Don't pass -aux-info=filename twice. From-SVN: r43123
2001-06-09New test.Mark Mitchell1-0/+350
From-SVN: r43121
2001-06-09expr.c (expand_expr, [...]): Do not replace an array element with the known ↵Mark Mitchell3-1/+20
initializing value if... * expr.c (expand_expr, case ARRAY_REF): Do not replace an array element with the known initializing value if it has side-effects. * toplev.c (rest_of_compilation): Remove dead code before purge_addressof. From-SVN: r43120
2001-06-09cppinit.c (print_help): Document -fpreprocessed.Neil Booth3-3/+20
* cppinit.c (print_help): Document -fpreprocessed. * invoke.texi: Similarly. From-SVN: r43116
2001-06-09predict.def: New file.Jan Hubicka9-55/+325
* predict.def: New file. * predict.h: New file. * predict.c: Include predict.h. (predictor_info): New structure and array. (predict_edge, predict_insn): Rewrite; make global. (predict_edge_def, predict_insn_def): New global functions. (dump_prediction, combine_predictions_for_insns): New static functions. (estimate_probability): Change calls to predict_edge to predict_edge_def and calls to predict_insn to predict_insn_def; combine probabilities. (expected_value_to_br_prob): Behave as predictor. * rtl.h (REG_BR_PRED): Update coment. (invert_br_probabilities): New. * jump.c: Include predict.h (duplicate_loop_exit_test): Drop branch prediction notes. (invert_jump): Use invert_br_probabilities. * Makefile.in: Add dependancy on predict.h for jump and predict pass. * ifcvt.c (dead_or_predicable): Use invert_br_probabilities. * combine.c (distribute_notes): Handle BR_PRED. From-SVN: r43115
2001-06-09mangle1.C: Change regex to allow USER_LABEL_PREFIX == "_" names.David Billinghurst2-14/+19
* g++.dg/mangle1.C: Change regex to allow USER_LABEL_PREFIX == "_" names. From-SVN: r43114
2001-06-09New tests.Richard Henderson4-0/+783
From-SVN: r43111
2001-06-09predict.c (predict_insn, [...]): New static functions.Jan Hubicka2-73/+95
* predict.c (predict_insn, predict_edge): New static functions. (estimate_probability): Revamp to use new functions; fix loop header heruistics; add loop exist heruistics From-SVN: r43109
2001-06-09acinclude.m4 (AC_EXEEXT): Work around in case it expands to nothing, as in ↵Alexandre Oliva3-238/+246
autoconf 2.50. * acinclude.m4 (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50. * aclocal.m4, configure: Rebuilt. From-SVN: r43108
2001-06-09configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in ↵Alexandre Oliva3-34/+43
autoconf 2.50. * configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50. * acinclude.m4: Likewise. * aclocal.m4, configure: Rebuilt. From-SVN: r43107
2001-06-09* config.gcc: Re-enable bi-arch sparc on Solaris 7 and above.Alexandre Oliva2-13/+16
From-SVN: r43106
2001-06-09configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in ↵Alexandre Oliva3-64/+79
autoconf 2.50. * configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50. * acinclude.m4: Likewise. * configure: Rebuilt. From-SVN: r43105
2001-06-09acinclude.m4 (AC_EXEEXT): Work around in case it expands to nothing, as in ↵Alexandre Oliva5-839/+870
autoconf 2.50. * acinclude.m4 (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50. * configure: Rebuilt. From-SVN: r43104
2001-06-09configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in ↵Alexandre Oliva7-65/+97
autoconf 2.50. * configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50. * configure: Rebuilt. From-SVN: r43103
2001-06-09* config/m68k/m68k.md (ashrdi_const): Fix right shift by 16.Peter Jakubek2-1/+5
From-SVN: r43100
2001-06-09std_cwchar.h: Remove size_t injection, include std_cstddef.Benjamin Kosnik6-12/+13
2001-06-09 Benjamin Kosnik <bkoz@redhat.com> * include/c_std/bits/std_cwchar.h: Remove size_t injection, include std_cstddef. * include/c_std/bits/std_ctime.h: Same. * include/c_std/bits/std_cstring.h: Same. * include/c_std/bits/std_cstdlib.h: Same. * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf. * include/c_std/bits/std_cctype.h: Remove isblank. From-SVN: r43097
2001-06-09config.guess: Import CVS version 1.195.Alexandre Oliva3-3/+17
* config.guess: Import CVS version 1.195. * config.sub: Import CVS version 1.212. From-SVN: r43096
2001-06-09vax.h (NOTICE_UPDATE_CC): Set CC_NO_OVERFLOW in cc_status.flags for integer ↵John David Anglin2-1/+29
operations that don't update... * vax.h (NOTICE_UPDATE_CC): Set CC_NO_OVERFLOW in cc_status.flags for integer operations that don't update C bit. From-SVN: r43094
2001-06-09gthr-posix.h (__gthread_objc_init_thread_system): If pthread_key_create ↵Nicola Pero1-0/+7
fails, it's not clear what the return value is. 2001-06-09 Nicola Pero <nicola@brainstorm.co.uk> * gthr-posix.h (__gthread_objc_init_thread_system): If pthread_key_create fails, it's not clear what the return value is. This obvious fix makes sure it always returns -1 if a problem occurs. From-SVN: r43092
2001-06-09(__gthread_objc_init_thread_system): If pthread_key_create fails, it's not ↵Nicola Pero1-2/+2
clear what the return value is. (__gthread_objc_init_thread_system): If pthread_key_create fails, it's not clear what the return value is. This obvious fix makes sure it always returns -1 if a problem occurs. From-SVN: r43091
2001-06-09gcc.texi: Use @defcodeindex for the index of options.Joseph Myers2-125/+135
* doc/gcc.texi: Use @defcodeindex for the index of options. Add more index entries. Use more logical markup where appropriate. Use TeX quotes and dashes. From-SVN: r43089
2001-06-09unwind-pe.h: Conditionally qualify references to abort with std::.Benjamin Kosnik1-1/+1
2001-06-09 Benjamin Kosnik <bkoz@redhat.com> * unwind-pe.h: Conditionally qualify references to abort with std::. From-SVN: r43087
2001-06-09unwind-pe.h: Conditionally qualify references to abort with std::.Benjamin Kosnik2-3/+15
2001-06-09 Benjamin Kosnik <bkoz@fillmore.constant.com> * unwind-pe.h: Conditionally qualify references to abort with std::. From-SVN: r43082
2001-06-09load-3.m: Added.Ovidiu Predescu1-0/+5
2001-06-09 Ovidiu Predescu <ovidiu@cup.hp.com> * objc/execute/load-3.m: Added. Check sending +load to categories, in addition to classes. From-SVN: r43081
2001-06-09Added. Check sending +load to categories, in addition to classes.Ovidiu Predescu1-0/+108
From-SVN: r43080
2001-06-09std_cctype.h: Remove isblank.Benjamin Kosnik2-2/+4
2001-06-09 Benjamin Kosnik <bkoz@redhat.com> * include/c_std/bits/std_cctype.h: Remove isblank. From-SVN: r43078
2001-06-09* invoke.texi: Remove superfluous text.Julian Foad2-9/+4
From-SVN: r43075
2001-06-09Daily bump.GCC Administrator5-5/+5
From-SVN: r43072
2001-06-09acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc, fgetws.Benjamin Kosnik14-685/+820
2001-06-09 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc, fgetws. * aclocal.m4: Regenerate. * configure: Regenerate. * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc injection, guard fgetwc, fgetws. * include/c_std/bits/std_cstdio.h: Remove superfluous includes. * include/c_std/bits/std_clocale.h: And here. * include/c_std/bits/std_cctype.h: And here. * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection. * config/basic_file_stdio.h: Don't include unistd.h. * config/c_io_stdio.h: Don't use compatibility headers. * libsupc++/eh_terminate.cc: Qualify abort. (__terminate): And here. * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort. From-SVN: r43070
2001-06-09std_cstdlib.h: Remove _Exit, strtof injections.Benjamin Kosnik2-4/+8
2001-06-08 Benjamin Kosnik <bkoz@redhat.com> * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections. From-SVN: r43069
2001-06-08linux.h (CPLUSPLUS_CPP_SPEC): New.Richard Henderson2-1/+13
* config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New. (LIB_SPEC): Mirror config/linux.h version. From-SVN: r43067
2001-06-08configure: Rebuilt.Tom Tromey3-242/+242
* configure: Rebuilt. * configure.in: Compute new aux dir using `pwd'. From-SVN: r43064
2001-06-08*: Add copyright notice.Benjamin Kosnik67-526/+1705
2001-06-08 Benjamin Kosnik <bkoz@redhat.com> libstdc++/2767 libstdc++/2989 libstdc++/2992 * include/std/*: Add copyright notice. * include/c_std/bits/*: Use using statements instead of extern "C". * include/c_std/bits/std_cmath.h: Don't overload double versions of math functions with __buitin versions, use global version to prevent ambiguities. Remove define hacks. * include/c_std/bits/std_cwchar.h: Using declarations for "C" functions that have changed signatures and std:: declarations. Remove define hacks. * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous __builtins in std::. Remove define hacks. * testsuite/17_intro/headers_c.cc: Add tests. * testsuite/17_intro/headers_c++.cc: Add test. From-SVN: r43061
2001-06-08except.c (get_exception_pointer, [...]): Take a struct function.Richard Henderson5-15/+31
* except.c (get_exception_pointer, get_exception_filter): Take a struct function. Update all callers. * except.h (get_exception_pointer): Update declaration. * expr.c (expand_expr): Update get_exception_pointer call. * integrate.c (expand_inline_function): Remap the exception pointer from callee to caller. From-SVN: r43060
2001-06-08THREADS: Explain that when we compile libobjc inside GCC...Nicola Pero2-20/+28
2001-06-08 Nicola Pero <n.pero@mi.flashnet.it> * THREADS: Explain that when we compile libobjc inside GCC, we always use thr-objc.c as a backend, which uses GCC's thread code. From-SVN: r43058
2001-06-08c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations accurately ↵Mark Mitchell6-7/+21
reflect its cv-qualification. * c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations accurately reflect its cv-qualification. * c-typeck.c (type_lists_compatible_p): Ignore the top-levl cv-qualifiers on function types. From-SVN: r43056
2001-06-08init.c (__objc_send_message_in_list): When setting a new entry in ↵Richard Frith-Macdonald2-5/+14
__objc_load_methods use the method IMP as key... 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org> * init.c (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method IMP as key, but check to see if the method is in the hashtable by looking at the IMP also. Also ... call the method after adding it to the hashtable rather than before ... thus preventing an obscure possibility of infinite recursion if a +load method itself loads a subclass. From-SVN: r43052
2001-06-08load-2.m: New test.Stan Shebs2-0/+51
* objc/execute/load-2.m: New test. From Nicola Pero <n.pero@mi.flashnet.it>. From-SVN: r43051
2001-06-08re PR libgcj/2874 (libjava testsuite disk space usage)Tom Tromey3-23/+89
Fix for PR libgcj/2874: * libjava.mauve/mauve.exp (gcj_run_mauve_tests): New proc. (test_mauve): Return 0 on failure. * lib/libjava.exp (test_libjava_from_source): Remove generated files if test is successful. (test_libjava_from_javac): Likewise. (gcj_cleanup): New proc. From-SVN: r43050
2001-06-08basic-block.h: Improve comments.Mark Mitchell5-13/+75
* basic-block.h: Improve comments. * except.c (expand_eh_region_end_allowed): Remove redundant call to do_pending_stack_adjust. * flow.c (life_analysis): Fix typo in comment. (calculate_global_regs_live): Add documentation. (mark_set_1): Likewise. (debug_regset): Likewise. * doc/rtl.texi (cond_exec): Document it. From-SVN: r43049
2001-06-08i386.h (CONST_COSTS): set cost of constants representable in immediate ↵Jan Hubicka2-6/+10
fields to 0. * i386.h (CONST_COSTS): set cost of constants representable in immediate fields to 0. From-SVN: r43045
2001-06-08function.c (diddle_return_value): Kill code to determine return value before ↵Jan Hubicka4-70/+49
expand_function_end. * function.c (diddle_return_value): Kill code to determine return value before expand_function_end. (expand_function_end): Delay call to clobber_return_register after fucntion return value is computed. Re-install temporary reverted patch: * toplev.c (rest_of_compilation): Call split_all_insns before reg-stack and shorten-branches. Do shorten-branches after reg-stack. * final.c (shorten_branches): Remove insn splitting code. From-SVN: r43044
2001-06-08gcc.texi, [...]: Add index of command line options.Joseph Myers3-137/+1030
* doc/gcc.texi, doc/invoke.texi: Add index of command line options. Use @opindex to index them rather than other indexing commands. Use @var{...} instead of <...>. Avoid spaces in names inside @var. Don't use @kindex to index escape sequences in source code. From-SVN: r43041
2001-06-08re PR libgcj/3059 (System doesn't set java.home property)Tom Tromey4-4/+16
Fix for PR libgcj/3059: * java/lang/natSystem.cc (init_properties): Define `java.home'. * Makefile.in: Rebuilt. * Makefile.am (AM_CXXFLAGS): Define PREFIX. From-SVN: r43040
2001-06-08conflictJason Merrill1-1/+0
From-SVN: r43038
2001-06-08stmt.c (current_nesting_level): New fn.Jason Merrill5-2/+30
* stmt.c (current_nesting_level): New fn. * tree.h: Declare it. * c-semantics.c (genrtl_compound_stmt): Use it. * dbxout.c (dbxout_symbol): Use DECL_RTL_SET_P. From-SVN: r43037