Nick Clifton [Tue, 15 May 2001 07:39:52 +0000 (07:39 +0000)]
Move ChangeLog entry to correct file
From-SVN: r42104
GCC Administrator [Tue, 15 May 2001 07:16:42 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42103
Loren J. Rittle [Tue, 15 May 2001 04:58:07 +0000 (04:58 +0000)]
* gcc_update (touch_files): Enhance make portability.
From-SVN: r42100
David Edelsohn [Tue, 15 May 2001 04:26:33 +0000 (04:26 +0000)]
rs6000.c (num_insns_constant_wide): Constants are sign-extended.
* rs6000.c (num_insns_constant_wide): Constants are sign-extended.
(num_insns_constant): CONST_INT can be 64-bits.
From-SVN: r42099
Mark Mitchell (admin) [Tue, 15 May 2001 02:45:32 +0000 (04:45 +0200)]
* gcc.dg/ultrasp2.c: Don't run it with -m64 on sparc-*-*.
From-SVN: r42098
Stan Shebs [Tue, 15 May 2001 02:17:14 +0000 (02:17 +0000)]
darwin.h (LIB_SPEC): Just use -lSystem.
* config/darwin.h (LIB_SPEC): Just use -lSystem.
(LIBGCC_SPEC): Don't define.
From-SVN: r42094
Richard Henderson [Tue, 15 May 2001 01:45:10 +0000 (18:45 -0700)]
configure.in (gcc_cv_as_eh_frame): New test.
* configure.in (gcc_cv_as_eh_frame): New test.
* config.in, configure: Rebuild.
* gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT.
From-SVN: r42092
Alexandre Oliva [Mon, 14 May 2001 19:57:52 +0000 (19:57 +0000)]
* gcc_update (touch_files): Use a Makefile to touch files.
From-SVN: r42088
Andrew MacLeod [Mon, 14 May 2001 17:47:07 +0000 (17:47 +0000)]
lib1funcs.asm (__divtf3): Fix incorrect bits in extended precision divide.
2001-05-14 Andrew MacLeod <amacleod@redhat.com>
* config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
extended precision divide.
From-SVN: r42079
Andrew MacLeod [Mon, 14 May 2001 17:44:56 +0000 (17:44 +0000)]
ia64.c (rtx_needs_barrier): Call rtx_needs_barrier for RETURNS as well.
2001-05-14 Andrew MacLeod <amacleod@redhat.com>
* config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
for RETURNS as well.
From-SVN: r42077
Tom Tromey [Mon, 14 May 2001 17:40:29 +0000 (17:40 +0000)]
SimpleDateFormat.java (parse): Clear DST_OFFSET and ZONE_OFFSET just before computing the time.
* java/text/SimpleDateFormat.java (parse): Clear DST_OFFSET and
ZONE_OFFSET just before computing the time.
From-SVN: r42076
Richard Henderson [Mon, 14 May 2001 17:16:58 +0000 (10:16 -0700)]
* mknumeric_limits: Build with -fno-exceptions.
From-SVN: r42075
Nick Clifton [Mon, 14 May 2001 17:09:34 +0000 (17:09 +0000)]
Suppress warning about duplicate decls if the first decl is a friend.
From-SVN: r42073
Jan Hubicka [Mon, 14 May 2001 15:36:17 +0000 (17:36 +0200)]
i386.h (TARGET_64BIT): Define to constant if !TARGET_BI_ARCH
* 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.
From-SVN: r42070
Jeffrey A Law [Mon, 14 May 2001 14:54:53 +0000 (14:54 +0000)]
som.h (NM_FLAGS): Remove.
* 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.
From-SVN: r42068
Mark Mitchell [Mon, 14 May 2001 07:56:57 +0000 (07:56 +0000)]
regrename.c (regrename_optimize): Do not rename registers to leaf registers.
* regrename.c (regrename_optimize): Do not rename registers to
leaf registers.
From-SVN: r42066
Mark Mitchell [Mon, 14 May 2001 07:49:11 +0000 (07:49 +0000)]
* lib/objc.exp: Add -lposix4 on Solaris 2.6 and Solaris 2.7.
From-SVN: r42065
GCC Administrator [Mon, 14 May 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42063
Alexandre Oliva [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.
* rtl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may
contain MEMs. Remove useless distinction about clobbering
registers.
From-SVN: r42060
Geoffrey Keating [Mon, 14 May 2001 03:40:04 +0000 (03:40 +0000)]
rs6000.h (EXCEPTION_SECTION): Move to...
* 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.
From-SVN: r42058
Zack Weinberg [Mon, 14 May 2001 02:46:22 +0000 (02:46 +0000)]
libgcc2.c, libgcc2.h: Restore __eprintf.
* 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
Benjamin Kosnik [Mon, 14 May 2001 01:27:23 +0000 (01:27 +0000)]
g++.exp: Use testsuite_flags.
2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
* lib/g++.exp: Use testsuite_flags.
From-SVN: r42056
Benjamin Kosnik [Mon, 14 May 2001 01:15:36 +0000 (01:15 +0000)]
Switch over to new harness.
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
Benjamin Kosnik [Mon, 14 May 2001 01:07:38 +0000 (01:07 +0000)]
Switch over to new harness.
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
Alexandre Oliva [Sun, 13 May 2001 22:31:24 +0000 (22:31 +0000)]
acinclude.m4: Use ../libtool.m4.
* acinclude.m4: Use ../libtool.m4.
* configure.in: Use ${zlib_basedir}/.. for AC_CONFIG_AUX_DIR.
* acinclude.m4, configure, Makefile.in: Rebuilt.
From-SVN: r42052
Alexandre Oliva [Sun, 13 May 2001 22:17:11 +0000 (22:17 +0000)]
configure.target: Remove detection of AIX pthread multilib, now obtained from `gcc -v'.
* configure.target: Remove detection of AIX pthread multilib, now
obtained from `gcc -v'.
From-SVN: r42049
Alexandre Oliva [Sun, 13 May 2001 22:17:02 +0000 (22:17 +0000)]
tm.texi (THREAD_MODEL_SPEC): Document it.
* 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
Franz Sirl [Sun, 13 May 2001 21:16:58 +0000 (21:16 +0000)]
rtl.h (SYMBOL_REF_WEAK): New macro.
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
Mark Mitchell [Sun, 13 May 2001 19:47:20 +0000 (19:47 +0000)]
* gcc.c-torture/execute/ieee/rbug.x: XFAIL FreeBSD 4.x.
From-SVN: r42044
Mark Mitchell [Sun, 13 May 2001 19:37:13 +0000 (19:37 +0000)]
Makefile.in (STAMP): New macro.
* 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
Neil Booth [Sun, 13 May 2001 13:55:05 +0000 (13:55 +0000)]
* ChangeLog: Add omitted changelog.
From-SVN: r42039
Richard 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.
* 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
John David Anglin [Sun, 13 May 2001 11:08:57 +0000 (11:08 +0000)]
mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU size.
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
GCC Administrator [Sun, 13 May 2001 07:16:37 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42034
Richard Henderson [Sun, 13 May 2001 04:59:33 +0000 (21:59 -0700)]
java-tree.def (JAVA_EXC_OBJ_EXPR): New.
* 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
Richard Henderson [Sun, 13 May 2001 04:34:20 +0000 (21:34 -0700)]
Fix date last entry.
From-SVN: r42029
Richard Henderson [Sun, 13 May 2001 04:30:09 +0000 (21:30 -0700)]
dwarf2asm.c (size_of_encoded_value): New function.
* 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
Zack Weinberg [Sun, 13 May 2001 01:28:18 +0000 (01:28 +0000)]
except.c (choose_personality_routine): Export.
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
Richard Henderson [Sat, 12 May 2001 18:42:45 +0000 (11:42 -0700)]
Add per-function commentary.
From-SVN: r42003
Neil Booth [Sat, 12 May 2001 17:58:41 +0000 (17:58 +0000)]
c-parse.in (bison parser, [...]): Remove uses of doing_objc_thang.
* c-parse.in (bison parser, init_reswords): Remove uses of
doing_objc_thang.
* c-tree.h (doing_objc_thang): Remove.
From-SVN: r42000
Benjamin Kosnik [Sat, 12 May 2001 17:49:16 +0000 (17:49 +0000)]
testsuite_flags.in: New, simplified interface.
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
Benjamin Kosnik [Sat, 12 May 2001 17:45:46 +0000 (17:45 +0000)]
testsuite_flags.in: New, simplified interface.
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
Benjamin Kosnik [Sat, 12 May 2001 16:53:08 +0000 (16:53 +0000)]
*.cc: Remove spaces, make sure testcases return zero.
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
Neil Booth [Sat, 12 May 2001 16:16:23 +0000 (16:16 +0000)]
dwarfout.c (dwarfout_init): Add cast.
* 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
Neil Booth [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.
* cpplex.c (_cpp_lex_token): Ensure we warn at most once
about files not ending in newlines.
From-SVN: r41995
Alexandre Oliva [Sat, 12 May 2001 14:58:47 +0000 (14:58 +0000)]
* config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.
From-SVN: r41993
Alexandre Oliva [Sat, 12 May 2001 10:41:31 +0000 (10:41 +0000)]
cp-tree.h (ptrmemfunc_vbit_where_t): Declare type.
* 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
Alexandre Oliva [Sat, 12 May 2001 10:41:21 +0000 (10:41 +0000)]
defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
* defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
* tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document.
From-SVN: r41989
Alexandre Oliva [Sat, 12 May 2001 10:37:48 +0000 (10:37 +0000)]
Reverted Geoff Keating's 2001-05-03's patch.
From-SVN: r41988
GCC Administrator [Sat, 12 May 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r41986
Ira Ruben [Sat, 12 May 2001 06:36:57 +0000 (06:36 +0000)]
* cp-tree.h (C_EXP_ORIGINAL_CODE): Delete; declared in c-common.h.
From-SVN: r41985
Richard Henderson [Sat, 12 May 2001 06:25:03 +0000 (23:25 -0700)]
configure.in (ia64-*): Don't set SYSDEP_SOURCES.
* configure.in (ia64-*): Don't set SYSDEP_SOURCES.
* java/lang/natThrowable.cc: Don't use __ia64_backtrace.
From-SVN: r41984
Richard Henderson [Sat, 12 May 2001 06:17:31 +0000 (23:17 -0700)]
exception.cc: Include unwind-pe.h.
* exception.cc: Include unwind-pe.h. Remove all pointer
encoding logic.
From-SVN: r41983
Richard Henderson [Sat, 12 May 2001 06:16:21 +0000 (23:16 -0700)]
eh_personality.cc: Include unwind-pe.h.
* 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
Richard Henderson [Sat, 12 May 2001 06:03:20 +0000 (23:03 -0700)]
defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
* 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
Richard Henderson [Sat, 12 May 2001 05:21:09 +0000 (22:21 -0700)]
ia64.c (group_barrier_needed_p): Don't allow calls and jumps to be bundled 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
Neil Booth [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...
* 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
Dean Wakerley [Fri, 11 May 2001 22:10:54 +0000 (22:10 +0000)]
install.texi: New file.
* doc/install.texi: New file. Converted to texinfo from the HTML
documentation in wwwdocs/htdocs/install.
From-SVN: r41977
Jeffrey A 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...
* 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
Jeffrey A 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...
* toplev.c (compile_file): Move comment for opening output
file to just before the code that opens the output file.
From-SVN: r41975
Jakub Jelinek [Fri, 11 May 2001 20:08:04 +0000 (22:08 +0200)]
regmove.c (regmove_optimize): Suppress the optimization for unchanging destination register.
* regmove.c (regmove_optimize): Suppress the optimization for
unchanging destination register. Add comment above function.
From-SVN: r41974
Zack Weinberg [Fri, 11 May 2001 17:03:02 +0000 (17:03 +0000)]
Makefile.in: Exterminate all references to assert.h.
* 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
John David Anglin [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.
From-SVN: r41971
Mark Mitchell [Fri, 11 May 2001 16:20:54 +0000 (16:20 +0000)]
* lib/objc.exp: Add -lposix4 on Solaris 2.8.
From-SVN: r41968
Graham Stott [Fri, 11 May 2001 16:15:49 +0000 (16:15 +0000)]
* combine.c (simplify_comparison): Fix typo.
From-SVN: r41967
Mark Mitchell [Fri, 11 May 2001 15:54:19 +0000 (15:54 +0000)]
loop.h (struct movables): Remove `num'.
* 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
Mark Mitchell [Fri, 11 May 2001 15:28:40 +0000 (15:28 +0000)]
* optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.
From-SVN: r41963
GCC Administrator [Fri, 11 May 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r41960
Neil Booth [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.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
Neil Booth [Fri, 11 May 2001 06:35:10 +0000 (06:35 +0000)]
cp-tree.h (finish_label_expr, [...]): Delete.
* 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
Alexandre Oliva [Fri, 11 May 2001 04:23:57 +0000 (04:23 +0000)]
t-mn10300 (dp-bit.c, fp-bit.c): Don't define FLOAT_BIT_ORDER_MISMATCH.
* config/mn10300/t-mn10300 (dp-bit.c, fp-bit.c): Don't define
FLOAT_BIT_ORDER_MISMATCH.
From-SVN: r41957
David Edelsohn [Fri, 11 May 2001 01:56:12 +0000 (01:56 +0000)]
expr.c (emit_push_insn): Convert PUSH_ROUNDING argument to bytes.
* expr.c (emit_push_insn): Convert PUSH_ROUNDING argument to
bytes. Reported by Kazu Hirata <kazu@hxi.com>.
From-SVN: r41956
Tom Tromey [Fri, 11 May 2001 01:03:45 +0000 (01:03 +0000)]
Makefile.in: Rebuilt.
* 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.
From-SVN: r41954
Jeffrey A 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...
* 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.
From-SVN: r41953
David Edelsohn [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.
* expr.c (emit_group_load): extract_bit_field requires a REG or
MEM as an argument.
From-SVN: r41950
Ben Elliston [Thu, 10 May 2001 20:51:52 +0000 (20:51 +0000)]
Makefile.in (all-sid): New target.
2001-05-11 Ben Elliston <bje@redhat.com>
* Makefile.in (all-sid): New target.
(check-sid, clean-sid, install-sid): Likewise.
From-SVN: r41948
Jeffrey A 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...
* jump.c (jump_optimize_1): Do not wrap the new jump target
inside a LABEL_REF; gen_jump will do that automatically.
From-SVN: r41947
Kaveh R. Ghazi [Thu, 10 May 2001 19:11:58 +0000 (19:11 +0000)]
* ansidecl.h (NULL_PTR): Delete.
From-SVN: r41946
Toon Moene [Thu, 10 May 2001 18:52:28 +0000 (20:52 +0200)]
dwarf2out.c (mem_loc_descriptor): Do not pass constant pool contents for a SYMBOL_REF in case of floating point...
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.
From-SVN: r41945
Tom Browder [Thu, 10 May 2001 18:42:11 +0000 (18:42 +0000)]
howto.html: Fix typo.
2001-05-01 Tom Browder <tbrowder@home.com>
* docs/html/ext/howto.html: Fix typo.
From-SVN: r41944
Tom Tromey [Thu, 10 May 2001 18:13:17 +0000 (18:13 +0000)]
[multiple changes]
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.
From-SVN: r41942
DJ Delorie [Thu, 10 May 2001 17:39:19 +0000 (13:39 -0400)]
c-common.c (combine_strings): Widen strings in a host-endian-independent way.
* c-common.c (combine_strings): Widen strings in a
host-endian-independent way.
From-SVN: r41941
Joseph Myers [Thu, 10 May 2001 16:17:07 +0000 (17:17 +0100)]
c-parse.in: Remove many shift/reduce conflicts.
* 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.
From-SVN: r41940
Jeffrey A Law [Thu, 10 May 2001 15:15:48 +0000 (15:15 +0000)]
ifcvt.c (merge_if_block): Use any_uncondjump_p...
* 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.
From-SVN: r41939
Benjamin Kosnik [Thu, 10 May 2001 08:55:50 +0000 (08:55 +0000)]
libstdc++.exp: Use libgloss.exp.
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.
From-SVN: r41938
GCC Administrator [Thu, 10 May 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r41936
Zack Weinberg [Thu, 10 May 2001 00:07:23 +0000 (00:07 +0000)]
cppinit.c (cpp_post_options): Shut off macro expansion if -fpreprocessed.
* 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.
From-SVN: r41932
Jeffrey Oldham [Wed, 9 May 2001 22:29:20 +0000 (22:29 +0000)]
ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds.
2001-05-09 Jeffrey Oldham <oldham@codesourcery.com>
* ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds.
From-SVN: r41931
Thiemo Seufer [Wed, 9 May 2001 19:09:55 +0000 (19:09 +0000)]
md5.c (md5_init_ctx): Declare constants as unsigned.
* md5.c (md5_init_ctx): Declare constants as unsigned.
(md5_process_block): Likewise.
From-SVN: r41930
Joseph Myers [Wed, 9 May 2001 14:16:47 +0000 (15:16 +0100)]
objc.texi: Move from ../libobjc/objc-features.texi.
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.
From-SVN: r41927
Jan Hubicka [Wed, 9 May 2001 14:03:39 +0000 (16:03 +0200)]
* i386.md (DImode move splitters): Use !MMX and !SSE for the condition.
From-SVN: r41926
Alexandre Oliva [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.
* regclass.c (scan_one_insn): Update REG_N_REFS when optimizing
handling of two-address insns.
From-SVN: r41925
Alexandre Oliva [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.
* Makefile.in (NM_FOR_TARGET): Look for ./nm, then
../binutils/nm-new instead of ../binutils/nm.
From-SVN: r41924
Jan Hubicka [Wed, 9 May 2001 10:19:00 +0000 (12:19 +0200)]
i386.md (movdi splitter): Fix the splitting condition (float_extenddftf splitter): Fix mode.
* i386.md (movdi splitter): Fix the splitting condition
(float_extenddftf splitter): Fix mode.
From-SVN: r41923
Jan Hubicka [Wed, 9 May 2001 10:06:20 +0000 (12:06 +0200)]
genrecog.c (write_switch): Avoid outputting of switch for types wider than int.
* genrecog.c (write_switch): Avoid outputting of switch for
types wider than int.
From-SVN: r41922
GCC Administrator [Wed, 9 May 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r41921
Benjamin Kosnik [Tue, 8 May 2001 23:53:55 +0000 (23:53 +0000)]
std_cstring.h (memchr): Correct definitions.
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.
From-SVN: r41919
Andrew Haley [Tue, 8 May 2001 14:14:11 +0000 (14:14 +0000)]
reload1.c (copy_eh_notes): New function.
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.
From-SVN: r41918
Alexandre Petit-Bianco [Tue, 8 May 2001 08:11:26 +0000 (01:11 -0700)]
re PR java/2538 (latest gcj no longer compiles apache xerces parser due problems with variable declarations and inner classes)
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 )
From-SVN: r41917
GCC Administrator [Tue, 8 May 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r41914