aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-05-17fix broken mutex initializerWolfgang Bangerth3-46/+112
Co-Authored-By: Bruce Korb <bkorb@gnu.org> From-SVN: r42185
2001-05-17i386.md: Add two peepholes to clean up code generated by cmpstr* expanders.Zack Weinberg2-0/+90
* i386.md: Add two peepholes to clean up code generated by cmpstr* expanders. From-SVN: r42183
2001-05-16libgcc-std.ver (_Unwind_Find_FDE, [...]): Export.Richard Henderson2-0/+6
* libgcc-std.ver (_Unwind_Find_FDE, __register_frame_info_bases, __register_frame_info_table_bases): Export. From-SVN: r42181
2001-05-16* config/i386/i386.h (ASM_PREFERRED_EH_DATA_FORMAT): New.Richard Henderson2-0/+14
From-SVN: r42180
2001-05-16dwarf2asm.c (eh_data_format_name): Add names for "pointer size" variants of ↵Richard Henderson2-0/+17
non-absolute encodings. * dwarf2asm.c (eh_data_format_name): Add names for "pointer size" variants of non-absolute encodings. From-SVN: r42178
2001-05-16except.c (eh_data_format_name): Move to ...Richard Henderson9-589/+1098
* except.c (eh_data_format_name): Move to ... * dwarf2asm.c: ... here. Use designated initializers if available. (dw2_asm_output_encoded_addr_rtx): Accept varargs commentary. * dwarf2asm.h: Update declarations. * dwarf2out.c (output_cfi) [DW_CFA_set_loc]: If for_eh, mind ASM_PREFERRED_EH_DATA_FORMAT. (output_call_frame_info): Likewise. Use 'L' augmentation for the LSDA encoding. * unwind-dw2-fde.h (struct fde_vector): New. (struct old_object): Rename from struct object. (struct object): New. (__register_frame_info_bases): Declare. (__register_frame_info_table_bases): Declare. (struct dwarf_fde): Remove explicit pc_begin/pc_range members. * unwind-dw2-fde.c (objects): Remove. (unseen_objects, seen_objects): New. (__register_frame_info_bases): New. (__register_frame_info): Use it. (__register_frame_info_table_bases): New. (__register_frame_info_table): Use it. (__deregister_frame_info): Rewrite for changed object struct. (base_from_object, get_cie_encoding, get_fde_encoding): New. (fde_unencoded_compare): Rename from fde_compare; uninline. (fde_single_encoding_compare, fde_mixed_encoding_compare): New. (start_fde_sort): Adjust for new definition of fde_vector. (fde_insert): Likewise. (end_fde_sort): Likewise. Select comparison function based on properties of the object. (fde_split): Take object and fde_compare_t arguments. (frame_heapsort, fde_merge): Likewise. (classify_object_over_fdes): Rename from count_fdes. Handle encoded pointers. Collect encoding, mixed_encoding, and pc_begin for the object. (add_fdes): Handle encoded pointers. (init_object): Rename from frame_init. Update for new struct object. (linear_search_fdes): Rename from search_fdes. Handle encoded pointers. (binary_search_unencoded_fdes): Broken out from _Unwind_Find_FDE. (binary_search_single_encoding_fdes): New. (binary_search_mixed_encoding_fdes): New. (search_object): New. (_Unwind_Find_FDE): Update for new struct object. Fill in the dwarf_eh_bases. * unwind-dw2.c: Include unwind-pe.h. Constify all pointers iterating over EH data. (_Unwind_FrameState): Remove saw_lsda, addr_encoding. Add fde_encoding, lsda_encoding. (read_uleb128, read_sleb128): Remove. (read_encoded_pointer): Remove. All callers use read_encoded_value. (extract_cie_info): Set lsda_encoding from 'L' augmentation. (uw_frame_state_for): Don't set bases.func. Handle encoded fde pointers. * unwind-pe.h: Add "struct" to _Unwind_Context references. From-SVN: r42176
2001-05-16MAINTAINERS (write after permission): Per Jeff Law, added self.Jeff Knaggs1-0/+1
2001-05-16 Jeff Knaggs <jknaggs@redhat.com> * MAINTAINERS (write after permission): Per Jeff Law, added self. From-SVN: r42175
2001-05-16cppexp.c (lex): Use NODE_NAME and NODE_LEN.Neil Booth10-59/+75
* cppexp.c (lex): Use NODE_NAME and NODE_LEN. * cpphash.c (_cpp_lookup_with_hash): Similarly. * cpplex.c (cpp_ideq, parse_identifier, cpp_token_len, cpp_spell_token, cpp_output_token): Similarly. * cpplib.c (lex_macro_node, do_undef, do_pragma, do_pragma_poison, parse_assertion, do_assert): Similarly. * cppmacro.c (builtin_macro, parse_args, funlike_invocation_p, save_parameter, _cpp_create_definition, check_trad_stringification, cpp_macro_definition): Similarly. * cppmain.c (cb_define, cb_undef, dump_macro): Similarly. * c-lex.c (cb_undef, c_lex): Similarly. * fix-header.c (recognized_function): Similarly. * cpplib.h (NODE_LEN, NODE_NAME): New. (cpp_hashnode): Rename length len. From-SVN: r42174
2001-05-16* cpplib.h: Undo mistaken commit.Neil Booth1-13/+13
From-SVN: r42173
2001-05-16cppexp.c (lex): Use NODE_NAME and NODE_LEN.Neil Booth1-13/+13
* cppexp.c (lex): Use NODE_NAME and NODE_LEN. * cpphash.c (_cpp_lookup_with_hash): Similarly. * cpplex.c (cpp_ideq, parse_identifier, cpp_token_len, cpp_spell_token, cpp_output_token): Similarly. * cpplib.c (lex_macro_node, do_undef, do_pragma, do_pragma_poison, parse_assertion, do_assert): Similarly. * cppmacro.c (builtin_macro, parse_args, funlike_invocation_p, save_parameter, _cpp_create_definition, check_trad_stringification, cpp_macro_definition): Similarly. * cppmain.c (cb_define, cb_undef, dump_macro): Similarly. * c-lex.c (cb_undef, c_lex): Similarly. * fix-header.c (recognized_function): Similarly. * cpplib.h (NODE_LEN, NODE_NAME): New. (cpp_hashnode): Rename length len. From-SVN: r42172
2001-05-16* partition.h: Fix misspelling of `implementation'.Matt Kraai2-2/+6
From-SVN: r42171
2001-05-16* partition.c: Fix misspelling of `implementation'.Matt Kraai2-2/+6
From-SVN: r42170
2001-05-16pa32-regs.h (HARD_REGNO_MODE_OK): Allow TI/TFmode values in GPRs.Jeffrey A Law2-1/+6
* pa32-regs.h (HARD_REGNO_MODE_OK): Allow TI/TFmode values in GPRs. From-SVN: r42169
2001-05-16Makefile.in (toplev.o): Add dependency on dwarf2asm.h.Andreas Jaeger3-20/+28
* Makefile.in (toplev.o): Add dependency on dwarf2asm.h. * toplev.c: Include dwarf2asm.h for prototype of dw2_output_indirect_constants. From-SVN: r42165
2001-05-16backspace.c: Include "config.h".Andreas Jaeger25-32/+127
* libI77/backspace.c: Include "config.h". * libI77/close.c: Likewise. * libI77/dfe.c: Likewise. * libI77/dolio.c: Likewise. * libI77/due.c: Likewise. * libI77/err.c: Likewise. * libI77/fmt.c: Likewise. * libI77/fmtlib.c: Likewise. * libI77/ftell_.c: Likewise. * libI77/ilnw.c: Likewise. * libI77/lread.c: Likewise. * libI77/open.c: Likewise. * libI77/rdfmt.c: Likewise. * libI77/rsfe.c: Likewise. * libI77/rsne.c: Likewise. * libI77/util.c: Likewise. * libI77/wrtfmt.c: Likewise. * libI77/wsne.c: Likewise. * libI77/xwsne.c: Likewise. * libI77/config.h.in: Generate with autoheader. * libI77/configure.in: Add comments for all AC_DEFINES so that autoheader can grok it. * libI77/configure: Regenerated. From-SVN: r42162
2001-05-16* gcc.c-torture/compile/20010516-1.c: New test.Jan Hubicka2-0/+9
From-SVN: r42161
2001-05-16re PR rtl-optimization/185 (Internal compiler error in `fixup_var_refs_1', ↵Jan Hubicka2-0/+6
at function.c:207) * stmt.c (expand_asm_operands): Be able to offload addressof expression to memory. (PR optimization/185) From-SVN: r42160
2001-05-16combine.c (combine_simplify_rtx): Set op0_mode to VOIDmode after applying ↵Jan Hubicka2-0/+6
distributive law. * combine.c (combine_simplify_rtx): Set op0_mode to VOIDmode after applying distributive law. From-SVN: r42159
2001-05-16pa-hpux10.h (THREAD_MODEL_SPEC): Define.John David Anglin3-3/+32
* pa-hpux10.h (THREAD_MODEL_SPEC): Define. * gthr-dce.h (UNUSED): Attribute unused macro. (__gthread_key_dtor): Make arguments UNUSED. (__gthread_key_delete): Revise for compatibility with DRAFT4 implementation. From-SVN: r42157
2001-05-16SimpleDateFormat.java (parse): Handle non-dst time zones.Tom Tromey2-8/+23
* java/text/SimpleDateFormat.java (parse): Handle non-dst time zones. From-SVN: r42156
2001-05-16install.texi: Update AIX information.David Edelsohn3-174/+55
* doc/install.texi: Update AIX information. * README.RS6000: Remove obsolete file. From-SVN: r42154
2001-05-16Revert XFAIL removal.Nathan Sidwell2-3/+2
From-SVN: r42153
2001-05-16gcc.c (give_switch): Don't write before start of string.Jakub Jelinek2-5/+11
* gcc.c (give_switch): Don't write before start of string. Always append suffix. Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com> From-SVN: r42152
2001-05-16Makefile.in (endfile.o): Add dependency on config.h.Andreas Jaeger6-117/+266
* libI77/Makefile.in (endfile.o): Add dependency on config.h. * libI77/endfile.c: Include config.h and sys/types for off_t. * libI77/config.h.in: New file. * libI77/configure.in: Add test for off_t, create config.h file. * libI77/configure: Regenerated. From-SVN: r42148
2001-05-16cpplex.c (_cpp_lex_token, '/' case): Comments can't appear after stage3.Nathan Sidwell2-1/+8
* cpplex.c (_cpp_lex_token, '/' case): Comments can't appear after stage3. From-SVN: r42144
2001-05-16spew.c (read_token): Call yyerror on all unexpected tokens.Nathan Sidwell4-10/+26
cp: * spew.c (read_token): Call yyerror on all unexpected tokens. testsuite: * g++.old-deja/g++.other/crash41.C: New test. From-SVN: r42143
2001-05-16init.c (member_init_ok_or_else): Take a tree rather than string for name.Nathan Sidwell5-7/+58
cp: * init.c (member_init_ok_or_else): Take a tree rather than string for name. (expand_member_init): Adjust. testsuite: * g++.pt/inherit2.C: Remove XFAIL. * g++.pt/crash66.C: New test. From-SVN: r42142
2001-05-16Daily bump.GCC Administrator5-5/+5
From-SVN: r42139
2001-05-16README.ALTOS: Remove obsolete file.Gerald Pfeifer2-55/+4
2001-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> * README.ALTOS: Remove obsolete file. From-SVN: r42137
2001-05-16c-lex.h (save_and_forget_protocol_qualifiers, [...]): Remove deleted ↵Neil Booth2-4/+6
functions' prototypes. * c-lex.h (save_and_forget_protocol_qualifiers, forget_protocol_qualifiers, remember_protocol_qualifiers): Remove deleted functions' prototypes. From-SVN: r42135
2001-05-15expr.c (build_class_init): Move MODIFY_EXPR outside of COND_EXPR.Jeff Sturm2-6/+11
2000-05-02 Jeff Sturm <jsturm@one-point.com> * expr.c (build_class_init): Move MODIFY_EXPR outside of COND_EXPR. Remove variable `call'. From-SVN: r42134
2001-05-16c-parse.in (methodtype): New production.Neil Booth2-46/+23
* c-parse.in (methodtype): New production. (methoddef, methodproto): Collapse separate '-' and '+' handlers into 1. From-SVN: r42133
2001-05-16c-common.h (RID_FIRST_PQ): New.Neil Booth6-192/+127
* c-common.h (RID_FIRST_PQ): New. * c-parse.in (objc_pq_context): New. (objc parser): Set objc_pq_context rather than calling remember_protocol_qualifiers and forget_protocol_qualifiers. Don't call save_and_forget_protocol_qualifiers. (yylexname): Handle objc protocol qualifiers here. * stringpool.c (struct str_header): Replace with sp_hashnode. (SP_EMPTY, SP_LEN, SP_TREE, SP_STR, SP_VALID): New. (alloc_string): Rename alloc_ident. Use the SP_ accessors. Allocate an IDENTIFIER_NODE for each identifier. (FORALL_STRINGS, set_identifier): Delete. (FORALL_IDS, expand_string_table, stringpool_statistics): Update. (ggc_alloc_string): Use an obstack. (get_identifier, maybe_get_identifier, mark_string_hash): Update. * tree.h: Update comments. (set_identifier): Delete. * objc/objc-act.c (N_PQ, saved_pq, saved_not_pq, save_and_forget_protocol_qualifiers, forget_protocol_qualifiers, remember_protocol_qualifiers): Delete. From-SVN: r42132
2001-05-15flow.c (life_analysis): After life analysis is complete...Jeffrey A Law2-2/+34
* flow.c (life_analysis): After life analysis is complete, do an optional scan over insns looking for REG_LABEL notes that reference a deleted label. (propagate_block_delete_insn): Verify INOTE is a CODE_LABEL before peeking at LABEL_NUSES. From-SVN: r42131
2001-05-15unwind-sjlj.c (_Unwind_GetDataRelBase): New.Richard Henderson2-0/+18
* unwind-sjlj.c (_Unwind_GetDataRelBase): New. (_Unwind_GetTextRelBase): New. From-SVN: r42129
2001-05-16001-05-15 Benjamin Kosnik <bkoz@redhat.com>Benjamin Kosnik2-1/+6
* testsuite_flags.in (query): Add backwards, ext directories. From-SVN: r42127
2001-05-16eb27.C: Convert.Benjamin Kosnik2-4/+10
2001-05-15 Benjamin Kosnik <bkoz@redhat.com> * g++.old-deja/g++.robertl/eb27.C: Convert. From-SVN: r42126
2001-05-16sol2.h (CPLUSPLUS_CPP_SPEC): Define.Mark Mitchell7-27/+50
* config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define. * porting.texi: Correct documentation about handling _LARRGEFILE_SOURCE and its ilk. * config/os/solaris/solaris2.5/bits/os_defines.h: Remove definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and __EXTENSIONS__. * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise. * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise. From-SVN: r42125
2001-05-15GregorianCalendar.java (computeTime): Only call getTimeZone() once.Tom Tromey2-1/+6
* java/util/GregorianCalendar.java (computeTime): Only call getTimeZone() once. From-SVN: r42121
2001-05-15endfile.c (t_runc): Add cast to help case where ftruncate() prototype is ↵Loren J. Rittle2-1/+10
somehow missing even... * libI77/endfile.c (t_runc): Add cast to help case where ftruncate() prototype is somehow missing even though autoconf test found it properly. From-SVN: r42120
2001-05-15inserters_extractors.cc, [...]: Replace multi-line string constants with ↵Zack Weinberg4-34/+42
C89-style concatenated string constants. 2001-05-15 Zack Weinberg <zackw@stanford.edu> * testsuite/21_strings/inserters_extractors.cc, testsuite/27_io/istream_unformatted.cc, testsuite/27_io/stringstream.cc: Replace multi-line string constants with C89-style concatenated string constants. From-SVN: r42116
2001-05-15objc-act.c (handle_class_ref): Use rest_of_decl_compilation so that ↵Geoffrey Keating2-12/+11
CHOOSE_SECTION gets used. * objc/objc-act.c (handle_class_ref): Use rest_of_decl_compilation so that CHOOSE_SECTION gets used. From-SVN: r42114
2001-05-15sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat TARGET_RELOCATABLE like ↵Geoffrey Keating2-3/+8
flag_pic for now. * config/rs6000/sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat TARGET_RELOCATABLE like flag_pic for now. From-SVN: r42113
2001-05-15fix typoDavid Edelsohn1-1/+1
From-SVN: r42112
2001-05-15rs6000.md (movdi splitter): Sign extend more efficiently.David Edelsohn3-10/+32
* rs6000.md (movdi splitter): Sign extend more efficiently. * rs6000.c (reg_or_arith_cint_operand): Redefine 64-bit constant to "long long" valid on 32-bit and 64-bit hosts. (logical_operand): Cast trunc_int_for_mode rturn value. (rs6000_emit_move): Shift macro to encapsulate variable. (rs6000_va_start): Use HOST_WIDE_INT_PRINT_DEC. (rs6000_emit_{prologue,epilogue}): EH regno is unsigned but plus_constant requires signed argument. From-SVN: r42111
2001-05-15class.c (build_utf8_ref): Don't generate identifier based on utf8const contents.Tom Tromey2-17/+6
* class.c (build_utf8_ref): Don't generate identifier based on utf8const contents. From-SVN: r42110
2001-05-15* gthr-posix.h: Make additional pthread-* functions weak.Loren J. Rittle2-0/+9
From-SVN: r42107
2001-05-15* recog.c (apply_change_group): Avoid unneeded validating.Jan Hubicka2-1/+10
From-SVN: r42106
2001-05-15Add new test - do not warn about (non-)redundant friend declaration.Nick Clifton2-0/+19
From-SVN: r42105
2001-05-15Move ChangeLog entry to correct fileNick Clifton2-5/+5
From-SVN: r42104