aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2001-06-06c-semantics.c (genrtl_scope_stmt): Write out nested inline functions here, ↵Mark Mitchell4-16/+43
instead of ... * c-semantics.c (genrtl_scope_stmt): Write out nested inline functions here, instead of ... * c-decl.c (c_expand_body): ... here. From-SVN: r42930
2001-06-06config.gcc, bsd.h: Do not directly include sparc/sparc.h.David O'Brien3-3/+6
2001-06-05 David O'Brien <obrien@FreeBSD.org> * config.gcc, config/sparc/bsd.h: Do not directly include sparc/sparc.h. Instead do it via tm_file. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20010604154759.G25044@redhat.com> From-SVN: r42927
2001-06-05dwarf2.h (DW_EH_PE_aligned): New.Richard Henderson8-83/+179
* dwarf2.h (DW_EH_PE_aligned): New. * dwarf2asm.c (eh_data_format_name): Name it. (dw2_asm_output_encoded_addr_rtx): Align for it. * dwarf2out.c (output_call_frame_info): Handle it for personality routine and LSDA pointers. * unwind-pe.h (DW_EH_PE_aligned): New. (base_of_encoded_value): Handle it. (read_encoded_value_with_base): Likewise. * unwind-dw2-fde.c (base_from_object): Likewise. (get_cie_encoding): Likewise. * config/alpha/elf.h: Remove ecoff commentary. * config/alpha/osf.h (ASM_PREFERRED_EH_DATA_FORMAT): New. From-SVN: r42926
2001-06-06config.gcc, bsd386.h: Do not directly include i386/386bsd.h.David O'Brien3-3/+6
2001-06-05 David O'Brien <obrien@FreeBSD.org> * config.gcc, config/i386/bsd386.h: Do not directly include i386/386bsd.h. Instead do it via tm_file. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20010604154739.F25044@redhat.com> From-SVN: r42925
2001-06-06elfos.h (USING_ELFOS_H): Identify the use of elfos.h in the same way svr4.h ↵David O'Brien2-0/+10
does. 2001-06-05 David O'Brien <obrien@FreeBSD.org> * elfos.h (USING_ELFOS_H): Identify the use of elfos.h in the same way svr4.h does. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20010604154656.E25044@redhat.com> From-SVN: r42921
2001-06-05configure.in: Quote $enable_win32_registry in case the value has spaces in it.Pascal Obry3-6/+12
* configure.in: Quote $enable_win32_registry in case the value has spaces in it. * configure: Ditto. From-SVN: r42920
2001-06-05print-rtl.c (xspaces): Remove.Mark Mitchell4-13/+26
* print-rtl.c (xspaces): Remove. (print_rtx): Use printf field-width, rather than xpsaces, to indent. * toplev.c (main): Disable sibling-call optimization if we are handling exceptions. * reload1.c (reload): Delete all USEs generated during reload. From-SVN: r42917
2001-06-05gccbug.in: Fix typo.Scott Snyder2-1/+5
2001-06-05 scott snyder <snyder@fnal.gov> * gccbug.in: Fix typo. From-SVN: r42913
2001-06-05builtins.def: Fix definition of __builtin_cosf, it uses float as parameter ↵Andreas Jaeger2-18/+23
and return value. * builtins.def: Fix definition of __builtin_cosf, it uses float as parameter and return value. From-SVN: r42911
2001-06-05expr.c (force_evaluation_order): Match wrapped ctor calls, locate arguments ↵Alexandre Petit-Bianco2-3/+23
accordingly. 2001-06-04 Alexandre Petit-Bianco <apbianco@redhat.com> * expr.c (force_evaluation_order): Match wrapped ctor calls, locate arguments accordingly. (http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00214.html) From-SVN: r42910
2001-06-05Remove -Amachine and -Acpu from here.Anthony Green2-1/+6
From-SVN: r42908
2001-06-05call.c (build_user_type_conversion_1): Set ICS_USER_FLAG and ICS_BAD_FLAG on ↵Nathan Sidwell4-5/+66
created conversion. cp: * call.c (build_user_type_conversion_1): Set ICS_USER_FLAG and ICS_BAD_FLAG on created conversion. (compare_ics): Break out rank. testsuite: * g++.old-deja/g++.other/conv7.C: New test. From-SVN: r42907
2001-06-05decl.c (xref_tag): Remove extraneous %s on dependent name lookup warning.Nathan Sidwell2-1/+6
* decl.c (xref_tag): Remove extraneous %s on dependent name lookup warning. From-SVN: r42905
2001-06-05class.c (layout_vtable_decl): Fix off by one error on build_index_type.Nathan Sidwell2-6/+11
* class.c (layout_vtable_decl): Fix off by one error on build_index_type. (build_vtt): Likewise. (build_ctor_vtbl_group): Likewise. From-SVN: r42903
2001-06-05Correct CVS resurrection of invoke.texi.Nathan Sidwell3-8763/+46
* doc/invoke.texi: Document new tree dump flags. From-SVN: r42902
2001-06-05Update comments for ARRAY_RANGE_REFRichard Kenner1-3/+3
From-SVN: r42901
2001-06-05re PR c/2735 (can't cast a union type defined by a typedef to itself)Joseph Myers4-1/+27
* c-typeck.c (build_c_cast): Use TYPE_MAIN_VARIANT when checking for casting an aggregate to its own type. Fixes PR c/2735. testsuite: * gcc.c-torture/compile/20010605-2.c: New test. From-SVN: r42900
2001-06-05* doc/texinfo.tex: Update to version 2001-05-24.08.Joseph Myers2-28/+89
From-SVN: r42897
2001-06-05c-common.h (flag_dump_translation_unit): Remove.Nathan Sidwell15-129/+9220
* c-common.h (flag_dump_translation_unit): Remove. (enum tree_dump_index): Define. (TDF_ADDRESS, TDF_SLIM): New #defines. (dump_node_to_file): Remove. (dump_node): Make extern. Add flags. (dump_flag, dump_enabled_p, dump_begin, dump_end, dump_switch_p): Prototype. * c-common.c (flag_dump_translation_unit): Remove. * c-decl.c (c_decode_option): Remove -fdump-translation-unit logic. Use dump_switch_p. * c-dump.h (struct dump_info): Add node and user fields. (dump_pointer): Declare. * c-dump.c (dump_node): Make extern. Add flags. (SOL_COLUMN, EOL_COLUMN, COLUMN_ALIGNMENT): New #defines. (dump_new_line, dump_maybe_newline): Use them. (dump_pointer): New function. (dequeue_and_dump): Check TDF_SLIM before dumping a _DECL's chain or function's body. Dump address, if TDF_ADDRESS set. (dump_flag): Define. (dump_node_to_file): Remove. (struct dump_file_info): New struct. (dump_files): New array. (dump_begin, dump_end, dump_enabled_p, dump_switch_p): Define. * c-lang.c (finish_file): Adjust dumping. * toplev.h (dump_base_name): Make extern. * invoke.texi: Document new flags. cp: * class.c (maybe_indent_hierarchy): New function. (dump_class_hierarchy_r): Add flags. Dump extra binfo information, if enabled. Use maybe_indent_hierarchy. Adjust output format. (dump_class_hierarchy): Adjust prototype. Adjust output format. (dump_array, dump_vtable, dump_vtt): New functions. (finish_struct_1): Adjust hierarchy dumping. (initialize_vtable): Call dump_vtable. (build_vtt): Call dump_vtt. (build_ctor_vtbl_group): Call dump_vtable. * decl2.c (flag_dump_class_layout): Remove. (cxx_decode_option): Remove dump translation unit and dump class hierarchy check. Call dump_switch_p. (finish_file): Adjust dumping. (dump.c): Only dump base classes if not TDF_SLIM. Only dump namespace members if not TDF_SLIM. * optimize.c (dump_function): New function. (optimize_function): Call dump_function. * semantics.c (expand_body): Use dump_enabled_p. From-SVN: r42896
2001-06-05Daily bump.GCC Administrator2-2/+2
From-SVN: r42894
2001-06-05c-tree.h (lang_decl): Add pending_sizes fields.Mark Mitchell6-15/+85
* c-tree.h (lang_decl): Add pending_sizes fields. * c-decl.c (store_parm_decls): Save pending_sizes away for nested functions. (c_expand_body): Expand them. (lang_mark_tree): Mark lang_decl:pending_sizes. * function.c (expand_pending_sizes): New function, broken out from ... (expand_function_start): ... here. * tree.h (expand_pending_sizes): Declare it. From-SVN: r42892
2001-06-04install.texi: Update FreeBSD information.Loren J. Rittle2-6/+67
* doc/install.texi: Update FreeBSD information. Generalize and update information for alpha-based platforms using ELF. From-SVN: r42887
2001-06-04* gcc.c-torture/execute/20010604-1.c: New test.John David Anglin2-0/+18
From-SVN: r42883
2001-06-04c-decl.c (get_parm_info): Use INTEGRAL_TYPE_P.John David Anglin3-7/+9
* c-decl.c (get_parm_info): Use INTEGRAL_TYPE_P. (store_parm_decls): Likewise. * c-typeck.c (convert_arguments): Likewise. From-SVN: r42882
2001-06-04sibcall.c (optimize_sibling_and_tail_recursive_call): Suppress optimization ↵Richard Henderson2-1/+10
if current_function_calls_setjmp. * sibcall.c (optimize_sibling_and_tail_recursive_call): Suppress optimization if current_function_calls_setjmp. From-SVN: r42880
2001-06-04c-tree.texi: Fix documentation of TREE_STRING_LENGTH for wide strings.Joseph Myers2-1/+6
* doc/c-tree.texi: Fix documentation of TREE_STRING_LENGTH for wide strings. From-SVN: r42878
2001-06-04* gcc.c-torture/execute/ieee/rbug.x: XFAIL FreeBSD 5.x.Loren J. Rittle2-1/+5
From-SVN: r42869
2001-06-04simplify-rtx.c (simplify_subreg): Fix combining of paradoxical subregs.Jan Hubicka2-25/+52
* simplify-rtx.c (simplify_subreg): Fix combining of paradoxical subregs. From-SVN: r42868
2001-06-04rtlanal.c (rtx_unsable_p): ADDRESSOF is stable.Jan Hubicka2-0/+8
* rtlanal.c (rtx_unsable_p): ADDRESSOF is stable. (no_labels_between_p): Short circuit case beg==end. From-SVN: r42867
2001-06-04rtlanal.c (operand_preference): Fix preference for objects.Jan Hubicka9-128/+92
* rtlanal.c (operand_preference): Fix preference for objects. * gcse.c (handle_avail_expr): Be prepared to handle single_set parallels. * combine.c (if_then_else_cond): Use simplify_subreg instead of operand_subword. * integreate.c (sub_constants): Likewise. * emit-rtl.c (constant_subword): Deprecate; remove most of code and use simplify_gen_subreg. Mon Jun 4 19:55:23 CEST 2001 Lars Brinkhoff <lars@nocrew.org> * sibcall.c (skip_copy_to_return_value): recognize the situation when the called function's return value is copied into an intermediate pseudo, and then into the calling functions return value register. From-SVN: r42864
2001-06-04c-tree.texi (ARRAY_REF): Say what type of expression must be.Richard Kenner2-1/+12
* doc/c-tree.texi (ARRAY_REF): Say what type of expression must be. (ARRAY_RANGE_REF): Added description. From-SVN: r42855
2001-06-04g++.exp (g++_include_flags): Change `args' to gccpath's value.Jeffrey Oldham2-8/+14
2001-06-04 Jeffrey Oldham <oldham@codesourcery.com> * lib/g++.exp (g++_include_flags): Change `args' to gccpath's value. (g++_link_flags): Likewise. (g++_init): Pass gccpath's value to two previous functions. From-SVN: r42852
2001-06-04simplify_rtx.c (simplify_subreg): Keep subregs on return values...Jan Hubicka6-220/+107
* simplify_rtx.c (simplify_subreg): Keep subregs on return values, check CLASS_CANNOT_CHANGE_MODE before avoiding subreg on hard reg, in case register wasn't OK previously, accept it now; allow subregs of frame pointer if reload completed and frame pointer is not needed. * combine.c (sombine_simplify_rtx): Fix comment; use subreg_lowpart_offset instead of subreg_lowpart_p (gen_lowpart_for_combine): Use subreg_lowpart_offset. * rtl.h (subreg_lowpart_parts_p): Kill. (subreg_lowpart_offset, subreg_highpart_offset): Declare. * simplify-rtx.c (simplify_subreg): Use subreg_lowpart_offset. * emit-rtl.c (gen_lowpart_SUBREG): Use subreg_lowpart_offset; (gen_lowpart_common): Likewise. (subreg_lowpart_p): Likewise. (subreg_lowpart_parts_p): Kill. (subreg_lowpart_offset, subreg_highpart_offset): New function. * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg to simplify SUBREG and REG. (gen_highpart): Use simplify_gen_subreg for all simplifications. * emit-rtl.c (gen_realpart, gen_imagpart): Do not handle CONCAT specially. * rtlanal.c (replace_regs): Use simplify_gen_subreg From-SVN: r42850
2001-06-04tree.def (ARRAY_RANGE_REF): New code.Richard Kenner9-26/+71
* tree.def (ARRAY_RANGE_REF): New code. * alias.c (handled_component_p, can_address_p): Handle it. * dwarf2out.c (loc_descriptor_from_tree): Likewise. * explow.c (set_mem_attributes): Likewise. * expr.c (expand_assignment, get_inner_reference): Likewise. (expand_expr, expand_expr_unaligned, do_jump): Likewise. * fold-const.c (operand_equal_p): Likewise. * tree.c (staticp, stabilize_reference): Likewise. * varasm.c (decode_addr_const): Likewise. From-SVN: r42848
2001-06-04Daily bump.GCC Administrator2-2/+2
From-SVN: r42846
2001-06-03reload.c (reload_inner_reg_of_subreg): Return 1 for PLUS.Richard Kenner2-9/+20
* reload.c (reload_inner_reg_of_subreg): Return 1 for PLUS. (push_reload): Handle non-REG in reload_inner_reg_of_subreg case. From-SVN: r42843
2001-06-04sh.c (print_operand_address, [...]): Call mark_constant_pool_use before ↵Kaz Kojima3-27/+182
output_addr_const. * gcc/config/sh/sh.c (print_operand_address, print_operand): Call mark_constant_pool_use before output_addr_const. (struct pool_node): New field wend. (add_constant): Note a sequence of constants that are referenced by a given label. (pool_window_label, pool_window_last): New variables. (dump_table): Emit a unspec_volatile representing the end of a sequence of constants. (mark_constant_pool_use): New function. * gcc/config/sh/sh.md (UNSPECV_WINDOW_END): New constant. (consttable_2): Add the second operand which flags whether this consttable entry was used or not. (consttable_4, consttable_8, consttable_sf, consttable_df): Likewise. (consttable_window_end): New insn. From-SVN: r42841
2001-06-03Minor whitespace editsRichard Kenner2-3/+5
From-SVN: r42840
2001-06-03insn-addr.h (INSN_ADDRESSES_NEW): Make insn_uid__ unsigned.Alexandre Oliva2-7/+14
* insn-addr.h (INSN_ADDRESSES_NEW): Make insn_uid__ unsigned. Reformat according to coding standards. From-SVN: r42839
2001-06-03Warning removal.Alexandre Oliva2-12/+26
* config/sh/sh.c (print_operand_address): Cast INTVAL to int. (shl_and_kind): Cast wide constant. (gen_far_branch): Define as static, as in declaration. (barrier_align): Compute cache-line length as unsigned. Add parentheses in initial credit computation. (rounded_frame_size): Add parentheses. (permanent_obstack): Remove declaration. Include ggc.h for declaration of ggc_add_root_rtx(). (get_free_reg): Removed declaration of unused variable reg. (legitimize_pic_address): Mark mode argument as unused. From-SVN: r42837
2001-06-03sh.c (output_branch): Support for insn with lenght attr 12 & 16 which ↵Igor Shevlyakov2-6/+23
represents cond branches... * config/sh/sh.c (output_branch): Support for insn with lenght attr 12 & 16 which represents cond branches outside +-4096 range. From-SVN: r42835
2001-06-03lib1funcs.asm (ic_invalidate): Align the cache-mirroring sequence.Alexandre Oliva2-3/+13
* config/sh/lib1funcs.asm (ic_invalidate): Align the cache-mirroring sequence. Add nops. From-SVN: r42833
2001-06-03install-old.texi: Remove more old installation documentation.Joseph Myers3-401/+140
* doc/install-old.texi: Remove more old installation documentation. * doc/install.texi: Add relevant parts here. From-SVN: r42831
2001-06-03root.texi: Fix typo in patches e-mail address.Toon Moene2-1/+5
2001-06-03 Toon Moene <toon@moene.indiv.nluug.nl> * root.texi: Fix typo in patches e-mail address. From-SVN: r42830
2001-06-03* doc/install.texi2html: New script.Gerald Pfeifer2-0/+34
From-SVN: r42826
2001-06-03root.texi: Define `help' and `patches' mailing list addresses.Toon Moene4-9/+23
2001-06-03 Toon Moene <toon@moene.indiv.nluug.nl> Jan van Male <jan.vanmale@fenk.wau.nl> * root.texi: Define `help' and `patches' mailing list addresses. * news.texi: Remove `prerelease' from 0.5.26 * g77.texi: Use two spaces between command options, eliminate some 'overfull hboxes'. Use help and patches mailing list addresses where appropriate. Co-Authored-By: Jan van Male <jan.vanmale@fenk.wau.nl> From-SVN: r42825
2001-06-03Daily bump.GCC Administrator2-2/+2
From-SVN: r42821
2001-06-03doc/install.texi: Update AIX information again.David Edelsohn2-52/+10
From-SVN: r42819
2001-06-02gcc.texi, [...]: Remove old system-specific installation documentation.Joseph Myers4-986/+1236
* doc/gcc.texi, doc/install-old.texi: Remove old system-specific installation documentation. * doc/install.texi: Move it to here. From-SVN: r42816
2001-06-02linkage.exp: Use wildcards when matching N32.Kaveh R. Ghazi2-3/+8
* gcc.misc-tests/linkage.exp: Use wildcards when matching N32. Ensure logfile entry matches exec command line. From-SVN: r42814