nickc [Mon, 14 May 2001 17:09:34 +0000 (17:09 +0000)]
Suppress warning about duplicate decls if the first decl is a friend.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42073
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 14 May 2001 15:36:17 +0000 (15:36 +0000)]
* i386.h (TARGET_64BIT): Define to constant if !TARGET_BI_ARCH
(CPP_CPU??_SIZE_TYPE): New.
(CPP_CPU??_SPEC, CPP_CPUCOMMON_SPEC): Break out from...
(CPP_CPU_SPEC): ... here; support choosing of CPU.
(EXTRA_SPECS): Add cpp_cpu??, cpp_cpu??sizet, cpp_cpucommon.
(MAX_LONG_TYPE_SIZE, MAX_BITS_PER_WORD): Define to 32 for 32bit-only
compiler.
* i386.c (override_options): Add sorry about not suported modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42070
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 14 May 2001 14:54:53 +0000 (14:54 +0000)]
* config/pa/som.h (NM_FLAGS): Remove.
(ASM_OUTPUT_FUNCTION_PREFIX): No longer truncate subspace names.
(ASM_OUTPUT_SECTION_NAME): Remove.
(MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42068
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 14 May 2001 07:56:57 +0000 (07:56 +0000)]
* regrename.c (regrename_optimize): Do not rename registers to
leaf registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42066
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 14 May 2001 07:49:11 +0000 (07:49 +0000)]
* lib/objc.exp: Add -lposix4 on Solaris 2.6 and Solaris 2.7.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42065
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 14 May 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42063
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Mon, 14 May 2001 05:11:38 +0000 (05:11 +0000)]
* rtl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may
contain MEMs. Remove useless distinction about clobbering
registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42060
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Mon, 14 May 2001 03:40:04 +0000 (03:40 +0000)]
* config/rs6000/rs6000.h (EXCEPTION_SECTION): Move to...
* config/rs6000/aix.h (EXCEPTION_SECTION): ... here.
* config/rs6000/sysv4.h (CONST_SECTION_ASM_OP): Delete.
(ASM_PREFERRED_EH_DATA_FORMAT): Define.
(EXCEPTION_SECTION): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42058
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 14 May 2001 02:46:22 +0000 (02:46 +0000)]
* 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).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42057
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 14 May 2001 01:27:23 +0000 (01:27 +0000)]
2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
* lib/g++.exp: Use testsuite_flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42056
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 14 May 2001 01:15:36 +0000 (01:15 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42055
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 14 May 2001 01:07:38 +0000 (01:07 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42054
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sun, 13 May 2001 22:31:24 +0000 (22:31 +0000)]
* acinclude.m4: Use ../libtool.m4.
* configure.in: Use ${zlib_basedir}/.. for AC_CONFIG_AUX_DIR.
* acinclude.m4, configure, Makefile.in: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42052
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sun, 13 May 2001 22:17:11 +0000 (22:17 +0000)]
* configure.target: Remove detection of AIX pthread multilib, now
obtained from `gcc -v'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42049
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sun, 13 May 2001 22:17:02 +0000 (22:17 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42048
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Sun, 13 May 2001 21:16:58 +0000 (21:16 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42046
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 13 May 2001 19:47:20 +0000 (19:47 +0000)]
* gcc.c-torture/execute/ieee/rbug.x: XFAIL FreeBSD 4.x.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42044
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 13 May 2001 19:37:13 +0000 (19:37 +0000)]
* 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).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42041
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 13 May 2001 13:55:05 +0000 (13:55 +0000)]
* ChangeLog: Add omitted changelog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42039
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 13 May 2001 11:25:55 +0000 (11:25 +0000)]
* configure.in: ldopen is never in -lexc, so don't test for it.
Add test for exc_resume in -lexc for Ada.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42037
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Sun, 13 May 2001 11:08:57 +0000 (11:08 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42036
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 13 May 2001 07:16:37 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42034
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 13 May 2001 04:59:33 +0000 (04:59 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42030
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 13 May 2001 04:34:20 +0000 (04:34 +0000)]
Fix date last entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42029
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 13 May 2001 04:30:09 +0000 (04:30 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42028
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 13 May 2001 01:28:18 +0000 (01:28 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42027
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 12 May 2001 18:42:45 +0000 (18:42 +0000)]
Add per-function commentary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42003
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 12 May 2001 17:58:41 +0000 (17:58 +0000)]
* c-parse.in (bison parser, init_reswords): Remove uses of
doing_objc_thang.
* c-tree.h (doing_objc_thang): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42000
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 12 May 2001 17:49:16 +0000 (17:49 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41999
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 12 May 2001 17:45:46 +0000 (17:45 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41998
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 12 May 2001 16:53:08 +0000 (16:53 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41997
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 12 May 2001 16:16:23 +0000 (16:16 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41996
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 12 May 2001 16:02:01 +0000 (16:02 +0000)]
* cpplex.c (_cpp_lex_token): Ensure we warn at most once
about files not ending in newlines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41995
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 12 May 2001 14:58:47 +0000 (14:58 +0000)]
* config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41993
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 12 May 2001 10:41:31 +0000 (10:41 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41990
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 12 May 2001 10:41:21 +0000 (10:41 +0000)]
* defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
* tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41989
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 12 May 2001 10:37:48 +0000 (10:37 +0000)]
Reverted Geoff Keating's 2001-05-03's patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41988
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 12 May 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41986
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 12 May 2001 06:36:57 +0000 (06:36 +0000)]
* cp-tree.h (C_EXP_ORIGINAL_CODE): Delete; declared in c-common.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41985
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 12 May 2001 06:25:03 +0000 (06:25 +0000)]
* configure.in (ia64-*): Don't set SYSDEP_SOURCES.
* java/lang/natThrowable.cc: Don't use __ia64_backtrace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41984
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 12 May 2001 06:17:31 +0000 (06:17 +0000)]
* exception.cc: Include unwind-pe.h. Remove all pointer
encoding logic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41983
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 12 May 2001 06:16:21 +0000 (06:16 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41982
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 12 May 2001 06:03:20 +0000 (06:03 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41981
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 12 May 2001 05:21:09 +0000 (05:21 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41979
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 11 May 2001 23:48:21 +0000 (23:48 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41978
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 11 May 2001 22:10:54 +0000 (22:10 +0000)]
* doc/install.texi: New file. Converted to texinfo from the HTML
documentation in wwwdocs/htdocs/install.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41977
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 11 May 2001 22:07:58 +0000 (22:07 +0000)]
* gcse.c (insert_insn_end_bb): Do not search for assignments to
non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41976
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 11 May 2001 22:00:23 +0000 (22:00 +0000)]
* toplev.c (compile_file): Move comment for opening output
file to just before the code that opens the output file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41975
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 11 May 2001 20:08:04 +0000 (20:08 +0000)]
* regmove.c (regmove_optimize): Suppress the optimization for
unchanging destination register. Add comment above function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41974
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 11 May 2001 17:03:02 +0000 (17:03 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41972
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 11 May 2001 16:56:29 +0000 (16:56 +0000)]
* gcc.c-torture/execute/ieee/ieee.exp: Don't run ieee tests on VAX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41971
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 11 May 2001 16:20:54 +0000 (16:20 +0000)]
* lib/objc.exp: Add -lposix4 on Solaris 2.8.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41968
138bc75d-0d04-0410-961f-
82ee72b054a4
grahams [Fri, 11 May 2001 16:15:49 +0000 (16:15 +0000)]
* combine.c (simplify_comparison): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41967
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 11 May 2001 15:54:19 +0000 (15:54 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41966
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 11 May 2001 15:28:40 +0000 (15:28 +0000)]
* optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41963
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 11 May 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41960
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 11 May 2001 06:38:48 +0000 (06:38 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41959
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 11 May 2001 06:35:10 +0000 (06:35 +0000)]
* cp-tree.h (finish_label_expr, lookup_label): Delete.
* parse.y: Update for '&&'; don't issue warning here.
* semantics.c (finish_label_expr): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41958
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 11 May 2001 04:23:57 +0000 (04:23 +0000)]
* config/mn10300/t-mn10300 (dp-bit.c, fp-bit.c): Don't define
FLOAT_BIT_ORDER_MISMATCH.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41957
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 11 May 2001 01:56:12 +0000 (01:56 +0000)]
* expr.c (emit_push_insn): Convert PUSH_ROUNDING argument to
bytes. Reported by Kazu Hirata <kazu@hxi.com>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41956
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 11 May 2001 01:03:45 +0000 (01:03 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added Polygon.java.
* java/awt/Polygon.java: New file.
* java/awt/geom/AffineTransform.java
(setToRotation(double,double,double)): New method.
(AffineTransform): Set type to TYPE_GENERAL_TRANSFORM.
(setToShear): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41954
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 11 May 2001 00:23:46 +0000 (00:23 +0000)]
* cse.c (cse_insn): Mostly remove first hunk of code which collapsed
a computed jump into an unconditional jump.
In second hunk of code for collapsing computed and conditional jumps
into unconditional jumps, reemit the jump in additional cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41953
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 10 May 2001 21:59:10 +0000 (21:59 +0000)]
* expr.c (emit_group_load): extract_bit_field requires a REG or
MEM as an argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41950
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Thu, 10 May 2001 20:51:52 +0000 (20:51 +0000)]
2001-05-11 Ben Elliston <bje@redhat.com>
* Makefile.in (all-sid): New target.
(check-sid, clean-sid, install-sid): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41948
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 10 May 2001 20:43:50 +0000 (20:43 +0000)]
* jump.c (jump_optimize_1): Do not wrap the new jump target
inside a LABEL_REF; gen_jump will do that automatically.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41947
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 10 May 2001 19:11:58 +0000 (19:11 +0000)]
* ansidecl.h (NULL_PTR): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41946
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Thu, 10 May 2001 18:52:28 +0000 (18:52 +0000)]
2001-05-10 Toon Moene <toon@moene.indiv.nluug.nl>
* dwarf2out.c (mem_loc_descriptor): Do not pass constant pool
contents for a SYMBOL_REF in case of floating point constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41945
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 10 May 2001 18:42:11 +0000 (18:42 +0000)]
2001-05-01 Tom Browder <tbrowder@home.com>
* docs/html/ext/howto.html: Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41944
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 10 May 2001 18:13:17 +0000 (18:13 +0000)]
2001-05-10 Tom Tromey <tromey@redhat.com>
* java/util/GregorianCalendar.java: Imported from Classpath.
* gnu/java/locale/LocaleInformation_nl.java: New file from
Classpath.
* gnu/java/locale/LocaleInformation_en.java: Likewise.
* gnu/java/locale/LocaleInformation_de.java: Likewise.
* gnu/java/locale/LocaleInformation.java: Likewise.
* natGregorianCalendar.cc: Removed.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Removed
natGregorianCalendar.cc.
2001-05-10 Tom Tromey <tromey@redhat.com>
* java/text/SimpleDateFormat.java (computeCenturyStart): New
method.
(defaultCenturyStart): Use it.
(readObject): Likewise.
(SimpleDateFormat): Clear the calendar. Set the grouping on the
number format.
(parse): Copy the calendar before modifying it. Correctly handle
the time zone.
* java/util/Calendar.java (clear): Set field value(s) to 0.
2001-05-10 Jeff Sturm <jsturm@one-point.com>
* Calendar.java (get): Clear areFieldsSet if requested field
is not set.
(set): Unset fields that depend on new value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41942
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Thu, 10 May 2001 17:39:19 +0000 (17:39 +0000)]
* c-common.c (combine_strings): Widen strings in a
host-endian-independent way.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41941
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 10 May 2001 16:17:07 +0000 (16:17 +0000)]
* c-parse.in: Remove many shift/reduce conflicts. Update
%expect values.
(declspecs_nosc_nots_nosa_noea, declspecs_nosc_nots_nosa_ea,
declspecs_nosc_nots_sa_noea, declspecs_nosc_nots_sa_ea,
declspecs_nosc_ts_nosa_noea, declspecs_nosc_ts_nosa_ea,
declspecs_nosc_ts_sa_noea, declspecs_nosc_ts_sa_ea,
declspecs_sc_nots_nosa_noea, declspecs_sc_nots_nosa_ea,
declspecs_sc_nots_sa_noea, declspecs_sc_nots_sa_ea,
declspecs_sc_ts_nosa_noea, declspecs_sc_ts_nosa_ea,
declspecs_sc_ts_sa_noea, declspecs_sc_ts_sa_ea, declspecs_ts,
declspecs_nots, declspecs_ts_nosa, declspecs_nots_nosa,
declspecs_nosc_ts, declspecs_nosc_nots, declspecs_nosc, declspecs,
maybe_type_quals_setattrs, typespec_nonattr, typespec_attr,
typespec_reserved_nonattr, typespec_reserved_attr,
typespec_nonreserved_nonattr, maybe_setattrs, structsp_attr,
structsp_nonattr, components_notype, component_notype_declarator,
absdcl1_ea, absdcl1_noea, direct_absdcl1, absdcl_maybe_attribute,
firstparm, setspecs_fp): New
(typed_declspecs, reserved_declspecs, typed_typespecs,
reserved_typespecquals, declmods, typespec, typespecqual_reserved,
typed_declspecs_no_prefix_attr reserved_declspecs_no_prefix_attr
declmods_no_prefix_attr, nonempty_type_quals, structsp,
type_quals): Remove. Users updated.
(initdecls, notype_initdecls, after_type_declarator,
parm_declarator, notype_declarator, absdcl1, components, ivars):
Don't allow attributes at the start of a declarator; include them
in the production containing the declarator instead. Always
require type specifiers before trying to redeclare a typedef name.
(typename): Allow for attributes but warn that they are ignored.
(parmlist, firstparm, setspecs_fp): Include attributes in
parmlist; suck them off the parser stack in firstparm using
setspecs_fp.
testsuite:
* gcc.c-torture/compile/
20010313-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41940
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 10 May 2001 15:15:48 +0000 (15:15 +0000)]
* ifcvt.c (merge_if_block): Use any_uncondjump_p, not simplejump_p
to determine if a block has an unconditional jump at its end.
* jump.c (jump_optimize_1): When converting a conditional jump
to an unconditional jump, build the jump using gen_jump instead
of just modify operands in-place.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41939
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 10 May 2001 08:55:50 +0000 (08:55 +0000)]
2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
libgloss_link_flags to find crt0.o for targets that use libgloss
instead of newlib.
Change LDFLAGS to LIBS.
Consistently name procedures libstdc++-XXX.
* testsuite/libstdc++.tests/tests.exp: Use new procedure names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41938
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 10 May 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41936
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 10 May 2001 00:07:23 +0000 (00:07 +0000)]
* cppinit.c (cpp_post_options): Shut off macro expansion if
-fpreprocessed.
* cpplib.c (_cpp_handle_directive): If -fpreprocessed, accept
IN_I directives only if the # is in column 1 and the directive
name begins in column 2.
* cppmain.c (scan_buffer): Insert a space between # and an
identifier, when that identifier is a directive name.
* tradcpp.c (struct file_buf): Add a pointer to the next entry
in the header search path.
(enum node_type): Add T_INCLUDE_NEXT.
(directive_table): Add entry for include_next.
(do_include_next): New function.
(process_include): New routine, broken out of do_include.
(finclude): Insert 'nhd' argument, to be copied into
next_header_dir of the new buffer.
(main): Adjust to match.
* gsyslimits.h, limity.h: Un-indent #include_next.
testsuite:
* gcc.dg/cpp/direct2.c: New test.
* gcc.dg/cpp/direct2s.c: New test.
* gcc.c-torture/execute/920730-1t.c: #undef __GNUC__ at head.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41932
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Wed, 9 May 2001 22:29:20 +0000 (22:29 +0000)]
2001-05-09 Jeffrey Oldham <oldham@codesourcery.com>
* ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41931
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Wed, 9 May 2001 19:09:55 +0000 (19:09 +0000)]
* md5.c (md5_init_ctx): Declare constants as unsigned.
(md5_process_block): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41930
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 9 May 2001 14:16:47 +0000 (14:16 +0000)]
gcc:
* objc.texi: Move from ../libobjc/objc-features.texi. Adjust for
inclusion as a chapter of the GCC manual.
* gcc.texi: Include objc.texi.
* fdl.texi: Use @unnumberedsec for the addendum.
* Makefile.in ($(srcdir)/gcc.info, gcc.dvi): Update dependencies.
libobjc:
* objc-features.texi: Move to ../gcc/objc.texi.
* fdl.texi: Remove.
* Makefile.in: Don't generate documentation from
objc-features.texi.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41927
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 9 May 2001 14:03:39 +0000 (14:03 +0000)]
* i386.md (DImode move splitters): Use !MMX and !SSE for the condition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41926
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 9 May 2001 13:40:49 +0000 (13:40 +0000)]
* regclass.c (scan_one_insn): Update REG_N_REFS when optimizing
handling of two-address insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41925
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 9 May 2001 13:37:28 +0000 (13:37 +0000)]
* Makefile.in (NM_FOR_TARGET): Look for ./nm, then
../binutils/nm-new instead of ../binutils/nm.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41924
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 9 May 2001 10:19:00 +0000 (10:19 +0000)]
* i386.md (movdi splitter): Fix the splitting condition
(float_extenddftf splitter): Fix mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41923
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 9 May 2001 10:06:20 +0000 (10:06 +0000)]
* genrecog.c (write_switch): Avoid outputting of switch for
types wider than int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41922
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 9 May 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41921
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 8 May 2001 23:53:55 +0000 (23:53 +0000)]
2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
* include/c_std/bits/std_cstring.h (memchr): Correct definitions.
(strchr): Same.
(strpbrk): Same.
(strrchr): Same.
(strstr): Same.
* include/c_std/bits/std_cwchar.h (wcschr): Same.
(wcsbrk): Same.
(wcsrchr): Same.
(wcsstr): Same.
(wmemchr): Same.
* testsuite/21_strings/c_strings.cc: Add tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41919
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Tue, 8 May 2001 14:14:11 +0000 (14:14 +0000)]
2001-05-03 Andrew Haley <aph@cambridge.redhat.com>
* reload1.c (copy_eh_notes): New function.
(emit_input_reload_insns): Call it.
(emit_output_reload_insns): Call it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41918
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Tue, 8 May 2001 08:11:26 +0000 (08:11 +0000)]
2001-05-07 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (build_unresolved_array_type): Set
EXPR_WFL_QUALIFICATION on the newly created wfl.
Fixes PR java/2538. Fixes PR java/2535.
(http://gcc.gnu.org/ml/gcc-patches/2001-05/msg00438.html )
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41917
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 8 May 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41914
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 8 May 2001 06:45:53 +0000 (06:45 +0000)]
Really remove this file
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41913
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 8 May 2001 06:26:49 +0000 (06:26 +0000)]
* config.gcc (i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*):
Delete stanzas.
* config/i386/sco.h, config/i386/sco4.h, config/i386/scodbx.h,
config/i386/sco4dbx.h, config/i386/x-sco4: Delete file.
* optabs.c: Delete #ifdef BROKEN_LDEXP block.
* POTFILES.in: Remove config/i386/sco.h, config/i386/sco4.h,
config/i386/sco4dbx.h, and config/i386/scodbx.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41912
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 8 May 2001 06:13:58 +0000 (06:13 +0000)]
* cp-demangle.c (demangle_v3_with_details,
is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
function definition.
* ternary.c: Use K+R style function definitions. Use PTR, not
void *. Make arguments constant where possible.
* demangle.h: Use PARAMS for all prototypes.
* ternary.h: Use PARAMS for all prototypes. Use PTR, not void *.
Make arguments constant where possible.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41910
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 8 May 2001 03:39:50 +0000 (03:39 +0000)]
2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2523
* include/bits/std_fstream.h (basic_filebuf): Change signature.
* include/bits/fstream.tcc (basic_filebuf): Change bool argument
to int_type, pass in buffer size info.
* include/bits/std_streambuf.h (_M_is_indeterminate): Check for
unbuffered situation.
(underflow): Remove codecvt bits for the time being.
* include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
* include/bits/locale_facets.tcc (_M_extract): Cache dereference
values from iterators, clean.
* src/locale.cc: Ditto.
* include/bits/sbuf_iter.h: Format.
* src/ios.cc: Explicitly pass in buffer sizes at creation time.
* testsuite/27_io/narrow_stream_objects.cc: Add tests.
* testsuite/27_io/filebuf.cc: Tweaks.
* testsuite/27_io/filebuf_members.cc: Tweaks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41909
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 8 May 2001 03:07:56 +0000 (03:07 +0000)]
2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2523
* include/bits/std_fstream.h (basic_filebuf): Change signature.
* include/bits/fstream.tcc (basic_filebuf): Change bool argument
to int_type, pass in buffer size info.
* include/bits/std_streambuf.h (_M_is_indeterminate): Check for
unbuffered situation.
(underflow): Remove codecvt bits for the time being.
* include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
* include/bits/locale_facets.tcc (_M_extract): Cache dereference
values from iterators, clean.
* src/locale.cc: Ditto.
* include/bits/sbuf_iter.h: Format.
* src/ios.cc: Explicitly pass in buffer sizes at creation time.
* testsuite/27_io/narrow_stream_objects.cc: Add tests.
* testsuite/27_io/filebuf.cc: Tweaks.
* testsuite/27_io/filebuf_members.cc: Tweaks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41908
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 8 May 2001 03:02:05 +0000 (03:02 +0000)]
* config/os/solaris/solaris2.7/bits/os_defines.h
(_LARGEFILE_SOURCE): Define it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41907
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Mon, 7 May 2001 19:53:15 +0000 (19:53 +0000)]
2001-05-07 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (fix_constructors): Removed unecessary assignment to
local. Moved assignment to `this$<n>', fixed comments and
indentation.
(build_wfl_wrap): Fixed indentation.
Fixes PR java/2598, java/2579 and java/2658.
(http://gcc.gnu.org/ml/gcc-patches/2001-05/msg00412.html )
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41905
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Mon, 7 May 2001 19:22:28 +0000 (19:22 +0000)]
* pa.md (interspace_jump): Revise comment.
(builtin_longjmp): Block initial setup insns from delay slot of
interspace branch.
(builtin_setjmp_receiver): New expander to save and restore PIC
register.
* som.h (NM_FLAGS): Remove `-n' sort option. Revise comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41902
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 7 May 2001 18:03:52 +0000 (18:03 +0000)]
* g++.old-deja/g++.other/op2.C: Don't use `glob' as a variable.
* g++.old-deja/g++.other/op3.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41901
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 7 May 2001 15:51:21 +0000 (15:51 +0000)]
* toplev.c (compile_file): Set up the output file before we call
the various initializers for the compiler.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41897
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 7 May 2001 15:45:47 +0000 (15:45 +0000)]
* except.c (sjlj_mark_call_sites): Do not search for assignments to
non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41896
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 7 May 2001 15:45:24 +0000 (15:45 +0000)]
* splay-tree.h (splay_tree_max): New function.
(splay_tree_min): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41895
138bc75d-0d04-0410-961f-
82ee72b054a4