Commit Graph

68535 Commits

Author SHA1 Message Date
Peter Wainwright de3e06c62c * libgfortran/ChangeLog: Corrected author name.
From-SVN: r100114
2005-05-24 20:46:54 +00:00
Paolo Carlini b95f6a0923 ia64intrin.h: Define nothing for C++: overloaded builtins have been ported to C++.
2005-05-24  Paolo Carlini  <pcarlini@suse.de>

	* config/ia64/ia64intrin.h: Define nothing for C++:
	overloaded builtins have been ported to C++.

From-SVN: r100112
2005-05-24 20:38:40 +00:00
Benjamin Kosnik 9b22c09e3c allocator.h: Change ___glibcxx_base_allocator to __glibcxx_base_allocator.
2005-05-24  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/allocator.h: Change ___glibcxx_base_allocator to
	__glibcxx_base_allocator.
	* config/allocator/bitmap_allocator_base.h: Same.
	* config/allocator/malloc_allocator_base.h: Same.
	* config/allocator/mt_allocator_base.h: Same.
	* config/allocator/new_allocator_base.h: Same.
	* config/allocator/pool_allocator_base.h: Same.

From-SVN: r100111
2005-05-24 20:28:55 +00:00
Jeff Law bde6c65de1 tree-nested.c (build_addr): New "context" argument.
* tree-nested.c (build_addr): New "context" argument.  Temporarily
        set current_function_decl around the call to build the ADDR_EXPR.
        (get_static_chain): Pass proper context to build_addr.
        (convert_nl_goto_reference): Likewise.
        (convert_tramp_reference): Likewise.
        (final_nesting_tree_1): Likewise.
        * tree-profile.c (tree_gen_interval_profiler): Likewise.
        (tree_gen_pow2_profiler): Likewise.
        (tree_gen_one_value_profiler): Likewise.
        * tree-ssa-loop-ivopts.c (build_addr_strip_iref): Likewise.
        * tree.h (build_addr): Update prototype.

From-SVN: r100110
2005-05-24 14:19:13 -06:00
Kazu Hirata 04d0d7500a tree-flow.h (bb_ann_d): Remove has_escape_site.
* tree-flow.h (bb_ann_d): Remove has_escape_site.
	* tree-ssa-alias.c (compute_points_to_addr_escape): Don't
	write to has_escape_site.

From-SVN: r100109
2005-05-24 19:57:52 +00:00
Richard Henderson e0f391dd90 builtins.c (define_builtin): Don't call make_decl_rtl.
* builtins.c (define_builtin): Don't call make_decl_rtl.
        * constants.c (build_constant_data_ref): Likewise.
        * class.c (build_utf8_ref): Likewise.
        (build_fieldref_cache_entry, build_static_field_ref): Likewise.
        (get_dispatch_table, layout_class_method): Likewise.
        (build_class_ref): Likewise. Don't set DECL_SIZE or DECL_SIZE_UNIT
        by hand.
        (make_local_function_alias): Don't SET_DECL_ASSEMBLER_NAME.
        (make_method_value): Use METHOD_ABSTRACT instead of DECL_RTL_SET_P
        to determine if we need a non-zero address.
        * decl.c (builtin_function): Don't call make_decl_rtl.
        (give_name_to_locals): Don't SET_DECL_ASSEMBLER_NAME.
        * expr.c (build_known_method_ref): Don't call make_decl_rtl.
        * resource.c (compile_resource_data): Likewise.
        * parse.y (resolve_field_access): Re-word comment to avoid
        building DECL_RTL.

From-SVN: r100108
2005-05-24 12:22:03 -07:00
Richard Henderson 8cfb12bfd5 class.c (registered_class): Take it out of class_roots; turn into a vec of trees.
* class.c (registered_class): Take it out of class_roots; turn into
        a vec of trees.
        (register_class): Make static.  Don't duplicate decl node.  Use
        VEC_safe_push.
        (emit_register_classes): Use VEC_iterate.  Use output_constant
        instead of assemble_integer.  Don't call mark_decl_referenced
        directly.
        * java-tree.h (register_class): Remove decl.

From-SVN: r100107
2005-05-24 12:18:51 -07:00
Andrew Pinski e777303ff4 re PR c++/21645 (C++ ICE in cxx_types_compatible_p)
2005-05-24  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/21645
        * g++.dg/init/ctor5.C: New test.

2005-05-24  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/21645
        * optimize.c (update_cloned_parm): Copy the TYPE also from the
        original one.

