Commit Graph

45324 Commits

Author SHA1 Message Date
Paolo Carlini
b1af5a30a5 locale_facets.tcc (num_put::_M_widen_int): Deal correctly with grouped, showbased (oct or hex) zero.
2002-09-27  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/locale_facets.tcc (num_put::_M_widen_int):
	Deal correctly with grouped, showbased (oct or hex) zero.
	* testsuite/22_locale/num_put_members_char.cc: Add test05.
	* testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.

From-SVN: r57598
2002-09-27 23:08:22 +00:00
Richard Henderson
2a5de0f14b Fix comment typo.
From-SVN: r57597
2002-09-27 15:59:29 -07:00
Richard Henderson
5d0f3df7fd unroll.c (simplify_cmp_and_jump_insns): New.
* unroll.c (simplify_cmp_and_jump_insns): New.
	(unroll_loop): Use it.  Use simplify_gen_foo+force_operand
	instead of expand_simple_foo.

From-SVN: r57596
2002-09-27 15:41:07 -07:00
Richard Henderson
d3d09886b3 std_limits.h (numeric_limits<T>::is_iec559): False if denormals are not supported.
* include/std/std_limits.h (numeric_limits<T>::is_iec559): False
        if denormals are not supported.

From-SVN: r57595
2002-09-27 15:39:28 -07:00
Richard Henderson
f2d208028d * config/os/hpux/cpu_limits.h: Remove.
From-SVN: r57594
2002-09-27 15:39:08 -07:00
Richard Henderson
3dfda826c4 re PR rtl-optimization/7520 (internal compiler error in verify_local_live_at_start)
PR optimization/7520
        * cfganal.c (flow_active_insn_p): New.
        (forwarder_block_p): Use it.

From-SVN: r57593
2002-09-27 14:39:11 -07:00
Ulrich Weigand
10a197ee7c gcconfig: Add machine type S390.
* include/private/gcconfig: Add machine type S390.  Add s390x support.
	* include/private/gc_locks.h (GC_test_and_set): Implement for s390.
	(GC_compare_and_exchange): Likewise.

From-SVN: r57592
2002-09-27 20:40:06 +00:00
Andrew Haley
fc5295fa6a expr.c (build_java_array_length_access): Check for null pointer.
2002-09-26  Andrew Haley  <aph@redhat.com>

	* expr.c (build_java_array_length_access): Check for null pointer.
	* expr.c (expand_java_arrayload): Likewise.

From-SVN: r57591
2002-09-27 18:27:44 +00:00
Richard Henderson
23b8ba8182 * emit-rtl.c (active_insn_p): Revert last change.
From-SVN: r57590
2002-09-27 09:17:33 -07:00
Bo Thorsen
0b0f416385 ffi.h.in: Fix multilib x86-64 support.
2002-09-27  Bo Thorsen  <bo@suse.de>

        * include/ffi.h.in: Fix multilib x86-64 support.

From-SVN: r57589
2002-09-27 16:37:23 +02:00
Jakub Jelinek
dce81a1a59 extend.texi (tls_model): Document.
* doc/extend.texi (tls_model): Document.
	* varasm.c (decl_tls_model): New.
	* c-common.c (handle_tls_model_attribute): New.
	(c_common_attribute_table): Add tls_model.
	* config/alpha/alpha.c (alpha_encode_section_info): Use
	decl_tls_model.
	* flags.h (enum tls_model, flag_tls_default): Move...
	* tree.h (enum tls_model, flag_tls_default): ...here.
	(decl_tls_model): New prototype.
	* config/ia64/ia64.c (ia64_encode_section_info): Likewise.
	* config/i386/i386.c (ix86_encode_section_info): Likewise.
	* config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
	Allow !flag_pic.

From-SVN: r57588
2002-09-27 15:30:10 +02:00
Kazu Hirata
0e9e1e0a42 LANGUAGES: Follow spelling conventions.
* LANGUAGES: Follow spelling conventions.
	* rtl.def: Likewise.
	* sbitmap.c: Likewise.
	* sched-int.h: Likewise.
	* sched-rgn.c: Likewise.
	* sibcall.c: Likewise.
	* simplify-rtx.c: Likewise.
	* ssa.c: Likewise.
	* stab.def: Likewise.
	* stmt.c: Likewise.
	* stor-layout.c: Likewise.
	* target.h: Likewise.
	* timevar.c: Likewise.
	* toplev.c: Likewise.
	* tree-dump.c: Likewise.
	* tree-inline.c: Likewise.
	* tree.c: Likewise.
	* tree.def: Likewise.
	* tree.h: Likewise.
	* unroll.c: Likewise.
	* varasm.c: Likewise.
	* vmsdbgout.c: Likewise.
	* treelang/treelang.texi: Likewise.
	* treelang/treetree.c: Likewise.

