aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2001-01-12calls.c (emit_library_call_value_1): Add USEs and CLOBBERs to function usage ↵Alexandre Oliva5-9/+166
for arguments passed by reference. * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs to function usage for arguments passed by reference. Optimize callee-copied arguments. * regmove.c (find_related_toplev): Find uses in function usage. (replace_in_call_usage): New function. (fixup_match_1): Call it. * cse.c (cse_insn): Canonicalize registers in function usage. * reload1.c (replace_pseudos_in_call_usage): New function. (reload): Call it. From-SVN: r38964
2001-01-12Makefile.in: Reverted yesterday's wrong patch.Alexandre Oliva2-6/+9
* Makefile.in: Reverted yesterday's wrong patch. Installed the right version. From-SVN: r38963
2001-01-12alpha.c (alpha_expand_block_move): GET_MODE of tmp, not XEXP (tmp, 0).Jakub Jelinek2-2/+7
* config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp, not XEXP (tmp, 0). From-SVN: r38960
2001-01-12Makefile.in (bootstrap): rename stages to be mnemonic.DJ Delorie2-48/+104
* Makefile.in (bootstrap): rename stages to be mnemonic. Add restageN, unstageN, bubblestrap, quickstrap, and cleanstrap targets. From-SVN: r38959
2001-01-12cpp.texi, [...]: Consistently refer to ISO C instead of ANSI C.Joseph Myers8-73/+153
* cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi, tm.texi: Consistently refer to ISO C instead of ANSI C. Refer to -std options alongside references to -ansi. Update some documentation for C99. * cpp.1: Regenerate. From-SVN: r38956
2001-01-12Undo patch accidentally commited as part of change to removeNick Clifton1-82/+82
{save|restore}_machine_status From-SVN: r38955
2001-01-12haifa-sched.c (restore_line_notes): Remove argument block B since it's unused.Andreas Jaeger5-9/+14
* haifa-sched.c (restore_line_notes): Remove argument block B since it's unused. * sched-ebb.c (schedule_ebb): Change caller. * sched-rgn.c (schedule_region): Likewise. * sched-int.h (restore_line_notes): Adjust prototype. From-SVN: r38954
2001-01-12revert: varasm.c (assemble_name): Ensure we output the stripped name.Mike Stump2-5/+1
Revert: * varasm.c (assemble_name): Ensure we output the stripped name. From-SVN: r38953
2001-01-12loop.h: Remove wrong declaration of doloop_condition_get.Andreas Jaeger2-5/+9
* loop.h: Remove wrong declaration of doloop_condition_get. Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r38952
2001-01-12g77spec.c (lang_specific_driver): Update copyright year to 2001.Joseph Myers5-3/+12
f: * g77spec.c (lang_specific_driver): Update copyright year to 2001. java: * gjavah.c (version), jcf-dump.c (version): Update copyright year to 2001. From-SVN: r38951
2001-01-12extend.texi: Move C++-extension-related node from the C section into the C++ ↵Phil Edwards2-69/+72
section. 2001-01-12 Phil Edwards <pme@sources.redhat.com> * extend.texi: Move C++-extension-related node from the C section into the C++ section. From-SVN: r38950
2001-01-12extend.texi: Refer to an array of pointers to functions instead of one of ↵Joseph Myers2-2/+7
functions. * extend.texi: Refer to an array of pointers to functions instead of one of functions. From-SVN: r38948
2001-01-12f-torture.exp (f_torture_compile): Prune the warnings before testing that no ↵Richard Earnshaw2-2/+8
relevant ones were found. * lib/f-torture.exp (f_torture_compile): Prune the warnings before testing that no relevant ones were found. From-SVN: r38944
2001-01-12combine.c (reversed_comparison): Fix typo in last patch.Andreas Jaeger2-3/+11
* combine.c (reversed_comparison): Fix typo in last patch. Check X for NULL. (combine_reversed_comparison_code): Make static to follow prototype declaration. Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r38942
2001-01-12typeck.c (build_c_cast): Do template processing earlier.Nathan Sidwell4-10/+50
cp: * typeck.c (build_c_cast): Do template processing earlier. Always pedwarn on array casts. testsuite: * g++.old-deja/g++.pt/cast2.C: New test. From-SVN: r38941
2001-01-12install.texi: Remove misplaced duplicate entry.Phil Edwards2-45/+4
2001-01-12 Phil Edwards <pme@sources.redhat.com> * install.texi: Remove misplaced duplicate entry. From-SVN: r38940
2001-01-12friend.c (make_friend_class): Make sure a templated class is actually a ↵Nathan Sidwell4-25/+46
template. cp: * friend.c (make_friend_class): Make sure a templated class is actually a template. testsuite: * g++.old-deja/g++.pt/friend47.C: New test. From-SVN: r38939
2001-01-12Daily bump.Jeff Law2-2/+2
From-SVN: r38938
2001-01-12Update.Ulrich Drepper1-1/+4
From-SVN: r38937
2001-01-12Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.Ulrich Drepper1-0/+27
From-SVN: r38936
2001-01-12* final.c: (leaf_function_p): Fix typo.John Wehle2-9/+16
From-SVN: r38935
2001-01-12aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.Zack Weinberg6-456/+876
2001-01-11 Zack Weinberg <zack@wolery.stanford.edu> * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten. Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending which you have. (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE. * configure.in: Set GGC to ggc-page if any of mmap_dev_zero, mmap_anon, and valloc is available. * ggc-page.c: Restructure ifdef logic to match new autoconf spec. Don't throw away the test page in init_ggc. * configure, config.in: Regenerate. From-SVN: r38934
2001-01-12loop.h (total_biv_increment): Constify iv_class pointer.Michael Hayes4-9/+129
* loop.h (total_biv_increment): Constify iv_class pointer. (struct induction): Replace `mem_mode' with `mem' rtx. * unroll.c (total_biv_increment): Constify iv_class pointer. * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx. (find_mem_givs, combine_givs_p): Likewise. (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New. From-SVN: r38933
2001-01-12gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32 LastError.Thomas Pfaff2-2/+26
* gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32 LastError. (__gthread_getspecific): Ditto. From-SVN: r38932
2001-01-11i386.c (ix86_comparison_operator, [...]): Convert fp comparison codes to ↵Jan Hubicka4-281/+239
integer before handling. * i386.c (ix86_comparison_operator, fcmov_comparison_operator, put_condition_code): Convert fp comparison codes to integer before handling. (ix86_expand_fp_compare): Postnote the fp comparison code converison to final. * i386.c (unsigned_comparison, no_comparison_operator): Kill. * i386-protos.h (no_comparison_operator): Kill. * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion. * combine.c (REVERSIBLE_CC_MODE): Remove. (reversible_comparison_p): Remove. (combine_reversed_comparison_code): New. (reversed_comparison): New. (combine_simplify_rtx): Use combine_reversed_comparison_code/reversed_comparison instead of reversible_comparison_p. (simplify_if_then_else): Likewise. (simplify_set): Likewise. (simplify_logical): Likewise. (if_then_else_cond): Likewise. (known_cond): Likewise. (simplify_comparison): Likewise. From-SVN: r38930
2001-01-11*** empty log message ***Alan Lehotsky2-1/+11
From-SVN: r38929
2001-01-11* cppinit.c (do_includes): Fix typo.Neil Booth2-1/+6
From-SVN: r38928
2001-01-11Fix constraints in 68HC11/HC12 portStephane Carrez2-73/+97
From-SVN: r38927
2001-01-11* cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.Neil Booth2-1/+5
From-SVN: r38926
2001-01-11[multiple changes]Neil Booth5-38/+51
2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk> * cppinit.c (cpp_start_read): If -fpreprocessed, ignore -D, -U and -A, and don't initialize the builtins. * cppmain.c (cb_define, cb_undef): Unconditionally process the callback. * tradcpp.c (main): Fix typo. 2000-01-11 Mark Elbrecht <snowball3@bigfoot.com> * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include) (read_name_map): Use IS_ABSOLUTE_PATH. * tradcpp.c (get_filename): Likewise. From-SVN: r38925
2001-01-11Fix operand numbers in m68hc11.mdStephane Carrez2-45/+53
From-SVN: r38924
2001-01-11sh.c (barrier_align): Recognize branch around far branch and redundant insn.Alexandre Oliva2-1/+10
* config/sh/sh.c (barrier_align): Recognize branch around far branch and redundant insn. From-SVN: r38923
2001-01-11* invoke.texi: Fix typo.Neil Booth1-1/+1
From-SVN: r38922
2001-01-11invoke.texi: Restore documentation of the drivers' switches -MD and -MMD.Neil Booth2-0/+24
* invoke.texi: Restore documentation of the drivers' switches -MD and -MMD. From-SVN: r38920
2001-01-11* config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.Alexandre Oliva2-1/+3
From-SVN: r38910
2001-01-11Makefile.in (check-gcc//%, [...]): Support parallel testing of multilibs.Alexandre Oliva2-17/+39
* Makefile.in (check-gcc//%, check-g++//%, check-g77//%, check-objc//%): Support parallel testing of multilibs. (TESTSUITEDIR): Set to testsuite by default, but override for parallel testing. (check-gcc, check-g++, check-g77, check-objc): Enter $(TESTSUITEDIR). From-SVN: r38909
2001-01-11Partially undo a previous patchBernd Schmidt5-37/+30
From-SVN: r38908
2001-01-11decl2.c (get_guard): Set linkage from guarded decl.Nathan Sidwell2-3/+13
cp: * decl2.c (get_guard): Set linkage from guarded decl. From-SVN: r38905
2001-01-11instantiate13.C: New test.Nathan Sidwell2-0/+29
testsuite: * g++.old-deja/g++.pt/instantiate13.C: New test. From-SVN: r38904
2001-01-11call.c (convert_default_arg): Check for unprocessed DEFAULT_ARG.Nathan Sidwell9-26/+237
cp: * call.c (convert_default_arg): Check for unprocessed DEFAULT_ARG. * cp-tree.h (replace_defarg): Move to spew.c. (maybe_snarf_defarg, add_defarg_fn, do_pending_defargs): Move to spew.c, which is where they really are. (done_pending_defargs): Declare. (unprocessed_defarg_fn): Declare. * decl.c (replace_defarg): Move to spew.c * parse.y (structsp): Call done_pending_defargs. * spew.c (defarg_fns): Rearrange list structure. (defarg_fnsdone): New static variable. (defarg_depfns): New static variable. (init_spew): Adjust. (add_defarg_fn): Store the type in TREE_TYPE. (do_pending_defargs): Detect and deal with ordering constraints and circularity. (done_pending_defargs): New function. (unprocessed_defarg_fn): New function. (replace_defarg): Moved from decl.c. Robustify. Don't save if circularity detected. testsuite: * g++.old-deja/g++.other/defarg7.C: New test. * g++.old-deja/g++.other/defarg8.C: New test. From-SVN: r38903
2001-01-11pt.c (unify): Check array has a domain, before checking whether it is ↵Nathan Sidwell3-0/+30
variable sized. cp: * pt.c (unify): Check array has a domain, before checking whether it is variable sized. testsuite: * g++.old-deja/g++.pt/crash64.C: New test. From-SVN: r38902
2001-01-11decl.c (grokparms): Unobfuscate and get correct diagnostic for parameters ↵Nathan Sidwell2-7/+19
with pointers to arrays... cp: * decl.c (grokparms): Unobfuscate and get correct diagnostic for parameters with pointers to arrays of unknown bound. From-SVN: r38901
2001-01-11parse.y (template_parm_header, [...]): New reductions.Nathan Sidwell5-7/+39
cp: * parse.y (template_parm_header, template_spec_header): New reductions. Split out from ... (template_header): ... here. Use them. (template_template_parm): Use template_parm_header. * semantics.c (finish_template_template_parm): Add assert. testsuite: * g++.old-deja/g++.pt/crash63.C: New test. From-SVN: r38900
2001-01-11flow.c (flow_call_edges_add): New.Michael Hayes3-0/+75
* flow.c (flow_call_edges_add): New. * basic_block.h (flow_call_edges_add): New. From-SVN: r38899
2001-01-11Daily bump.Jeff Law2-2/+2
From-SVN: r38898
2001-01-11* gcc.dg/cpp/if-2.c: Fix bogus update.Neil Booth1-1/+1
From-SVN: r38897
2001-01-11* gcc.dg/cpp/if-2.c: Add wide char test without sign extension.Neil Booth2-0/+8
From-SVN: r38896
2001-01-11* mangle.c (write_builtin_type): Fix thinko.Mark Mitchell2-2/+4
From-SVN: r38894
2001-01-11pt.c (copy_default_args_to_explicit_spec_1): New function.Mark Mitchell3-25/+128
* pt.c (copy_default_args_to_explicit_spec_1): New function. (copy_default_args_to_explicit_spec): Likewise. (check_explicit_specialization): Use it. From-SVN: r38893
2001-01-11parse.y (resolve_expression_name): Permit instance variables from enclosing ↵Bryce McKinlay2-2/+11
context in super constructor call. * parse.y (resolve_expression_name): Permit instance variables from enclosing context in super constructor call. (resolve_qualified_expression_name): Permit enclosing class's qualified "this" in super constructor call. From-SVN: r38892