From-SVN: r100106
2005-05-24 12:06:20 -07:00
Jeff Law 9af0df6b3b Makefile.in (tree-cfg.o): Depend on tree-ssa-propagate.h.
* Makefile.in (tree-cfg.o): Depend on tree-ssa-propagate.h.
        * tree-cfg.c: Include tree-ssa-propagate.h.
        (replace_uses_by): Call recompute_tree_invarant_for_addr_expr as
        needed.

From-SVN: r100103
2005-05-24 08:06:04 -06:00
Ira Rosen b348d67cd0 vect-none.c: Split into vect-106.c...
* gcc.dg/vect/vect-none.c: Split into vect-106.c, vect-107.c,
        vect-108.c, vect-109.c, vect-110.c, vect-111.c, vect-112.c,
        vect-113.c, vect-114.c.

From-SVN: r100102
2005-05-24 11:56:58 +00:00
Paolo Carlini 561e7a36e3 [multiple changes]
2005-05-24  Jonathan Wakely  <redi@gcc.gnu.org>

	* include/debug/string (class basic_string): Add missing
	default template arguments; provide typedefs for char
	and wchar_t.
	(operator[]): Allow s[s.size()] in debug mode, but not
	pedantic mode.

2005-05-24  Paolo Carlini  <pcarlini@suse.de>

	Port from libstdcxx_so_7-branch:
	2005-04-25  Christopher Jefferson  <chris@bubblescope.net>

	* include/bits/stl_algo.h (count): Correct concept checks.
	(search_n) : Likewise.
	* testsuite/25_algorithms/search_n/check_type.cc: New.

	* testsuite/testsuite_iterators.h
	(random_access_iterator_wrapper::operator+): Move out of
	class to external function, and add symmetric version.

	2005-03-14  Christopher Jefferson  <chris@bubblescope.net>

	* testsuite/testsuite_iterators.h (WritableObject::WritableObject):
	Add const.

	2005-02-01  Christopher Jefferson  <chris@bubblescope.net>

	* testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
	operator--): Fix typo.
	(OutputContainer::OutputContainer): Correct zeroing array.
	(WritableObject::operator==): Fix typo.
        (WritableObject::operator=): make operator= templated
	to allow differing types to be assigned.
	(WritableObject::operator++): Fix checking if iterator is
	written to multiple times.
	(random_access_iterator_wrapper::operator+): Add const.
	(random_access_iterator_wrapper::operator-): Likewise.
	(random_access_iterator_wrapper::operator[]): Add dereference.

From-SVN: r100101
2005-05-24 10:58:22 +00:00
Nick Clifton 89f9fe50b1 (rs6000_cpu_cpp_builtins): Define __NO_FPRS__ when 'f' class registers will
not be available.

From-SVN: r100097
2005-05-24 09:09:07 +00:00
Kazuhiro Inaoka 0be4693a48 m32r.c (m32r_expand_block_move): Return 0 if nothing was done.
* config/m32r/m32r.c (m32r_expand_block_move):  Return 0 if nothing was done.
* config/m32r/m32r.md (movmemsi):  If m32r_expand_block_move did nothing then FAIL.
* config/m32r/m32r/m32r-protos.h  (m32r_expand_block_move): Update prototype.

From-SVN: r100095
2005-05-24 07:45:24 +00:00
Adam Nemet 37495922d7 * gcc.dg/const-elim-1.c: Remove xfails.
From-SVN: r100093
2005-05-24 05:57:46 +00:00
Jeff Law 6cedb4acda tree-ssa-dom.c (cprop_into_stmt): Do not call recompute_tree_invariant_for_addr_expr here.
* tree-ssa-dom.c (cprop_into_stmt): Do not call
	recompute_tree_invariant_for_addr_expr here.
	(optimize_stmt): Call it here instead and do so if anything
	at all has changed in the statement and the RHS is an ADDR_EXPR.
	* tree-ssa-forwprop.c (tidy_after_forward_propagate_addr): If
	needed, call recompute_tree_invariant_for_addr_expr.
	* tree-ssa-propagate.c (substitute_and_fold): Call
	recompute_tree_invariant_for_addr_expr as needed.


	* gcc.c-torture/compile/pr21638.c: New test.
	* gcc.c-torture/compile/20050520-1.c: New test.

From-SVN: r100092
2005-05-23 20:54:06 -06:00
GCC Administrator 0d14c01130 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r100090.2
2005-05-24 00:16:15 +00:00
Jason Merrill bd16f8f152 tweak comment
From-SVN: r100088
2005-05-23 19:02:53 -04:00
Jonathan Wakely a9563c96b6 debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC had to be defined for pedantic mode in 3.4...
* docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
	had to be defined for pedantic mode in 3.4 and 4.0.0.

