aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-05-14libgcc2.c, libgcc2.h: Restore __eprintf.Zack Weinberg5-5/+54
* libgcc2.c, libgcc2.h: Restore __eprintf. Label as used for binary backward compat only. * Makefile.in (LIB2FUNCS_ST): New. Put _eprintf here, not in LIB2FUNCS. Pass it to mklibgcc. * mklibgcc.in: Handle LIB2FUNCS_ST. * Makefile.in (installdirs): Don't create $(gcc_tooldir). From-SVN: r42057
2001-05-14g++.exp: Use testsuite_flags.Benjamin Kosnik2-3/+6
2001-05-13 Benjamin Kosnik <bkoz@redhat.com> * lib/g++.exp: Use testsuite_flags. From-SVN: r42056
2001-05-14Switch over to new harness.Benjamin Kosnik17-1372/+1056
2001-05-13 Benjamin Kosnik <bkoz@redhat.com> Switch over to new harness. * testsuite_flags.in: Tweaks via Gaby. * testsuite/Makefile.am: Change tool to libstdc++-v3. (EXPECT): Quote directly. (RUNTEST): Same. * configure.in: Output testsuite_flags. * acinclude.m4: Substitute src, bld, and prefix dirs. Remove glibcpp_expect, glibcpp_runtestflags. * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs. * mkcheck.in: Port to new interface. * aclocal.m4: Regerate. * configure: Regnerate. * Makefile.in: Regnerate. * */Makefile.in: Regenerate. * tests_flags.in: Remove. * testsuite/lib/libstdc++.exp: Remove. * testsuite/libstdc++.tests/tests.exp: Remove. From-SVN: r42055
2001-05-14Switch over to new harness.Benjamin Kosnik2-784/+0
2001-05-13 Benjamin Kosnik <bkoz@redhat.com> Switch over to new harness. * testsuite_flags.in: Tweaks via Gaby. * testsuite/Makefile.am: Change tool to libstdc++-v3. (EXPECT): Quote directly. (RUNTEST): Same. * configure.in: Output testsuite_flags. * acinclude.m4: Substitute src, bld, and prefix dirs. Remove glibcpp_expect, glibcpp_runtestflags. * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs. * mkcheck.in: Port to new interface. * aclocal.m4: Regerate. * configure: Regnerate. * Makefile.in: Regnerate. * */Makefile.in: Regenerate. * tests_flags.in: Remove. * testsuite/lib/libstdc++.exp: Remove. From-SVN: r42054
2001-05-13acinclude.m4: Use ../libtool.m4.Alexandre Oliva6-1094/+665
* acinclude.m4: Use ../libtool.m4. * configure.in: Use ${zlib_basedir}/.. for AC_CONFIG_AUX_DIR. * acinclude.m4, configure, Makefile.in: Rebuilt. From-SVN: r42052
2001-05-13configure.target: Remove detection of AIX pthread multilib, now obtained ↵Alexandre Oliva2-8/+5
from `gcc -v'. * configure.target: Remove detection of AIX pthread multilib, now obtained from `gcc -v'. From-SVN: r42049
2001-05-13tm.texi (THREAD_MODEL_SPEC): Document it.Alexandre Oliva5-1/+39
* tm.texi (THREAD_MODEL_SPEC): Document it. * gcc.c (main): Use it. * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Define it. * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Likewise. From-SVN: r42048
2001-05-13rtl.h (SYMBOL_REF_WEAK): New macro.Franz Sirl6-13/+24
2001-05-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * rtl.h (SYMBOL_REF_WEAK): New macro. * rtlanal.h (rtx_addr_can_trap): Use it, a weak SYMBOL_REF can trap. * varasm.c (make_decl_rtl): Mark SYMBOL_REF weak if necessary. * rtl.texi (SYMBOL_REF_WEAK): Document it. * gcc.texi: Remove wrong description. From-SVN: r42046
2001-05-13* gcc.c-torture/execute/ieee/rbug.x: XFAIL FreeBSD 4.x.Mark Mitchell2-1/+5
From-SVN: r42044
2001-05-13Makefile.in (STAMP): New macro.Mark Mitchell7-52/+84
* Makefile.in (STAMP): New macro. Replace all uses of `touch' with $(STAMP). * fixinc/Makefile.in: Likewise. * Make-lang.in: Replace all uses of `touch' with $(STAMP). * Makefile.in.in (STAMP): New macro. Replace all uses of `touch' with $(STAMP). From-SVN: r42041
2001-05-13* ChangeLog: Add omitted changelog.Neil Booth1-0/+8
From-SVN: r42039
2001-05-13configure.in: ldopen is never in -lexc, so don't test for it.Richard Kenner3-155/+241
* configure.in: ldopen is never in -lexc, so don't test for it. Add test for exc_resume in -lexc for Ada. * configure: Regenerated. From-SVN: r42037
2001-05-13mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU size.John David Anglin2-4/+20
2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca> * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU size. Add hpux case for HP size. From-SVN: r42036
2001-05-13Daily bump.GCC Administrator5-5/+5
From-SVN: r42034
2001-05-12java-tree.def (JAVA_EXC_OBJ_EXPR): New.Richard Henderson6-9/+29
* java-tree.def (JAVA_EXC_OBJ_EXPR): New. * expr.c (java_lang_expand_expr): Expand it. (process_jvm_instruction): Build JAVA_EXC_OBJ_EXPR instead of calling build_exception_object_ref. * parse.y (catch_clause_parameter): Likewise. (build_dot_class_method): Likewise. (try_reference_assignconv): Likewise. * check-init.c (check_init): Check JAVA_EXC_OBJ_EXPR not EXC_PTR_EXPR. * jcf-write.c (generate_bytecode_insns): Likewise. From-SVN: r42030
2001-05-12Fix date last entry.Richard Henderson1-2/+1
From-SVN: r42029
2001-05-12dwarf2asm.c (size_of_encoded_value): New function.Richard Henderson4-18/+53
* dwarf2asm.c (size_of_encoded_value): New function. * dwarf2asm.h: Declare it. * except.c (output_function_exception_table): Align the TType array only as wide as the encoding. From-SVN: r42028
2001-05-13except.c (choose_personality_routine): Export.Zack Weinberg11-22/+142
gcc/cp: * except.c (choose_personality_routine): Export. Add explanatory comment. Take an enum languages, not a boolean. (initialize_handler_parm): Adjust to match. * cp-tree.h: Prototype choose_personality_routine. * lex.c (handle_pragma_java_exceptions): New function. (init_cp_pragma): Register #pragma GCC java_exceptions. gcc: * extend.texi: Document #pragma GCC java_exceptions. libjava: * Makefile.am (libgcj_la_OBJECTS): Remove libsupc++convenience.la. * Makefile.in: Regenerate (by hand). * include/jvm.h: Add #pragma GCC java_exceptions at top of file. * doc/cni.sgml: Document #pragma GCC java_exceptions. From-SVN: r42027
2001-05-12Add per-function commentary.Richard Henderson1-0/+22
From-SVN: r42003
2001-05-12c-parse.in (bison parser, [...]): Remove uses of doing_objc_thang.Neil Booth3-26/+21
* c-parse.in (bison parser, init_reswords): Remove uses of doing_objc_thang. * c-tree.h (doing_objc_thang): Remove. From-SVN: r42000
2001-05-12testsuite_flags.in: New, simplified interface.Benjamin Kosnik2-0/+179
2001-05-11 Benjamin Kosnik <bkoz@redhat.com> * testsuite_flags.in: New, simplified interface. * testsuite/lib/libstdc++-v3-dg.exp: New test harness. * testsuite/libstdc++-v3.dg: Add. * testsuite/libstdc++-v3.dg/dg.exp: Add. From-SVN: r41999
2001-05-12testsuite_flags.in: New, simplified interface.Benjamin Kosnik1-0/+62
2001-05-11 Benjamin Kosnik <bkoz@redhat.com> * testsuite_flags.in: New, simplified interface. * testsuite/lib/libstdc++-v3-dg.exp: New test harness. * testsuite/libstdc++-v3.dg: Add. * testsuite/libstdc++-v3.dg/dg.exp: Add. * testsuite/Makefile.am: Change tool to libstdc++-v3. * configure.in: Output testsuite_flags. * acinclude.m4: Substitute src, bld, and prefix dirs. From-SVN: r41998
2001-05-12*.cc: Remove spaces, make sure testcases return zero.Benjamin Kosnik92-381/+53
2001-05-11 Benjamin Kosnik <bkoz@redhat.com> * testsuite/*/*.cc: Remove spaces, make sure testcases return zero. * testsuite/config/default.exp: Update bugs email address. From-SVN: r41997
2001-05-12dwarfout.c (dwarfout_init): Add cast.Neil Booth5-6/+7
* dwarfout.c (dwarfout_init): Add cast. * sched-deps.c (sched_analyze_insn): Remove unused vars. * unwind-dw2-fde.c (_Unwind_Find_FDE): Flag unused parameter so. cp: * method.c (build_mangled_C99_name): Remove unused prototype. From-SVN: r41996
2001-05-12cpplex.c (_cpp_lex_token): Ensure we warn at most once about files not ↵Neil Booth2-3/+10
ending in newlines. * cpplex.c (_cpp_lex_token): Ensure we warn at most once about files not ending in newlines. From-SVN: r41995
2001-05-12* config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.Alexandre Oliva2-0/+9
From-SVN: r41993
2001-05-12cp-tree.h (ptrmemfunc_vbit_where_t): Declare type.Alexandre Oliva3-16/+76
* cp-tree.h (ptrmemfunc_vbit_where_t): Declare type. * typeck.c (get_member_function_from_ptrfunc, build_ptrmemfunc, expand_ptrmemfunc_cst): Take TARGET_PTRMEMFUNC_VBIT_LOCATION into account. From-SVN: r41990
2001-05-12defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.Alexandre Oliva3-0/+55
* defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define. * tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document. From-SVN: r41989
2001-05-12Reverted Geoff Keating's 2001-05-03's patch.Alexandre Oliva5-85/+61
From-SVN: r41988
2001-05-12Daily bump.GCC Administrator5-5/+5
From-SVN: r41986
2001-05-12* cp-tree.h (C_EXP_ORIGINAL_CODE): Delete; declared in c-common.h.Ira Ruben2-4/+4
From-SVN: r41985
2001-05-11configure.in (ia64-*): Don't set SYSDEP_SOURCES.Richard Henderson4-310/+296
* configure.in (ia64-*): Don't set SYSDEP_SOURCES. * java/lang/natThrowable.cc: Don't use __ia64_backtrace. From-SVN: r41984
2001-05-11exception.cc: Include unwind-pe.h.Richard Henderson2-168/+6
* exception.cc: Include unwind-pe.h. Remove all pointer encoding logic. From-SVN: r41983
2001-05-11eh_personality.cc: Include unwind-pe.h.Richard Henderson2-179/+34
* libsupc++/eh_personality.cc: Include unwind-pe.h. Remove all pointer encoding logic. (struct lsda_header_info): Add ttype_base. (get_ttype_entry): Use it instead of a context. (check_exception_spec): Likewise. (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in the c++ exception header for __cxa_call_unexpected. (__cxa_call_unexpected): Use it. From-SVN: r41982
2001-05-11defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New.Richard Henderson23-1431/+2771
* defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New. * dwarf2asm.c (dw2_force_const_mem, dw2_output_indirect_constant_1, dw2_output_indirect_constants, dw2_asm_output_encoded_addr_rtx): New. * dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): Prototype. (dw2_output_indirect_constants): Prototype. * dwarf2out.c (dwarf2out_begin_prologue): Generate current_function_func_begin_label if we'll need it for EH. Exit early for IA64_UNWIND_INFO. * except.c: Get DW_EH_PE_* defines from dwarf2.h. (eh_data_format_name): Update for indirect references. (output_function_exception_table): Care for IA64_UNWIND_INFO. Handle ASM_PREFERRED_EH_DATA_FORMAT. * except.h (MUST_USE_SJLJ_EXCEPTIONS): IA64_UNWIND_INFO needn't define HAVE_eh_return etc. * final.c (final_start_function): Always call dwarf2out_begin_prologue. (final_end_function): Don't call output_function_exception_table. * toplev.c (compile_file): Call dw2_output_indirect_constants. (rest_of_compilation): Invoke output_function_exception_table for ia64 before assemble_end_function. * tm.texi (ASM_PREFERRED_EH_DATA_FORMAT): Document. (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Document. * unwind-dw2.c (_Unwind_GetTextRelBase, _Unwind_GetDataRelBase): New. * unwind.h: Declare them. * libgcc-std.ver: Export them. * unwind-pe.h: New file. * config/alpha/elf.h (ASM_PREFERRED_EH_DATA_FORMAT): New. * config/ia64/fde-glibc.c: Use "struct unw_table_entry" instead of "fde". (find_fde_for_dso): Extract DT_PLTGOT. (_Unwind_FindTableEntry): Rename from __ia64_find_fde; return the segment and gp as well. * config/ia64/frame-ia64.c: Remove file. * config/ia64/frame-ia64.h: Remove file. * config/ia64/unwind-ia64.c: New file. * config/ia64/unwind-ia64.h: New file. * config/ia64/ia64.h (ASM_OUTPUT_EH_CHAR): Remove. (ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT): Remove. (ASM_OUTPUT_EH_DOUBLE_INT): Remove. (ASM_PREFERRED_EH_DATA_FORMAT): New. (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New. (IA64_UNWIND_INFO): Re-enable. (HANDLER_SECTION): Remove. (EH_RETURN_DATA_REGNO): New. * config/ia64/ia64.md (exception_receiver): Remove. * config/ia64/t-glibc (LIB2ADDEH): Re-enable. * config/ia64/t-ia64 (LIB2ADDEH): Re-enable. From-SVN: r41981
2001-05-11ia64.c (group_barrier_needed_p): Don't allow calls and jumps to be bundled ↵Richard Henderson3-0/+58
together. * config/ia64/ia64.c (group_barrier_needed_p): Don't allow calls and jumps to be bundled together. (ia64_reorg): Emit a break after a noreturn call that ends a function. * config/ia64/ia64.md (break_f): New. From-SVN: r41979
2001-05-11c-lex.c (lex_charconst): Convert into a simple wrapper around ↵Neil Booth7-305/+404
cpp_interpret_charconst... * c-lex.c (lex_charconst): Convert into a simple wrapper around cpp_interpret_charconst, to which most of the code body is moved. * cppexp.c (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE, MAX_LONG_TYPE_SIZE, MAX_INT_TYPE_SIZE, MAX_CHAR_TYPE_MASK, MAX_WCHAR_TYPE_MASK, parse_escape, parse_charconst): Remove. (lex): Use cpp_interpret_charconst. * cpplex.c (parse_escape, read_ucs, cpp_interpret_charconst, hex_digit_value): New functions. (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): New macros. * cpplib.h (cpp_interpret_charconst): New prototype. * Makefile.in: Update. From-SVN: r41978
2001-05-11install.texi: New file.Dean Wakerley2-0/+1833
* doc/install.texi: New file. Converted to texinfo from the HTML documentation in wwwdocs/htdocs/install. From-SVN: r41977
2001-05-11gcse.c (insert_insn_end_bb): Do not search for assignments to non-argumment ↵Jeffrey A Law2-0/+8
registers that are mentioned in... * gcse.c (insert_insn_end_bb): Do not search for assignments to non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE. From-SVN: r41976
2001-05-11toplev.c (compile_file): Move comment for opening output file to just before ↵Jeffrey A Law2-4/+9
the code that opens the... * toplev.c (compile_file): Move comment for opening output file to just before the code that opens the output file. From-SVN: r41975
2001-05-11regmove.c (regmove_optimize): Suppress the optimization for unchanging ↵Jakub Jelinek2-1/+13
destination register. * regmove.c (regmove_optimize): Suppress the optimization for unchanging destination register. Add comment above function. From-SVN: r41974
2001-05-11Makefile.in: Exterminate all references to assert.h.Zack Weinberg29-221/+53
* Makefile.in: Exterminate all references to assert.h. * cross-make: Likewise. * assert.h: Delete. * configure.in: Correct commentary. * configure: Regenerate. * po/POTFILES.in: Remove assert.h. * libgcc-std.ver, libgcc2.c, libgcc2.h, sys-protos.h: Remove __eprintf. * config/t-freebsd, config/t-linux, config/t-linux-aout, config/t-netbsd, config/t-rtems, config/x-linux, config/i386/t-beos, config/mcore/t-mcore, config/mcore/t-mcore-pe: No need to override INSTALL_ASSERT_H. * fixinc/fixinc.dgux, fixinc/fixinc.interix, fixinc/fixinc.ptx, fixinc/fixinc.svr4, fixinc/fixinc.winnt, fixinc/fixinc.wrap, fixinc/fixincl.sh: Don't install assert.h into objdir/include. From-SVN: r41972
2001-05-11* gcc.c-torture/execute/ieee/ieee.exp: Don't run ieee tests on VAX.John David Anglin2-1/+8
From-SVN: r41971
2001-05-11* lib/objc.exp: Add -lposix4 on Solaris 2.8.Mark Mitchell2-0/+10
From-SVN: r41968
2001-05-11* combine.c (simplify_comparison): Fix typo.Graham Stott2-1/+5
From-SVN: r41967
2001-05-11loop.h (struct movables): Remove `num'.Mark Mitchell3-32/+66
* loop.h (struct movables): Remove `num'. * loop.c (scan_loop): Don't set it. Use count_insns_in_loop. Adjust call to strength_reduce. (num_unmoved_movables): New function. (move_movables): Don't set movables->num. (strength_reduce): Compute the number of instructions in the loop here, rather than in the caller. (check_dbra_loop): Always clear reversible_mem_store if there are any memory sets. (loop_regs_scan): Don't count instructions here. (count_insn_in_loop): New function. From-SVN: r41966
2001-05-11* optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.Mark Mitchell2-2/+5
From-SVN: r41963
2001-05-11Daily bump.GCC Administrator5-5/+5
From-SVN: r41960
2001-05-11c-common.c (finish_label_expr): New function, lifted from from cp/semantics.c.Neil Booth6-43/+100
* c-common.c (finish_label_expr): New function, lifted from from cp/semantics.c. * c-common.h (finish_label_expr, lookup_label): New prototypes. * c-parse.in: Move 3 blocks of parser code into new functions. * c-typeck.c (simple_asm_stmt, c_cast_expr): New functions. * c-tree.h (simple_asm_stmt, c_cast_expr): New prototypes. (lookup_label): Remove. From-SVN: r41959
2001-05-11cp-tree.h (finish_label_expr, [...]): Delete.Neil Booth4-30/+7
* cp-tree.h (finish_label_expr, lookup_label): Delete. * parse.y: Update for '&&'; don't issue warning here. * semantics.c (finish_label_expr): Delete. From-SVN: r41958