From-SVN: r57587
2002-09-27 12:48:07 +00:00
Kazu Hirata
b9b575e6b5 h8300.c (compute_saved_regs): Use a macro instead of a hard register number.
* config/h8300/h8300.c (compute_saved_regs): Use a macro
	instead of a hard register number.
	(get_shift_alg): Use an enumerated type instead of numbers.
	(h8300_shift_needs_scratch_p): Likewise.

From-SVN: r57586
2002-09-27 12:37:15 +00:00
GCC Administrator
87b8359e65 Daily bump.
From-SVN: r57585
2002-09-27 07:18:01 +00:00
David S. Miller
6b1ef791cc trunctfdf.c: New.
2002-09-26  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/compile/trunctfdf.c: New.

From-SVN: r57577
2002-09-26 21:14:12 -07:00
David S. Miller
99a3256796 re PR rtl-optimization/7335 (Sparc: ICE in verify_wide_reg (flow.c:557) with long double and optimization)
2002-09-26  David S. Miller  <davem@redhat.com>

	PR optimization/7335
	* calls.c (emit_library_call_value_1): Passing args by reference
	converts a CONST function into a PURE one.

From-SVN: r57576
2002-09-26 21:12:51 -07:00
David Edelsohn
67cef334cc dbxout.c (FORCE_TEXT): Switch to current_function_decl, not text_section.
2002-09-26  David Edelsohn  <edelsohn@gnu.org>

        * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
        text_section.
        * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
        text section.
        * config/rs6000/rs6000.c (rs6000_override_options): Allow
        function-sections and data-sections functionality on AIX.

2002-09-26  David Edelsohn  <edelsohn@gnu.org>
            Dale Johannesen  <dalej@apple.com>

        * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
        in RTL for sub-word loads from memory.

Co-Authored-By: Dale Johannesen <dalej@apple.com>

From-SVN: r57572
2002-09-26 23:08:38 -04:00
Kaveh R. Ghazi
fa4211cb73 * lib/target-supports.exp (check_weak_available): Handle solaris2.
From-SVN: r57571
2002-09-27 02:14:12 +00:00
Richard Henderson
c2310f5124 sched-deps.c (sched_analyze_insn): Make clobber insns depend on call insns.
* sched-deps.c (sched_analyze_insn): Make clobber insns depend
        on call insns.
	* gcc.c-torture/compile/20020926-1.c: New.

From-SVN: r57566
2002-09-26 18:07:52 -07:00
Richard Henderson
7847d6279e * emit-rtl.c (const_double_htab_eq): Remove unused variable.
From-SVN: r57565
2002-09-26 17:51:58 -07:00
Chris Lattner
cde0ce6e71 ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when handling undefined values.
* ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
        handling undefined values.

From-SVN: r57564
2002-09-26 17:50:50 -07:00
Richard Henderson
5fd452e8de Mark PR.
From-SVN: r57562
2002-09-26 17:28:54 -07:00
Richard Henderson
03a626729b emit-rtl.c (active_insn_p): Consider a clobber of the function return value to be active even after reload.
* emit-rtl.c (active_insn_p): Consider a clobber of the
        function return value to be active even after reload.

From-SVN: r57561
2002-09-26 17:28:20 -07:00
Alan Modra
a7215b3224 * gcc.c-torture/execute/loop-15.c: New.
From-SVN: r57557
2002-09-27 08:35:57 +09:30
Alan Modra
b5a77fef8c doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust by absolute loop increment, not loop increment.
* doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
	by absolute loop increment, not loop increment.

From-SVN: r57556
2002-09-27 08:31:31 +09:30
Kazu Hirata
40f0365880 c-common.h: Follow spelling conventions.
* c-common.h: Follow spelling conventions.
	* cpplex.c: Likewise.
	* cpplib.h: Likewise.
	* gthr-dce.h: Likewise.
	* gthr-posix.h: Likewise.
	* optabs.c: Likewise.
	* output.h: Likewise.
	* profile.c: Likewise.
	* protoize.c: Likewise.
	* ra-rewrite.c: Likewise.
	* real.c: Likewise.
	* recog.c: Likewise.
	* reg-stack.c: Likewise.
	* regclass.c: Likewise.
	* regmove.c: Likewise.
	* reload.c: Likewise.
	* reload.h: Likewise.
	* reload1.c: Likewise.
	* reorg.c: Likewise.
	* resource.c: Likewise.
	* rtl.h: Likewise.
	* rtlanal.c: Likewise.