From-SVN: r100087
2005-05-23 22:53:46 +01:00
Andreas Krebbel 22a707a497 s390.c (s390_optimize_prologue): Don't replace an insn saving less registers than the replacement.
2005-05-23  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.c (s390_optimize_prologue): Don't replace an insn
	saving less registers than the replacement.

From-SVN: r100081
2005-05-23 16:43:06 +00:00
Jan Hubicka 52f6de6c7b * tree-flow.h (stmt_ann_d): Kill GTY ((skip)) mark on BB.
From-SVN: r100080
2005-05-23 12:37:47 +00:00
Nick Clifton aa3a4a17be 20020720-1.x: Fix m32r target selector to be a proper triple, ie: m32r*-*-*.
* gcc.c-torture/execute/20020720-1.x: Fix m32r target selector to be a proper
    triple, ie: m32r*-*-*.
* g++.old-deja/g++.jason/thunk3.C: Likewise.

From-SVN: r100078
2005-05-23 08:41:57 +00:00
Eric Botcazou bea5071fd0 sparc-protos.h (sparc_expand_move): New prototype.
* config/sparc/sparc-protos.h (sparc_expand_move): New prototype.
	* config/sparc/sparc.c (sparc_expand_move): New function.
	(sparc_emit_set_const64): Rewrite assert condition on entry.
	(legitimate_constant_p) <CONST_VECTOR>: New case.
	(legitimize_pic_address): Use TARGET_ARCH64 to select the mode.
	* config/sparc/sparc.md (movqi, movhi, movsi, movdi, movV32,
	movV64, movtf): Use nonimmediate_operand for the first operand.
	Rewrite.  Only invoke sparc_expand_move.
	* config/sparc/predicates.md (input_operand): Reorder tests.

From-SVN: r100077
2005-05-23 07:09:03 +00:00
Jan Beulich 7c68fabb78 gthr-posix.h (__gthread_recursive_mutex_init_function): Add missing return statement.
gcc/
2005-05-23  Jan Beulich  <jbeulich@novell.com>

	* gthr-posix.h (__gthread_recursive_mutex_init_function): Add
	missing return statement.

From-SVN: r100075
2005-05-23 06:42:19 +00:00
Roger Sayle ec8a19405e * gfortran.texi: Document some more GNU extensions.
From-SVN: r100074
2005-05-23 03:20:19 +00:00
GCC Administrator c5fbb0fc2d Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r100072.2
2005-05-23 00:16:15 +00:00
Francois-Xavier Coudert e88763d1c8 * error.c (gfc_warning): Fix typo in comment.
From-SVN: r100070
2005-05-22 22:12:48 +00:00
Peter Wainwright c220bdaec9 re PR libfortran/21376 (libfortran "E" output format causes FPE)
PR libfortran/21376
	* io/write.c (output_float): Rework logic to avoid call to log10
	with argument equal to zero.

From-SVN: r100068
2005-05-22 21:17:42 +00:00
Danny Smith 8ba8f7e557 re PR bootstrap/21683 (build failure on i386-mingw (sys/wait.h header))
PR target/21683
        * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.

From-SVN: r100066
2005-05-22 17:01:02 +00:00
Eric Botcazou c5d7449889 sparc.c (sparc_emit_float_lib_cmp): Use emit_move_insn for moves to TFmode stack slots.
* config/sparc/sparc.c (sparc_emit_float_lib_cmp): Use
	emit_move_insn for moves to TFmode stack slots.

From-SVN: r100058
2005-05-22 07:34:37 +00:00
Andreas Jaeger 313344b4de mprec.c (mult, [...]): Add parenthesis to avoid warnings.
* java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
	avoid warnings.

From-SVN: r100057
2005-05-22 08:55:21 +02:00
Ziemowit Laski cc7e6e8fbe Give credit, where credit is due.
From-SVN: r100056
2005-05-22 02:41:42 +00:00
GCC Administrator c2f74a01b6 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r100053.2
2005-05-22 00:16:31 +00:00
Gerald Pfeifer 5e2d64839e crontab: Spread snapshot building more evenly throughout the week.
* crontab: Spread snapshot building more evenly throughout the
	week.

From-SVN: r100051
2005-05-21 21:56:24 +00:00
Andrew Pinski e0624990b8 re PR middle-end/21331 (Incorrect folding of comparison)
2004-05-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/21331
        PR tree-opt/21293
        * gcc.c-torture/compile/pr21293.c: New test.
        * gcc.c-torture/execute/pr21331.c: New test.

