aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2001-02-20parse.y (check_inner_class_access): Moved declaration of local ↵Alexandre Petit-Bianco2-1/+7
`enclosing_decl_type' to the right location. 2001-02-20 Alexandre Petit-Bianco <apbianco@redhat.com> * parse.y (check_inner_class_access): Moved declaration of local `enclosing_decl_type' to the right location. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01258.html) From-SVN: r39933
2001-02-20stmt.c (expand_return): If an attempt is made to return the error_mar_node...Mark Mitchell4-3/+30
* stmt.c (expand_return): If an attempt is made to return the error_mar_node, treat the return like a return without a value. From-SVN: r39924
2001-02-20Fix spelling errorRichard Kenner1-1/+1
From-SVN: r39921
2001-02-20Daily bump.GCC Administrator2-2/+2
From-SVN: r39920
2001-02-20sibcall.c (skip_copy_to_return_value): Call identify_call_return_value here, ↵Zack Weinberg10-51/+280
and return orig_insn if it returns zero. * sibcall.c (skip_copy_to_return_value): Call identify_call_return_value here, and return orig_insn if it returns zero. Hardret and softret arguments now unnecessary. (call_ends_block_p): Don't call identify_call_return_value here. * ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or 's' slots in RTXen. * ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function. * ggc.h (ggc_mark_if_gcable): Delete prototype. testsuite: * g77.dg: New directory. * g77.dg/20010216-1.f: New test case. * g77.dg/dg.exp: New driver. * lib/g77-dg.exp: New driver library. From-SVN: r39916
2001-02-19pa.c (move_operand): Accept code to load the address of a symbol out of the ↵Jeffrey A Law4-52/+48
DLT as a valid move operand. * pa.c (move_operand): Accept code to load the address of a symbol out of the DLT as a valid move operand. (print_operand, case 'A'): New to handle generating a DLT reference for a LO_SUM expression. * pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references. * pa.md (movsi, movdi patterns): Allow DLT LO_SUM references. From-SVN: r39914
2001-02-19Forgot this file on last check-in.Bryce McKinlay1-5/+0
From-SVN: r39910
2001-02-19parse.y (parser_check_super_interface): Don't call check_pkg_class_access ↵Bryce McKinlay2-41/+146
for an inner interface. * parse.y (parser_check_super_interface): Don't call check_pkg_class_access for an inner interface. (parser_check_super): Don't call check_pkg_class_access for inner class. (do_resolve_class): Simplify enclosing type loop. Don't call check_pkg_class_access if CL and DECL are not set. (find_in_imports_on_demand): Set DECL if class_type needed to be loaded. Don't call check_pkg_class_access for an inner class. (check_inner_class_access): Rewritten to implement member access rules as per spec 6.6.1. (check_pkg_class_access): Handle the empty package correctly. (in_same_package): New function. Determine if two classes are in the same package. From-SVN: r39909
2001-02-19decl2.c (set_decl_namespace): Allow explicit instantiations in any namespace.Mark Mitchell3-0/+13
* decl2.c (set_decl_namespace): Allow explicit instantiations in any namespace. From-SVN: r39907
2001-02-19typeck.c (build_java_array_type): Don't try to poke a public `clone' method ↵Bryce McKinlay2-1/+18
into array types. * typeck.c (build_java_array_type): Don't try to poke a public `clone' method into array types. * parse.y (patch_method_invocation): Bypass access check on clone call to array instance. From-SVN: r39906
2001-02-19Version.c, [...]: Update G77 version number to 0.5.27.Joseph Myers13-105/+174
libf2c: * libF77/Version.c, libI77/Version.c, libU77/Version.c: Update G77 version number to 0.5.27. gcc: * README, cpp.texi, gcc.texi, version.c: Update version number to 3.1. * cpp.1, gcov.1, gcc.1: Regenerate. gcc/f: * version.c, root.texi: Update GCC version number to 3.1. Update G77 version number to 0.5.27. * BUGS, NEWS: Regenerate. From-SVN: r39901
2001-02-19cppfiles.c (stack_include_file): Generate dependencies here, and manage ↵Neil Booth2-19/+34
include_count here too. * cppfiles.c (stack_include_file): Generate dependencies here, and manage include_count here too. (PRINT_THIS_DEP): Delete. (_cpp_execute_include): Do not generate dependencies here, apart from the case of a missing header. Do not manage include_count. (_cpp_read_file): Leave dependency generation to stack_include_file. From-SVN: r39899
2001-02-19config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to target_cpu_default.Jeffrey A Law2-2/+7
* config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to target_cpu_default. Remove dead assignment to target_cpu_default. From-SVN: r39895
2001-02-19regclass.c (contains_reg_of_mode): Make global.Jan Hubicka2-11/+31
* regclass.c (contains_reg_of_mode): Make global. (init_reg_sets): Remove contains_reg_of_mode; take into account CLASS_MAX_NREGS when looking for the proper mode. (dump_regclass): Dump only classes considered for the pseudo. (regclass): Use contains_reg_of_mode. From-SVN: r39891
2001-02-19gcc.c (do_spec_1): 'n' for printing notices.Jan Hubicka3-4/+29
* gcc.c (do_spec_1): 'n' for printing notices. * i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated. From-SVN: r39889
2001-02-19reg-stack.c (next_flags_user): Use current_block->endJan Hubicka2-14/+22
* reg-stack.c (next_flags_user): Use current_block->end (swap_rtx_condition): Look for next user if flags don't die; give up on CALL_INSNs; use current_block->end. From-SVN: r39884
2001-02-19Tweak commentsRichard Kenner1-2/+2
From-SVN: r39883
2001-02-19sibcall.c (call_ends_block_p): New function.Richard Kenner2-54/+69
* sibcall.c (call_ends_block_p): New function. (optimize_sibling_and_tail_recursive_call): Use it. From-SVN: r39879
2001-02-19Daily bump.GCC Administrator2-2/+2
From-SVN: r39877
2001-02-19optimize.c (expand_call_inline): Don't walk subtrees of type nodes.Kriang Lerdsuwanakij4-1/+16
* optimize.c (expand_call_inline): Don't walk subtrees of type nodes. * g++.old-deja/g++.other/inline19.c: Remove XFAIL. From-SVN: r39873
2001-02-18Fix typo in last changeRichard Kenner1-1/+1
From-SVN: r39869
2001-02-19h8300.md: Update copyright.Kazu Hirata2-3/+4
2001-02-18 Kazu Hirata <kazu@hxi.com> * config/h8300/h8300.md: Update copyright. From-SVN: r39868
2001-02-19h8300.md: Do not output an extra newline character.Kazu Hirata1-1/+1
2001-02-18 Kazu Hirata <kazu@hxi.com> * config/h8300/h8300.md: Do not output an extra newline character. From-SVN: r39866
2001-02-19h8300.md: Do not output an extra newline character.Kazu Hirata1-0/+4
2001-02-18 Kazu Hirata <kazu@hxi.com> * config/h8300/h8300.md: Do not output an extra newline character. From-SVN: r39865
2001-02-18Remove conflict indicatorRichard Kenner1-1/+0
From-SVN: r39862
2001-02-18toplev.c (note_deferral_of_defined_inlined_function): Argument FNDECL may be ↵Richard Kenner2-7/+41
unused. * toplev.c (note_deferral_of_defined_inlined_function): Argument FNDECL may be unused. * toplev.c (rest_of_compilation): Don't have CSE skip blocks or follow jumps after first run. If -fexpensive-optimizations rerun CSE after GCSE and iterate until it doesn't change any jumps. From-SVN: r39861
2001-02-18Makefile.in (rtlanal.o): Depend on hard-reg-set.h.Jeffrey A Law3-10/+21
* Makefile.in (rtlanal.o): Depend on hard-reg-set.h. ($HOST_PREFIX_1)rtlanal.o: Remove rules for building (mostlyclean): Corresponding changes. * rtlanal.c (hard-reg-set.h): Include. (rtx_unstable_p): Do not treat the argument pointer specially if it is not a fixed register. (rtx_varies_p, rtx_addr_can_trap_p): Similarly. From-SVN: r39860
2001-02-18sibcall.c (optimize_sibling_and_tail_recursive_call): Compare against last ↵Richard Kenner2-66/+52
real insn in basic block. * sibcall.c (optimize_sibling_and_tail_recursive_call): Compare against last real insn in basic block. Rework to avoid gotos. From-SVN: r39858
2001-02-18Makefile.in (gcse.o): Now includes ggc.h.Richard Kenner5-23/+98
* Makefile.in (gcse.o): Now includes ggc.h. * gcse.c: Include ggc.h. (want_to_gcse_p): Verify expression can be in SET as valid insn. (try_replace_reg): Remove warning of uninitialize variable. (process_insert_insn): Call invalid_insn_p to validate insn. * recog.c (insn_invalid_p): Now global. See if can make valid by adding CLOBBERs of SCRATCH only and do if so. * recog.h (insn_invalid_p): New declaration. From-SVN: r39857
2001-02-18* jump.c (jump_optimize_1): Only define reversed_code #ifdef HAVE_trap.Richard Kenner2-0/+4
From-SVN: r39856
2001-02-18sparc.c (eligible_for_epilogue_delay): Don't put assignments from FP ↵Richard Kenner2-4/+12
constants sonce 'Y' output code can't handle it. * config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put assignments from FP constants sonce 'Y' output code can't handle it. (eligible_for_sibcall_delay): Likewise. From-SVN: r39854
2001-02-18flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.Richard Kenner2-3/+19
* flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort. Call fancy_abort directly, passing args. (print_rtl_and_abort): Now a macro, like fancy_abort. From-SVN: r39852
2001-02-18* final.c (output_operand_lossage): Use internal_error, not error.Richard Kenner2-4/+5
From-SVN: r39850
2001-02-18* mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD toRichard Henderson2-4/+18
structure shift insns. From-SVN: r39848
2001-02-18class.c (add_vcall_offset_vtbl_entries_1): Only add one entry for a destructor.Mark Mitchell2-2/+12
* class.c (add_vcall_offset_vtbl_entries_1): Only add one entry for a destructor. From-SVN: r39847
2001-02-18invoke.texi (-fsquangle): Remove documentation.Mark Mitchell11-184/+75
* invoke.texi (-fsquangle): Remove documentation. (-fname-mangling-version): Likewise. * cp-tree.h (new_abi_rtti_p): Remove. (name_mangling_version): Likewise. (flag_do_squangling): Likewise. * class.c (build_rtti_vtbl_entries): Remove old ABI support. * decl.c (grokfndecl): Likewise. * decl2.c (name_mangling_version): Remove. (flag_do_squangling): Likewise. (lang_f_options): Remove `squangle'. (unsupported_options): Add `squangle'. (cxx_decode_option): Issue a warning about uses of -fname-mangling-version. (finish_file): Remove old ABI support. * pt.c (check_explicit_specialization): Likewise. (tsubst_decl): Likewise. * rtti.c (init_rtti_processing): Likewise. (build_headof): Likewise. (get_tinfo_decl_dynamic): Likewise. (tinfo_from_decl): Likewise. (build_dynamic_cast_1): Likewise. (synthesize_tinfo_var): Likewise. * init.c (build_new): Allow enumeration types for the array-bounds in a direct-new-declarator. From-SVN: r39845
2001-02-18optabs.c (expand_abs): Remove reference to HAVE_contitional_arithmetic.Lars Brinkhoff3-68/+7
* optabs.c (expand_abs): Remove reference to HAVE_contitional_arithmetic. * combine.c (simplify_set): Likewise. From-SVN: r39844
2001-02-18ifcvt.c (dead_or_predicable): Don't move code if eh regions would be disrupted.Richard Henderson2-0/+14
* ifcvt.c (dead_or_predicable): Don't move code if eh regions would be disrupted. From-SVN: r39843
2001-02-18Do put the VTT parameter in DECL_ARGUMENTS.Jason Merrill12-132/+195
* cp-tree.h (struct cp_language_function): Add x_vtt_parm. (current_vtt_parm): New macro. (struct lang_decl_flags): Add has_vtt_parm_p, remove vtt_parm. (DECL_HAS_VTT_PARM_P): New macro. (DECL_VTT_PARM): Remove. (FUNCTION_FIRST_USER_PARMTYPE, FUNCTION_FIRST_USER_PARM): New macros. * decl.c (duplicate_decls): Only copy the operator code if appropriate. (start_function): Set current_vtt_parm. (lang_mark_tree): Don't mark vtt_parm. * decl2.c (maybe_retrofit_in_chrg): Do add the VTT parm to DECL_ARGUMENTS. Set DECL_HAS_VTT_PARM_P. * class.c (build_clone): Maybe remove the VTT parm. * optimize.c (maybe_clone_body): Set up the VTT parm. * pt.c (copy_default_args_to_explicit_spec): Preserve the VTT parm. * call.c (build_over_call): Just allow the VTT arg. * method.c (make_thunk): Don't set DECL_VTT_PARM. (do_build_copy_constructor): Use FUNCTION_FIRST_USER_PARM. (synthesize_method): Use FUNCTION_FIRST_USER_PARMTYPE. * decl.c (grokdeclarator, copy_args_p, grok_ctor_properties): Likewise. * error.c (dump_function_decl): Likewise. * call.c (build_user_type_conversion_1, convert_like_real): Abort if we try to call a constructor with in-charge or VTT parms. * method.c (skip_artificial_parms_for): New fn. * call.c (add_function_candidate, build_over_call): Call it. * call.c (build_new_method_call): Use current_vtt_parm. * init.c (expand_virtual_init): Likewise. * class.c (same_signature_p): No longer static. * cp-tree.h: Declare it. * search.c (look_for_overrides_r): Use it. From-SVN: r39841
2001-02-18* config/ns32k/ns32k.h (ADJSP): Upcase arguments.Richard Henderson2-4/+6
From-SVN: r39840
2001-02-18* config/alpha/alpha.md (movsi_fix): Fix typo in pattern name.Richard Henderson2-1/+3
From-SVN: r39838
2001-02-18* reload1.c (reload_cse_simplify_set): Fix typo.Richard Henderson2-1/+5
From-SVN: r39836
2001-02-18* diagnostic.c (_fatal_insn): Decrement errorcount.Richard Kenner2-0/+7
From-SVN: r39834
2001-02-18* invoke.texi (-I): Add note avoiding use for system header files.Richard Kenner2-3/+8
From-SVN: r39833
2001-02-18rtl.h (add_clobbers): Remove duplicate declaration.Richard Kenner4-16/+71
* rtl.h (add_clobbers): Remove duplicate declaration. * recog.h (added_clobbers_hard_reg_p): New declaration. * genemit.c (struct clobber_pat): New field has_hard_reg. (gen_insn): Record if added clobbers clobber hard reg. (gen_split): Avoid unused warning if number of operands is 0. (output_added_clobbers_hard_reg_p): New function. (main): Call it. From-SVN: r39832
2001-02-18Daily bump.GCC Administrator2-2/+2
From-SVN: r39830
2001-02-18Revert experimental hunk accidentally included in committed change.Jeff Law1-3/+2
From-SVN: r39828
2001-02-18pa.c (hppa_expand_prologue): Simplify code storing return pointer.Alan Modra2-125/+116
* pa.c (hppa_expand_prologue): Simplify code storing return pointer. For large (>=8k) frames with a post_store, adjust stack pointer by 8k-64 first rather than by 64. When testing with VAL_14_BITS_P, always use the actual value rather than the value negated. Add blockage to prevent scheduling of spills before stack frame has been created. (hppa_expand_epilogue): Simplify code loading return pointer. Allow a slightly larger range for merge_sp_adjust_with_load case. When testing with VAL_14_BITS_P, always use the actual value. From-SVN: r39826
2001-02-18pa.c (pa_adjust_insn_length): Check that block move pattern is a set before ↵Alan Modra2-2/+9
looking at operands. 2001-02-18 Alan Modra <alan@linuxcare.com.au> * config/pa/pa.c (pa_adjust_insn_length): Check that block move pattern is a set before looking at operands. From-SVN: r39825
2001-02-18fold-const.c (fold_binary_op_with_conditional_arg): New function, split out ↵Mark Mitchell4-116/+160
from ... * fold-const.c (fold_binary_op_with_conditional_arg): New function, split out from ... (fold): ... here. * tree.def (COND_EXPR): Document the use of VOID_TYPE for conditional arms that throw exceptions. From-SVN: r39822