Skip to content
Snippets Groups Projects
  1. Jan 03, 2006
    • 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
  2. Jan 02, 2006
    • Eric Botcazou's avatar
      cfglayout.c (fixup_reorder_chain): Remove kludge for the case of conditional... · c8c3cb28
      Eric Botcazou authored
      cfglayout.c (fixup_reorder_chain): Remove kludge for the case of conditional jump jumping to the next instruction.
      
      	* cfglayout.c (fixup_reorder_chain): Remove kludge for the
      	case of conditional jump jumping to the next instruction.
      	* cfgrtl.c (force_nonfallthru_and_redirect): Accept all
      	cases of conditional jump jumping to the next instruction.
      
      
      Co-Authored-By: default avatarJan Hubicka <jh@suse.cz>
      
      From-SVN: r109247
      c8c3cb28
    • Steven G. Kargl's avatar
      re PR fortran/24640 ([4.1] ice with invalid label) · 99f1e970
      Steven G. Kargl authored
      PR fortran/24640
      * parse.c (next_free): Check for whitespace after the label.
      * match.c (gfc_match_small_literal_int): Initialize cnt variable.
      
      * gfortran.dg/label_2.f90: New test.
      
      From-SVN: r109246
      99f1e970
    • Jan Hubicka's avatar
      i386.c (*_cost): Add COSTS_N_INSNS. · a9cc9cc6
      Jan Hubicka authored
      	* i386.c (*_cost): Add COSTS_N_INSNS.
      	(ix86_rtx_costs): Do not use COSTS_N_INSNS.
      
      From-SVN: r109242
      a9cc9cc6
    • Paolo Bonzini's avatar
      re PR libgomp/25259 (bootstrap failures on non-C99 platforms (no stdint.h)) · 4c4b3eb0
      Paolo Bonzini authored
      config:
      2006-01-02  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR target/25259
      	* stdint.m4: New.
      
      gcc:
      2006-01-02  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR target/25259
      	* Makefile.in (DECNUMINC): Include libdecnumber's build directory.
      
      libgfortran:
      2006-01-02  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR target/25259
      	* configure.ac: Use GCC_HEADER_STDINT.
      	* libgfortran.h: Include gstdint.h.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      libdecnumber:
      2006-01-02  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR target/25259
      	* configure.ac: Use GCC_HEADER_STDINT.
      	* decContext.h: Include gstdint.h.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r109241
      4c4b3eb0
    • Andreas Schwab's avatar
      configure.in: When reconfiguring remove Makefile in all stage directories. · a6fbc1e2
      Andreas Schwab authored
      	* configure.in: When reconfiguring remove Makefile in
      	all stage directories.
      	* configure: Regenerate.
      
      From-SVN: r109240
      a6fbc1e2
    • Mark Mitchell's avatar
      * decl2.c (mark_used): Fix typo in comment. · 520c3081
      Mark Mitchell authored
      From-SVN: r109239
      520c3081
    • Volker Reichelt's avatar
      arm.c (all_fpus): Fix comment typo. · 56f42830
      Volker Reichelt authored
      	* config/arm/arm.c (all_fpus): Fix comment typo.
      	* config/darwin.c: Likewise.
      	* config/frv/frv.h (FRV_STRUCT_VALUE_REGNUM): Likewise.
      	* config/h8300/h8300.md (extendqisi2_h8300hs): Likewise.
      	* config/m68hc11/m68hc11.c (m68hc11_reload_operands): Likewise.
      
      From-SVN: r109238
      56f42830
    • Volker Reichelt's avatar
      parser.c (cp_parser_using_declaration): Skip name-lookup on invalid scope. · 56bbd9d6
      Volker Reichelt authored
      	* parser.c (cp_parser_using_declaration): Skip name-lookup on
      	invalid scope.
      
      	* g++.dg/lookup/using12.C: Tighten error marker.
      
      From-SVN: r109237
      56bbd9d6
    • Paolo Carlini's avatar
      re PR libstdc++/24645 (Commonize arithmetic inserters/extractors bodies) · 49d5c016
      Paolo Carlini authored
      2006-01-02  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/24645
      	* include/std/std_istream.h (basic_istream<>::_M_extract): New.
      	(operator>>(bool&), operator>>(short&), operator>>(unsigned short&),
      	operator>>(int&), operator>>(unsigned int&), operator>>(long&),
      	operator>>(unsigned long&), operator>>(long long&), operator>>
      	(unsigned long long&), operator>>(float&), operator>>(double&),
      	operator>>(long double&), operator>>(void*&)): Use it.
      	* include/bits/istream.tcc (basic_istream<>::_M_extract): Define.
      	* include/std/std_ostream.h (basic_ostream<>::_M_insert): New.
      	(operator<<(long), operator<<(unsigned long), operator<<(bool),
      	operator<<(short), operator<<(unsigned short), operator<<(int),
      	operator<<(unsigned int), operator<<(long long), operator<<
      	(unsigned long long), operator<<(double), operator<<(float),
      	operator<<(long double), operator<<(const void*): Use it.
      	* include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define.
      	* src/istream-inst.cc: Add _M_insert instantiations.
      	* src/ostream-inst.cc: Add _M_extract instantiations.
      	* config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7;
      	detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put,
      	money_put, etc., symbols to avoid exporting _M_insert symbols
      	@GLIBCXX_3.4.
      
      From-SVN: r109236
      49d5c016
    • Paolo Bonzini's avatar
      changelog rotated for gcc · 5f0926cd
      Paolo Bonzini authored
      From-SVN: r109235
      5f0926cd
    • GCC Administrator's avatar
      Daily bump. · fcc25394
      GCC Administrator authored
      From-SVN: r109232
      fcc25394
  3. Jan 01, 2006
    • David Edelsohn's avatar
      rs6000.c (rs6000_expand_compare_and_swapqhi): New. · 9fc75b97
      David Edelsohn authored
              * config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): New.
              (rs6000_split_compare_and_swapqhi): New.
              * config/rs6000/sync.md (sync_compare_and_swap{hi,qi}): New.
              (sync_compare_and_swapqhi_internal): New.
              * config/rs6000/rs6000-protos.h: Declare.
      
      From-SVN: r109226
      9fc75b97
    • Steven G. Kargl's avatar
      * Split the ChangeLog into years. · f1d592be
      Steven G. Kargl authored
      From-SVN: r109225
      f1d592be
    • Steven G. Kargl's avatar
      * Split the ChangeLog into years. · 5873154d
      Steven G. Kargl authored
      From-SVN: r109224
      5873154d
    • Andreas Tobler's avatar
      darwin-abi-3.c: New file. · 893ea232
      Andreas Tobler authored
      
      2006-01-01  Andreas Tobler  <a.tobler@schweiz.ch>
      	    Andrew Pinski <pinskia@physics.uc.edu>
      
      	* gcc.target/powerpc/darwin-abi-3.c: New file.
      	* gcc.target/powerpc/darwin-abi-4.c: Likewise.
      	* gcc.target/powerpc/darwin-abi-5.c: Likewise.
      	* gcc.target/powerpc/darwin-abi-6.c: Likewise.
      	* gcc.target/powerpc/darwin-abi-7.c: Likewise.
      	* gcc.target/powerpc/darwin-abi-8.c: Likewise.
      	* gcc.target/powerpc/darwin-abi-9.c: Likewise.
      	* gcc.target/powerpc/darwin-abi-10.c: Likewise.
      	* gcc.target/powerpc/darwin-abi-11.c: Likewise.
      
      Co-Authored-By: default avatarAndrew Pinski <pinskia@physics.uc.edu>
      
      From-SVN: r109223
      893ea232
    • Daniel Berlin's avatar
      It's 2006, i think · 07614db8
      Daniel Berlin authored
      From-SVN: r109222
      07614db8
    • Daniel Berlin's avatar
      loadpre1.c: New; · 5bab7637
      Daniel Berlin authored
      2005-01-01  Daniel Berlin  <dberlin@dberlin.org>
      
      	* gcc.dg/tree-ssa/loadpre1.c: New;
      	* gcc.dg/tree-ssa/loadpre2.c: New;
      	* gcc.dg/tree-ssa/loadpre3.c: New;
      	* gcc.dg/tree-ssa/loadpre4.c: New;
      	* gcc.dg/tree-ssa/loadpre5.c: New;
      	* gcc.dg/tree-ssa/loadpre6.c: New;
      	* gcc.dg/tree-ssa/loadpre7.c: New;
      	* gcc.dg/tree-ssa/loadpre8.c: New;
      	* gcc.dg/tree-ssa/loadpre9.c: New;
      
      From-SVN: r109221
      5bab7637
    • Nathan Sidwell's avatar
      thunk3.C: Adjust regexp to be 64bit safe. · a66de72e
      Nathan Sidwell authored
      	* g++.dg/abi/thunk3.C: Adjust regexp to be 64bit safe.
      	* g++.dg/abi/thunk4.C: Likewise.
      
      From-SVN: r109220
      a66de72e
    • Andreas Jaeger's avatar
      loadpre6.c: Fix prototype of malloc to be portable. · 60b81a6f
      Andreas Jaeger authored
              * gcc.dg/tree-ssa/loadpre6.c: Fix prototype of malloc to be
              portable.
      
      From-SVN: r109219
      60b81a6f
    • Jerry DeLisle's avatar
      re PR libfortran/25594 (LAPACK regression in schkbl.f) · a7c633ea
      Jerry DeLisle authored
      2005-12-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/25594
      	PR libgfortran/25419
      	* io/list_read.c (list_formatted_read_scalar): Test for comma to return
      	a null value (default). Revert patch of 25419 on 2005-12-28.
      
      From-SVN: r109211
      a7c633ea
    • GCC Administrator's avatar
      Daily bump. · cfcbf846
      GCC Administrator authored
      From-SVN: r109208
      cfcbf846
Loading