From-SVN: r100045
2005-05-21 09:57:24 -07:00
Ranjit Mathew c6891dd85c * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
From-SVN: r100044
2005-05-21 13:57:49 +00:00
Richard Guenther bb673b41f0 tree-stdarg.c (execute_optimize_stdarg): Handle references to va_list of the form &va[0].
2005-05-21  Richard Guenther  <rguenth@gcc.gnu.org>

	* tree-stdarg.c (execute_optimize_stdarg): Handle references
	to va_list of the form &va[0].

From-SVN: r100043
2005-05-21 12:35:55 +00:00
Eric Botcazou 69a2d125d6 configure.ac: Check for trunc and truncf in libm.
* configure.ac: Check for trunc and truncf in libm.
	* configure: Regenerate.
	* config.h.in: Likewise.
	* intrinsics/c99_functions.c (trunc, truncf): New functions.
	* c99_protos.h (trunc, truncf): Declare them.

From-SVN: r100040
2005-05-21 06:44:50 +00:00
GCC Administrator 542b52ddb2 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r100038.2
2005-05-21 00:16:30 +00:00
Richard Henderson 69dc01e631 * g++.dg/other/stdarg3.C: Spell "hpux*" correctly.
From-SVN: r100036
2005-05-20 16:52:46 -07:00
Ziemowit Laski 210f12a769 Give credit, where credit is due.
From-SVN: r100035
2005-05-20 23:42:07 +00:00
Mike Stump 29075100bc obj-c++-dg.exp: Add.
* obj-c++-dg.exp: Add.
        * obj-c++.exp: Add.
        * obj-c++.dg/dg.exp: Add.

From-SVN: r100031
2005-05-20 22:14:16 +00:00
Jan Hubicka c15fed7643 Makefile.in (insn-emit.o): Add basic-block.h dependency.
* Makefile.in (insn-emit.o): Add basic-block.h dependency.
	* genemit.c (main): Make insn-emit to include basic-block.h too.

From-SVN: r100028
2005-05-20 21:17:48 +00:00
Jan Beulich 0d25c320b9 stubs.c: Also implement fabsf/fabsl if not present in the system libraries.
libstdc++-v3/
2005-05-20  Jan Beulich  <jbeulich@novell.com>

	* libmath/stubs.c: Also implement fabsf/fabsl if not present in the
	system libraries.

From-SVN: r100013
2005-05-20 14:00:06 +00:00
Paolo Carlini a809005264 stl_algo.h (__rotate<_RandomAccessIterator>): Don't qualify __tmp as const, _ValueType is not necessarily Assignable.
2005-05-20  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
	Don't qualify __tmp as const, _ValueType is not necessarily
	Assignable.
	* include/bits/stl_algobase.h (swap, __iter_swap<false>):
	Likewise, as an harmless extension.

From-SVN: r100011
2005-05-20 08:58:23 +00:00
Nick Clifton 527abb7a71 thunk3.C: XFAIL on m32r*-*.
* g++.old-deja/g++.jason/thunk3.C: XFAIL on m32r*-*.
	* gcc.c-torture/execute/20020720-1.x: Add xfail for m32r*-*.
	* gcc.c-torture/execute/20020720-1.x: Add xfail for avr-*-*.

From-SVN: r100010
2005-05-20 08:25:49 +00:00
Jan Hubicka 776b966eb0 * cgraphunit.c (cgraph_expand_function): Force function being lowered.
From-SVN: r100009
2005-05-20 08:05:07 +00:00
Paolo Bonzini bcb28cf506 Makefile.def (configure-gcc): Depend on binutils having been built.
2005-05-20  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.def (configure-gcc): Depend on binutils having been built.
	(all-gcc): No need to do it here.
	* Makefile.in: Regenerate.

From-SVN: r100007
2005-05-20 07:10:30 +00:00
Richard Henderson e4d4cf569d * g++.dg/other/stdarg3.C: Only use -mlp64 for hpux.
From-SVN: r100006
2005-05-19 22:00:29 -07:00
Richard Henderson b686c48cd8 alpha.c (emit_unlikely_jump, [...]): Split out from ...
* config/alpha/alpha.c (emit_unlikely_jump, emit_load_locked,
        emit_store_conditional): Split out from ...
        (alpha_split_atomic_op): ... here.
        (alpha_split_compare_and_swap): New; extract from .md file.
        (alpha_split_lock_test_and_set): Likewise.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/sync.md (sync_compare_and_swap<I48MODE>): Move
        split code into alpha.c.
        (sync_lock_test_and_set<I48MODE>): Likewise.

From-SVN: r100005
2005-05-19 19:38:56 -07:00
Richard Henderson ce88799c37 * exception.cc: Revert 05-17 gcc_unreachable change.
From-SVN: r100004
2005-05-19 18:28:35 -07:00