From-SVN: r57555
2002-09-26 22:25:14 +00:00
Steve Ellcey
ee8a73d6e7 ia64.c (ia64_expand_load_address): Ensure correct mode for symbol address.
* config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
	for symbol address.

From-SVN: r57554
2002-09-26 21:50:42 +00:00
Eric Christopher
2eb2bbdc29 elf.h: Add HANDLE_SYSV_PRAGMA.
2002-09-24  Eric Christopher  <echristo@redhat.com>

        * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
        * config/mips/elf64.h: Ditto.

From-SVN: r57553
2002-09-26 21:42:52 +00:00
Eric Christopher
0ab3841807 except.c (expand_builtin_extract_return_address): Handle case where Pmode != ptr_mode.
2002-09-24  Eric Christopher  <echristo@redhat.com>

        * except.c (expand_builtin_extract_return_address): Handle case
	where Pmode != ptr_mode.

From-SVN: r57552
2002-09-26 21:39:14 +00:00
Steve Ellcey
68bb91b1e0 * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
From-SVN: r57551
2002-09-26 21:34:46 +00:00
Steve Ellcey
5429802d9f * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
From-SVN: r57550
2002-09-26 21:30:17 +00:00
Igor Shevlyakov
855c3a2e32 combine.c (simplify_set): Don't call to force_to_mode if size of integer type is larger than...
* combine.c (simplify_set): Don't call to force_to_mode if size
        of integer type is larger than HOST_BITS_PER_WIDE_INT.

From-SVN: r57549
2002-09-26 14:15:26 -07:00
Janis Johnson
d57f8a7152 README.QMTEST: Fix typo.
2002-09-26  Janis Johnson  <janis187@us.ibm.com>

	* README.QMTEST: Fix typo.

From-SVN: r57548
2002-09-26 19:49:48 +00:00
Janis Johnson
2d556baf13 Makefile.in (qmtest-g++): Fix file name.
2002-09-26  Janis Johnson  <janis187@us.ibm.com>

	* Makefile.in (qmtest-g++): Fix file name.

From-SVN: r57547
2002-09-26 19:29:29 +00:00
Ulrich Weigand
b784617e85 * gcc.dg/20020926-1.c: New test.
From-SVN: r57544
2002-09-26 18:26:08 +00:00
Ulrich Weigand
1717e19e2f expr.c (expand_expr): Convert A - const to A + (-const) on RTX level, even for unsigned types.
* expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
	A + (-const) on RTX level, even for unsigned types.

From-SVN: r57543
2002-09-26 18:23:55 +00:00
Ulrich Weigand
6cabe79eab reload.c (dup_replacements): New function.
* reload.c (dup_replacements): New function.
	(find_reloads): Use it to duplicate replacements at the top level
	of match_dup operands.

From-SVN: r57542
2002-09-26 18:21:10 +00:00
Miles Bader
0855247a1c * v850.md ("length"): Change default value to 4.
From-SVN: r57541
2002-09-26 10:55:30 -06:00
Kazu Hirata
6335b0aac3 ChangeLog.1: Follow spelling conventions.
* ChangeLog.1: Follow spelling conventions.
	* ChangeLog.4: Likewise.
	* ChangeLog.6: Likewise.
	* FSFChangeLog.11: Likewise.
	* doc/cpp.texi: Likewise.
	* doc/invoke.texi: Likewise.
	* doc/tm.texi: Likewise.

From-SVN: r57539
2002-09-26 12:29:45 +00:00
Nick Clifton
09818236a2 Add x prefix to v850e case for handling --with-cpu=v850e.
From-SVN: r57538
2002-09-26 10:42:04 +00:00
David S. Miller
8a3996fd32 re PR target/7842 ([REGRESSION] sparc code gen bug)
2002-09-25  David S. Miller  <davem@redhat.com>

	PR target/7842
	* config/sparc/sparc.c (set_extends): SImode ASHIFT does not
	extend.

