Skip to content
Snippets Groups Projects
  1. Jan 04, 2006
    • Paolo Carlini's avatar
      sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class. · f7ace77f
      Paolo Carlini authored
      2006-01-04  Paolo Carlini  <pcarlini@suse.de>
      
              * include/ext/sso_string_base.h (__sso_string_base<>::_M_dataplus):
              Use _CharT_alloc_type as base class.
              (_M_get_allocator, _M_swap, _M_create, _M_destroy): Adjust.
              * include/ext/vstring.h (get_allocator): Tidy.
      
      2006-01-04  Paolo Carlini  <pcarlini@suse.de>
      
      	Implement Option 3 of DR 431 for all the containers.
      	* include/bits/allocator.h (struct __alloc_swap): Add, swaps
      	allocators, optimized to nothing in case they are empty.
      	* include/bits/stl_deque.h (deque<>::swap): Use it.
      	* include/bits/stl_list.h (list<>::swap): Likewise.
      	* include/bits/stl_tree.h (_Rb_tree<>::swap): Likewise.
      	* include/bits/stl_vector.h (vector<>::swap): Likewise.
      	* include/tr1/hashtable (hashtable<>::swap): Likewise.
      	* include/ext/rc_string_base.h (__rc_string_base<>::_M_swap):
      	Likewise.
      	* include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
      	Likewise.
      	* include/ext/vstring_util.h (__vstring_utility<>::_Alloc_hider):
      	Clean-up (now vstring uses the generic __alloc_swap facility).
      	* include/tr1/unordered_map: Adjust includes.
      	* include/tr1/unordered_set: Likewise.
      	* docs/html/ext/howto.html: Add an entry for DR 431.
      	* testsuite/23_containers/deque/modifiers/swap.cc: Move to...
      	* testsuite/23_containers/deque/modifiers/swap/1.cc: ... here.		
      	* testsuite/23_containers/deque/modifiers/swap/2.cc: New.
      	* testsuite/23_containers/deque/modifiers/swap/3.cc: New.
      	* testsuite/23_containers/list/modifiers/swap.cc: Move to...
      	* testsuite/23_containers/list/modifiers/swap/1.cc: ... here.		
      	* testsuite/23_containers/list/modifiers/swap/2.cc: New.
      	* testsuite/23_containers/list/modifiers/swap/3.cc: New.
      	* testsuite/23_containers/vector/modifiers/swap.cc: Move to...
      	* testsuite/23_containers/vector/modifiers/swap/1.cc: ... here.		
      	* testsuite/23_containers/vector/modifiers/swap/2.cc: New.
      	* testsuite/23_containers/vector/modifiers/swap/3.cc: New.
      	* testsuite/23_containers/set/modifiers/swap.cc: Move to...
      	* testsuite/23_containers/set/modifiers/swap/1.cc: ... here.		
      	* testsuite/23_containers/set/modifiers/swap/2.cc: New.
      	* testsuite/23_containers/set/modifiers/swap/3.cc: New.
      	* testsuite/23_containers/map/modifiers/swap.cc: Move to...
      	* testsuite/23_containers/map/modifiers/swap/1.cc: ... here.		
      	* testsuite/23_containers/map/modifiers/swap/2.cc: New.
      	* testsuite/23_containers/map/modifiers/swap/3.cc: New.
      	* testsuite/23_containers/multiset/modifiers/swap.cc: Move to...
      	* testsuite/23_containers/multiset/modifiers/swap/1.cc: ... here.		
      	* testsuite/23_containers/multiset/modifiers/swap/2.cc: New.
      	* testsuite/23_containers/multiset/modifiers/swap/3.cc: New.
      	* testsuite/23_containers/multimap/modifiers/swap.cc: Move to...
      	* testsuite/23_containers/multimap/modifiers/swap/1.cc: ... here.		
      	* testsuite/23_containers/multimap/modifiers/swap/2.cc: New.
      	* testsuite/23_containers/multimap/modifiers/swap/3.cc: New.
      	* testsuite/tr1/6_containers/unordered/swap/unordered_set/1.cc: New.	
      	* testsuite/tr1/6_containers/unordered/swap/unordered_set/2.cc: New.
      	* testsuite/tr1/6_containers/unordered/swap/unordered_map/1.cc: New.	
      	* testsuite/tr1/6_containers/unordered/swap/unordered_map/2.cc: New.
      	* testsuite/tr1/6_containers/unordered/swap/unordered_multiset/1.cc: New.	
      	* testsuite/tr1/6_containers/unordered/swap/unordered_multiset/2.cc: New.
      	* testsuite/tr1/6_containers/unordered/swap/unordered_multimap/1.cc: New.	
      	* testsuite/tr1/6_containers/unordered/swap/unordered_multimap/2.cc: New.
      
      From-SVN: r109324
      f7ace77f
    • Paolo Carlini's avatar
      sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class. · db5d99e8
      Paolo Carlini authored
      2006-01-04  Paolo Carlini  <pcarlini@suse.de>
      
              * include/ext/sso_string_base.h (__sso_string_base<>::_M_dataplus):
              Use _CharT_alloc_type as base class.
              (_M_get_allocator, _M_swap, _M_create, _M_destroy): Adjust.
              * include/ext/vstring.h (get_allocator): Tidy.
      
      2006-01-04  Paolo Carlini  <pcarlini@suse.de>
      
      	Implement Option 3 of DR 431 for all the containers.
      	* include/bits/allocator.h (struct __alloc_swap): Add, swaps
      	allocators, optimized to nothing in case they are empty.
      	* include/bits/stl_deque.h (deque<>::swap): Use it.
      	* include/bits/stl_list.h (list<>::swap): Likewise.
      	* include/bits/stl_tree.h (_Rb_tree<>::swap): Likewise.
      	* include/bits/stl_vector.h (vector<>::swap): Likewise.
      	* include/tr1/hashtable (hashtable<>::swap): Likewise.
      	* include/ext/rc_string_base.h (__rc_string_base<>::_M_swap):
      	Likewise.
      	* include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
      	Likewise.
      	* include/ext/vstring_util.h (__vstring_utility<>::_Alloc_hider):
      	Clean-up (now vstring uses the generic __alloc_swap facility).
      	* include/tr1/unordered_map: Adjust includes.
      	* include/tr1/unordered_set: Likewise.
      	* docs/html/ext/howto.html: Add an entry for DR 431.
      	* testsuite/23_containers/deque/modifiers/swap.cc: Move to...
      	* testsuite/23_containers/deque/modifiers/swap/1.cc: ... here.		
      	* testsuite/23_containers/deque/modifiers/swap/2.cc: New.
      	* testsuite/23_containers/deque/modifiers/swap/3.cc: New.
      	* testsuite/23_containers/list/modifiers/swap.cc: Move to...
      	* testsuite/23_containers/list/modifiers/swap/1.cc: ... here.		
      	* testsuite/23_containers/list/modifiers/swap/2.cc: New.
      	* testsuite/23_containers/list/modifiers/swap/3.cc: New.
      	* testsuite/23_containers/vector/modifiers/swap.cc: Move to...
      	* testsuite/23_containers/vector/modifiers/swap/1.cc: ... here.		
      	* testsuite/23_containers/vector/modifiers/swap/2.cc: New.
      	* testsuite/23_containers/vector/modifiers/swap/3.cc: New.
      	* testsuite/23_containers/set/modifiers/swap.cc: Move to...
      	* testsuite/23_containers/set/modifiers/swap/1.cc: ... here.		
      	* testsuite/23_containers/set/modifiers/swap/2.cc: New.
      	* testsuite/23_containers/set/modifiers/swap/3.cc: New.
      	* testsuite/23_containers/map/modifiers/swap.cc: Move to...
      	* testsuite/23_containers/map/modifiers/swap/1.cc: ... here.		
      	* testsuite/23_containers/map/modifiers/swap/2.cc: New.
      	* testsuite/23_containers/map/modifiers/swap/3.cc: New.
      	* testsuite/23_containers/multiset/modifiers/swap.cc: Move to...
      	* testsuite/23_containers/multiset/modifiers/swap/1.cc: ... here.		
      	* testsuite/23_containers/multiset/modifiers/swap/2.cc: New.
      	* testsuite/23_containers/multiset/modifiers/swap/3.cc: New.
      	* testsuite/23_containers/multimap/modifiers/swap.cc: Move to...
      	* testsuite/23_containers/multimap/modifiers/swap/1.cc: ... here.		
      	* testsuite/23_containers/multimap/modifiers/swap/2.cc: New.
      	* testsuite/23_containers/multimap/modifiers/swap/3.cc: New.
      	* testsuite/tr1/6_containers/unordered/swap/unordered_set/1.cc: New.	
      	* testsuite/tr1/6_containers/unordered/swap/unordered_set/2.cc: New.
      	* testsuite/tr1/6_containers/unordered/swap/unordered_map/1.cc: New.	
      	* testsuite/tr1/6_containers/unordered/swap/unordered_map/2.cc: New.
      	* testsuite/tr1/6_containers/unordered/swap/unordered_multiset/1.cc: New.	
      	* testsuite/tr1/6_containers/unordered/swap/unordered_multiset/2.cc: New.
      	* testsuite/tr1/6_containers/unordered/swap/unordered_multimap/1.cc: New.	
      	* testsuite/tr1/6_containers/unordered/swap/unordered_multimap/2.cc: New.
      
      From-SVN: r109323
      db5d99e8
    • Jakub Jelinek's avatar
      pmm_malloc.h (posix_memalign): If __cplusplus, make the prototype extern "C" and add throw (). · 1f0e2ace
      Jakub Jelinek authored
      	* config/i386/pmm_malloc.h (posix_memalign): If __cplusplus,
      	make the prototype extern "C" and add throw ().
      
      	* g++.dg/other/i386-2.C: New test.
      
      From-SVN: r109318
      1f0e2ace
    • Jakub Jelinek's avatar
      re PR target/25554 (unrecognizable insn on x86_64 with -O2 -ftracer (... · d90ee6be
      Jakub Jelinek authored
      re PR target/25554 (unrecognizable insn on x86_64 with -O2 -ftracer ( -fno-tree-dominator-opts on the mainline))
      
      	PR target/25554
      	* config/i386/i386.md (testqi_ext_3): Ensure len is positive
      	and pos non-negative and pos + len <= 32.
      	(testqi_ext_3_rex64): Ensure len is positive and pos non-negative,
      	drop pos + len < HOST_BITS_PER_WIDE_INT test.
      	(testqi_ext_3* splitter): Handle pos + len == HOST_BITS_PER_WIDE_INT.
      
      	* gcc.c-torture/compile/20051228-1.c: New test.
      
      From-SVN: r109317
      d90ee6be
    • Jakub Jelinek's avatar
      re PR c/25559 (Internal compiler error when specifying vector_size(2) of int) · ee8960e5
      Jakub Jelinek authored
      	PR c/25559
      	* c-common.c (handle_vector_size_attribute): Reject zero vector size
      	as well as sizes not multiple of component size.
      
      	* gcc.dg/pr25559.c: New test.
      
      From-SVN: r109316
      ee8960e5
    • Jakub Jelinek's avatar
      re PR debug/25562 (cannot debug VLA local) · 434eba35
      Jakub Jelinek authored
      	PR debug/25562
      	* function.c (instantiate_expr): New function.
      	(instantiate_decls_1, instantiate_decls): If DECL_HAS_VALUE_EXPR_P,
      	walk its DECL_VALUE_EXPR with instantiate_expr.
      
      	* dwarf2out.c (loc_descriptor_from_tree_1): Don't add
      	DW_OP_deref{,_size} if address isn't going to be added.
      
      From-SVN: r109315
      434eba35
    • Ben Elliston's avatar
      fp-bit.h: Use top-of-file comment from libgcc2.c. · 9c3b204a
      Ben Elliston authored
      	* config/fp-bit.h: Use top-of-file comment from libgcc2.c.
      	* config/fp-bit.c: Likewise.
      
      From-SVN: r109309
      9c3b204a
    • Daniel Berlin's avatar
      dominance.c: Add comment about why we use DFS numbering of dominance tree. · b629276a
      Daniel Berlin authored
      2006-01-03  Daniel Berlin  <dberlin@dberlin.org>
      
      	* dominance.c: Add comment about why we use DFS numbering
      	of dominance tree.
      
      From-SVN: r109308
      b629276a
    • Mark Mitchell's avatar
      re PR c++/25492 (friend class nested in derived class problem) · 862e1e62
      Mark Mitchell authored
      	PR c++/25492
      	* name-lookup.c (push_class_level_binding): When a derived class
      	provides a type binding, eliminate any type binding from a base
      	class. 
      	PR c++/25625
      	* repo.c (repo_emit_p): Always instantiate static data members
      	initialized by constant expressions, so that there values are
      	available.
      	PR c++/25492
      	* g++.dg/lookup/friend9.C: New test.
      	PR c++/25625
      	* g++.dg/template/repo5.C: New test.
      
      From-SVN: r109307
      862e1e62
    • GCC Administrator's avatar
      Daily bump. · 8f9f2d0f
      GCC Administrator authored
      From-SVN: r109301
      8f9f2d0f
  2. Jan 03, 2006
    • David Daney's avatar
      PR libgcj/9715, PR libgcj/19132: · 8ceb88d4
      David Daney authored
      
      	* java/nio/charset/Charset.java (charsetForName): Try default
      	provider first.
      	(availableCharsets): Re-merged.
      	(providers2): Likewise.
      	(defaultCharset): Likewise.
      	* sources.am, Makefile.in: Rebuilt.
      	* gnu/java/nio/charset/Provider.java: Removed.
      	* java/io/OutputStreamWriter.java
      	(OutputStreamWriter(OutputStream,Charset)): New constructor.
      	(OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
      	* java/io/InputStreamReader.java
      	(InputStreamReader(InputStream,CharsetDecoder)): New constructor.
      	(InputStreamReader(InputStream,Charset)): Likewise.
      	* gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
      	BytesToCharsetAdaptor.
      	* gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
      	CharsetToBytesAdaptor.
      	* gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
      	* gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
      	* mauve-libgcj: Remove getEncoding exclusion.
      
      Co-Authored-By: default avatarTom Tromey <tromey@redhat.com>
      
      From-SVN: r109294
      8ceb88d4
    • Ben Elliston's avatar
      * MAINTAINERS (libdecnumber): Add myself. · 368872c3
      Ben Elliston authored
      From-SVN: r109293
      368872c3
    • Steven G. Kargl's avatar
      re PR fortran/25101 ([4.1] Zero stride allowed in FORALL:s) · 1c54741a
      Steven G. Kargl authored
      2006-01-03  Steven G. Kargl  <kargls@comcast.net>
      
      	PR fortran/25101
      	* resolve.c (resolve_forall_iterators):  Check for scalar variables;
      	Check stride is nonzero.
      
      	* gfortran.dg/forall_2.f90:  New test.
      
      From-SVN: r109288
      1c54741a
    • Hans-Peter Nilsson's avatar
      Correct last commit · 6b2acaad
      Hans-Peter Nilsson authored
      From-SVN: r109287
      6b2acaad
    • Hans-Peter Nilsson's avatar
      thunk3.C, thunk4.C: Gate on dg-require-weak. · 103ac222
      Hans-Peter Nilsson authored
      	* g++.dg/abi/thunk3.C, g++.dg/abi/thunk4.C: Gate on
      	dg-require-weak.  Adjust regexp to handle leading-underscore
      	targets, NO_DOT_IN_LABEL targets and space as well as TAB after
      	.weak.
      
      From-SVN: r109286
      103ac222
    • Jakub Jelinek's avatar
      varasm.c (assemble_variable): Handle thread-local COMMON data. · a13e882c
      Jakub Jelinek authored
      
              * varasm.c (assemble_variable): Handle thread-local COMMON data.
              * defaults.h (ASM_OUTPUT_TLS_COMMON): Define.
      
      Co-Authored-By: default avatarRichard Henderson <rth@redhat.com>
      
      From-SVN: r109282
      a13e882c
    • Paolo Bonzini's avatar
      re PR rtl-optimization/25578 (gfortran version 4.2.0 20051227 - 144 new... · 13991abb
      Paolo Bonzini authored
      re PR rtl-optimization/25578 (gfortran  version 4.2.0 20051227 - 144 new testsuite failures since 2005121)
      
      gcc:
      2006-01-03  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR rtl-optimization/25578
      	* combine.c (combine_simplify_rtx, force_to_mode): Don't
      	pass a parameter to simplify_shift_const if changing ASHIFTRT
      	to LSHIFTRT.
      
      gcc/testsuite:
      2006-01-03  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR rtl-optimization/25578
      	* gcc.c-torture/execute/20060102-1.c: New testcase.
      
      From-SVN: r109281
      13991abb
    • Paolo Carlini's avatar
      stl_list.h (_List_base<>::_M_get_Node_allocator): Add. · 31905f34
      Paolo Carlini authored
      2006-01-03  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/stl_list.h (_List_base<>::_M_get_Node_allocator): Add.
      	(_M_get_Tp_allocator, get_allocator): Tidy.
      	(list<>::list(const list&), insert(iterator, size_type, const
      	value_type&), insert(iterator, _InputIterator, _InputIterator)):
      	Use _M_get_Node_allocator.
      	* include/bits/stl_tree.h (_Rb_tree<>::_M_get_Node_allocator()): Add.
      	(_Rb_tree(const _Rb_tree<>&): Use it.
      	* include/bits/stl_deque.h (_Deque_base<>::_M_get_map_allocator,
      	get_allocator): Tidy.
      	* include/bits/stl_vector.h (_Vector_base<>::get_allocator): Tidy.
      	* testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
      	line numbers.
      	* testsuite/23_containers/set/operators/1_neg.cc: Likewise.
      	
      	* testsuite/testsuite_allocator.h (uneq_allocator<>::swap): Fix.
      
      	* testsuite/testsuite_allocator.h (class uneq_allocator): A simple
      	non-empty testing allocator which can be endowed of a "personality"
      	at construction time.
      
      From-SVN: r109280
      31905f34
    • Adrian Straetling's avatar
      builtins.c (get_builtin_sync_mem): New function. · 1387fef3
      Adrian Straetling authored
      2006-01-03  Adrian Straetling  <straetling@de.ibm.com>
      
      	* gcc/builtins.c (get_builtin_sync_mem): New function.
      	(expand_builtin_sync_operation, expand_builtin_compare_and_swap,
      	expand_builtin_lock_test_and_set, expand_builtin_lock_release):
      	Call get_builtin_sync_mem to generate mem rtx.
      
      From-SVN: r109279
      1387fef3
    • Paolo Carlini's avatar
      1.cc: Initialize vars. · 9c5093d1
      Paolo Carlini authored
      2006-01-03  Paolo Carlini  <pcarlini@suse.de>
      
      	* testsuite/27_io/basic_stringstream/str/char/1.cc: Initialize vars.
      	* testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
      	* testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise, tidy.
      	* testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
      
      From-SVN: r109275
      9c5093d1
    • Richard Guenther's avatar
      re PR c/25183 (internal compiler error triggered by overflow in constant expression) · b2ecb7a8
      Richard Guenther authored
      2006-01-03  Richard Guenther  <rguenther@suse.de>
      
              PR c/25183
      	* stmt.c (add_case_node): Make sure to clear overflow flags
      	from ranges.
      
      	* gcc.dg/torture/pr25183.c: New testcase.
      
      From-SVN: r109272
      b2ecb7a8
    • Jakub Jelinek's avatar
      backport: sync.md: New file. · 396b535a
      Jakub Jelinek authored
      	Merge from gomp-branch.
      	* config/sparc/sync.md: New file.
      	* config/sparc/sparc.md (UNSPECV_MEMBAR, UNSPECV_CAS, UNSPECV_SWAP,
      	UNSPECV_LDSTUB): New constants.
      	* config/sparc/sparc.c (sparc_expand_compare_and_swap_12): New function.
      	* config/sparc/predicates.md (memory_reg_operand): New predicate.
      	* config/sparc/sparc-protos.h (sparc_expand_compare_and_swap_12): New
      	prototype.
      
      	* gcc.dg/ia64-sync-1.c: On sparc*-*-*, pass -mcpu=v9.
      	* gcc.dg/ia64-sync-2.c: Likewise.
      	* gcc.dg/ia64-sync-3.c: Likewise.
      	* gcc.dg/ia64-sync-4.c: Likewise.
      	* gcc.dg/sync-2.c: Likewise.
      	* lib/target-supports.exp (sync_char_short, sync_int_long): Indicate
      	that sparc64-*-* and sparcv9-*-* supports sync builtins.
      
      From-SVN: r109271
      396b535a
    • Mark Mitchell's avatar
      re PR c++/25635 (Bogus cruft in error message for invalid operator declaration) · 357d956e
      Mark Mitchell authored
      	PR c++/25635
      	* class.c (add_method): Set TYPE_HAS_CONVERSION for classes with a
      	conversion operator.
      	* decl.c (grokdeclarator): Do not set TYPE_HAS_CONVERSION here.
      	PR c++/25638
      	* class.c (add_method): Never associate more than one destructor
      	with a single class.
      	PR c++/25637
      	* cp-tree.h (do_friend): Adjust prototype.
      	* decl.c (grokfndecl): Make funcdef_flag a bool, not an int.
      	(grokdeclarator): Likewise.  Refine check for invalid
      	declarations/definitions of member functions outside of their own
      	class.
      	* friend.c (do_friend): Make funcdef_flag a bool, not an int.
      	PR c++/25633
      	* parser.c (cp_parser_mem_initializer_list): Check result of
      	cp_parser_mem_initializer against error_mark_node, not NULL_TREE.
      	(cp_parser_mem_initializer): Return error_mark_node for failure.
      	PR c++/25634
      	* parser.c (cp_parser_template_parameter_list): Call
      	begin_template_parm_list and end_template_parm_list here.
      	(cp_parser_type_parameter): Not here.
      	(cp_parser_template_declaration_after_export): Or here.
      	(cp_parser_elaborated_type_specifier): Call
      	cp_parser_check_template_parameters.
      	* tree.c (build_target_expr_with_type): Use force_target_expr.
      	PR c++/25635
      	* g++.dg/parse/operator6.C: New test.
      	PR c++/25637
      	* g++.dg/parse/error29.C: New test.
      	PR c++/25638
      	* g++.dg/parse/dtor6.C: New test.
      	PR c++/25633
      	* g++.dg/parse/ctor3.C: New test.
      	PR c++/25634
      	* g++.dg/template/class3.C: New test.
      
      From-SVN: r109270
      357d956e
    • Roger Sayle's avatar
      combine.c (reg_subword_p): New predicate to test whether the destination of a set refers to a... · 622d5258
      Roger Sayle authored
      	* combine.c (reg_subword_p): New predicate to test whether the
      	destination of a set refers to a subword/piece of a register.
      	(try_combine): Generalize the code to merge the setting of a
      	pseudo to a constant followed by a set of a subword of that
      	register to a constant.
      
      From-SVN: r109267
      622d5258
    • Kazu Hirata's avatar
      tree-ssa-propagate.c (cfg_blocks): Change the type to VEC(basic_block,heap) *. · 36c88f34
      Kazu Hirata authored
      	* tree-ssa-propagate.c (cfg_blocks): Change the type to
      	VEC(basic_block,heap) *.
      	(cfg_blocks_add, cfg_blocks_get, ssa_prop_init,
      	ssa_prop_fini): Adjust the uses of cfg_blocks.
      
      From-SVN: r109266
      36c88f34
    • Kazu Hirata's avatar
      basic-block.h (control_flow_graph): Change the type of x_label_to_block_map to... · e597f337
      Kazu Hirata authored
      basic-block.h (control_flow_graph): Change the type of x_label_to_block_map to VEC(basic_block,gc) *.
      
      	* basic-block.h (control_flow_graph): Change the type of
      	x_label_to_block_map to VEC(basic_block,gc) *.
      	* tree-cfg.c (init_empty_tree_cfg, label_to_block_fn,
      	set_bb_for_stmt): Adjust the uses of x_label_to_block_map.
      
      From-SVN: r109265
      e597f337
    • Steven Bosscher's avatar
      re PR rtl-optimization/25130 (miscompilation in GCSE) · 78b76d08
      Steven Bosscher authored
      	* fold-const.c (operand_equal_p): Accept a NULL operand 0 for
      	COMPONENT_REFs.
      	* emit-rtl.c (mem_attrs_htab_eq): Use iterative_hash_expr for
      	hashing trees instead of a pointer hash.
      	(mem_attrs_htab_eq): Do a deep compare instead of a pointer
      	compare for MEM_EXPR.
      
      	PR rtl-optimization/25130
      	* cse.c (exp_equiv_p): Compare MEM_ATTRS instead of MEM_ALIAS_SET
      	when comparing MEMs for GCSE
      
      From-SVN: r109264
      78b76d08
    • Ben Elliston's avatar
      targhooks.h (default_decimal_float_supported_p): Declare. · 0884546e
      Ben Elliston authored
      	* targhooks.h (default_decimal_float_supported_p): Declare.
      	* targhooks.c (default_decimal_float_supported_p): Define.
      	* target-def.h (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Redefine to
      	`default_decimal_float_supported_p'.
      	* doc/tm.texi (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Update.
      
      From-SVN: r109262
      0884546e
    • Adam Nemet's avatar
      combine.c (apply_distributive_law <SUBREG>): Check TRULY_NOOP_TRUNCATION. · f13f406e
      Adam Nemet authored
      	* combine.c (apply_distributive_law <SUBREG>): Check
      	TRULY_NOOP_TRUNCATION.
      
      From-SVN: r109261
      f13f406e
    • Geoffrey Keating's avatar
      Index: gcc/ChangeLog · 1146e682
      Geoffrey Keating authored
      2006-01-02  Geoffrey Keating  <geoffk@apple.com>
      
      	* dwarf2out.c (have_switched_text_section): Delete.
      	(have_multiple_function_sections): New.
      	(have_location_lists): Make 'bool'.
      	(add_AT_loc_list): Use 'true' not '1'.
      	(dwarf2out_switch_text_section): Set have_multiple_function_sections.
      	(output_loc_list): Use have_multiple_function_sections.
      	(output_ranges): Likewise.
      	(dwarf2out_begin_function): Set have_multiple_function_sections if
      	necessary.
      	(dwarf2out_source_line): Don't fake separate_line_info_table_in_use.
      	Check function_section rather than DECL_SECTION_NAME.
      	(dwarf2out_finish): Use have_multiple_function_sections.
      	Don't clear have_location_lists.
      
      Index: gcc/testsuite/ChangeLog
      2006-01-02  Geoffrey Keating  <geoffk@apple.com>
      
      	* g++.dg/debug/debug9.C: New.
      
      From-SVN: r109260
      1146e682
    • Joseph Myers's avatar
      * zh_CN.po: Update. · 5ae500d2
      Joseph Myers authored
      From-SVN: r109258
      5ae500d2
    • Mark Mitchell's avatar
      libtool-ldflags: New script. · d79e6356
      Mark Mitchell authored
      	* libtool-ldflags: New script.
      
      	* src/Makefile.am (LTLDFLAGS): New variable. 
      	(CXXLINK): Use LTLDFLAGS.
      	* src/Makefile.in: Regenerated.
      	* libsupc++/Makefile.am (LTLDFLAGS): New variable. 
      	(CXXLINK): Use LTLDFLAGS.
      	* libsupc++/Makefile.in: Regenerated.
      
      From-SVN: r109256
      d79e6356
    • GCC Administrator's avatar
      Daily bump. · 0ac6ae9a
      GCC Administrator authored
      From-SVN: r109253
      0ac6ae9a
  3. Jan 02, 2006
Loading