From-SVN: r57534
2002-09-26 03:18:05 -07:00
David S. Miller
065fa8a136 re PR target/7842 ([REGRESSION] sparc code gen bug)
2002-09-25  David S. Miller  <davem@redhat.com>

	PR target/7842
	* gcc.c-torture/execute/shiftdi.c: New test.

From-SVN: r57533
2002-09-26 03:16:44 -07:00
Richard Earnshaw
1c88948f1b gcc.exp (gcc_init): Use a filename for the testglue that is unique to the tool.
* lib/gcc.exp (gcc_init): Use a filename for the testglue that is
unique to the tool.
* lib/g77.exp (g77_init): Likewise.
* lib/g++.exp (g++_init): Likewise.
* lib/objc.exp (objc_init): Likewise.

From-SVN: r57532
2002-09-26 09:51:45 +00:00
GCC Administrator
a84dfda426 Daily bump.
From-SVN: r57531
2002-09-26 07:17:13 +00:00
Benjamin Kosnik
ca017eef3a Makefile.am (target_headers): Remove cpu_limits.h.
2002-09-25  Benjamin Kosnik  <bkoz@redhat.com>

	* include/Makefile.am (target_headers): Remove cpu_limits.h.
	* include/Makefile.in: Regenerate.
	* configure.in (CPU_LIMITS_INC_SRCDIR): Remove
	* configure: Regenerate.
	* configure.target (CPULIMITS): Remove.

	* include/std/std_limits.h: Remove cpu_limits.h include.

	* config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
	Remove.
	* config/os/irix/irix6.5/os_defines.h
	(__glibcpp_long_double_bits): Remove.
	(__glibcpp_wchar_t_bits): Remove.
	(__glibcpp_long_bits): Remove.
	* config/os/irix/irix5.2/os_defines.h
	(__glibcpp_long_double_bits): Remove.
	(__glibcpp_long_bits): Remove.
	* config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
	* config/os/bsd/freebsd/os_defines.h:
	(__glibcpp_long_double_bits): Remove.
	* config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
	(__glibcpp_wchar_t_is_signed): Remove.
	(__glibcpp_long_bits): Remove.
	* config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
	(__glibcpp_long_double_bits): Remove.

	* config/os/osf/osf5.0/cpu_limits.h: Remove.
	* config/cpu/alpha/cpu_limits.h: Remove.
	* config/cpu/arm/cpu_limits.h: Remove.
	* config/cpu/cris/cpu_limits.h: Remove.
	* config/cpu/generic/cpu_limits.h: Remove.
	* config/cpu/generic/limits.h: Remove.
	* config/cpu/ia64/cpu_limits.h: Remove.
	* config/cpu/m68k/cpu_limits.h: Remove.
	* config/cpu/mmix/cpu_limits.h: Remove.
	* config/cpu/powerpc/cpu_limits.h: Remove.
	* config/cpu/S390/cpu_limits.h: Remove.

From-SVN: r57524
2002-09-26 05:25:14 +00:00
Devang Patel
9ced0328fb Move C++ specific ChangeLog entry for "cp_binding_level reorg" patch
from Changelog into cp/Changelog

From-SVN: r57523
2002-09-25 21:36:40 -07:00
Nathanael Nerode
0dffceed44 Makefile.tpl: Make subsituted variables more autoconfy.
2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.tpl: Make subsituted variables more autoconfy.
	* Makefile.in: Regenerate.
	* configure: Make seds more autoconfy.

From-SVN: r57522
2002-09-26 04:14:02 +00:00
Richard Henderson
8580f7a029 emit-rtl.c (const_double_htab_eq): Distinguish integer and fp CONST_DOUBLE; use real_identical.
* emit-rtl.c (const_double_htab_eq): Distinguish integer and
        fp CONST_DOUBLE; use real_identical.

From-SVN: r57520
2002-09-25 16:20:42 -07:00
Jesse Rosenstock
8dc24041f7 re PR libgcj/7786 (TimeZone.getDSTSavings() from JDK1.4 not implemented)
2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>

	* java/util/TimeZone.java (getDSTSavings): New method.
	Fixes PR libgcj/7786.

From-SVN: r57518
2002-09-25 21:10:21 +00:00
Jesse Rosenstock
8848a766bc re PR libgcj/7709 (NullPointerException in _Jv_ResolvePoolEntry)
2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>

	* resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
	to see if `the_method == 0' before looking up vtable index.
	Fixes PR libgcj/7709.

From-SVN: r57517
2002-09-25 21:02:32 +00:00