1. 26 Aug, 2005 17 commits
  2. 25 Aug, 2005 11 commits
  3. 24 Aug, 2005 12 commits
    • re PR libstdc++/23550 (char_traits requirements/1.cc test bad math) · a35f1a13
      
      2005-08-24  Lawrence Lim  <llim@redhat.com>
                  Jakub Jelinek  <jakub@redhat.com>
      	    Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/23550
      	* testsuite/21_strings/char_traits/requirements/char/1.cc
      	(test01): Simplify counting.
      	* testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
      	(test02): Same.
      
      Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r103451
      Lawrence Lim committed
    • params.def (PARAM_MIN_SPEC_PROB): New. · 6f48c21a
      2005-08-24  Pete Steinmetz  <steinmtz@us.ibm.com>
      
              * params.def (PARAM_MIN_SPEC_PROB): New.
              * sched-rgn.c (MIN_PROBABILITY): Delete.
              (compute_trg_info): Convert to PARAM_VALUE.
              * doc/invoke.texi (param): Document min-spec-prob.
      
      From-SVN: r103450
      Pete Steinmetz committed
    • re PR fortran/17758 (gfortran_abort and some others should be marked as noreturn) · fe58e076
      2005-08-24  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	PR fortran/17758
      	* gfortran.h (symbol_attribute):  Add noreturn to the structure.
      	(gfc_intrinsic_sym):  Add noreturn to the structure.
      	* intrinsic.c (make_noreturn):  New function.
      	(add_subroutines):  Mark subroutines abort and exit as noreturn.
      	(gfc_intrinsic_sub_interface):  Copy noreturn attribute from
      	isym to the resolved symbol.
      	* trans-decl.c (gfc_get_extern_function_decl): Set function
      	as VOLATILE (== noreturn) if the noreturn attribute is set.
      
      2005-08-24  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	PR fortran/17758
      	gfortran.dg/nonreturning_statements.f90: New test.
      
      From-SVN: r103449
      Thomas Koenig committed
    • Define __PIC__ for darwin targets. · 1a1e6a9d
      OKed by Mike Stump.
      
      From-SVN: r103447
      Fariborz Jahanian committed
    • rs6000.md: Fix thinko in the peephole2 I added yesterday. · 130869aa
      2005-08-24  Paolo Bonzini  <bonzini@gnu.org>
      
      	* config/rs6000/rs6000.md: Fix thinko in the peephole2 I added
      	yesterday.
      
      From-SVN: r103443
      Paolo Bonzini committed
    • re PR libstdc++/23465 (Assignment fails on TR1 unordered containers) · bb7d32a9
      2005-08-24  Paolo Carlini  <pcarlini@suse.de>
      	    Chris Jefferson  <chris@bubblescope.net>
      
      	PR libstdc++/23465
      	* include/tr1/hashtable (hash_code_base::m_swap): Use
      	std::swap.
      	(hashtable<>::hashtable(const hashtable&)): Use copy_code;
      	fix m_allocate_node call.
      	* testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
      
      Co-Authored-By: Chris Jefferson <chris@bubblescope.net>
      
      From-SVN: r103441
      Paolo Carlini committed
    • re PR c++/22454 (ICE with operator in default argument in template class) · 863a3314
      cp:
      	PR c++/22454
      	* parser.c (cp_lexer_peek_nth_token): Relax assert.
      testsuite:
      	PR c++/22454
      	* g++.dg/parse/crash29.C: New.
      
      From-SVN: r103438
      Nathan Sidwell committed
    • bb-reorder.c (copy_bb, [...]): Add argument to duplicate_block. · b9a66240
      	* bb-reorder.c (copy_bb, duplicate_computed_gotos): Add argument
      	to duplicate_block.
      	* cfghooks.c (duplicate_block): Added position where to place
      	new block as argument.
      	* cfghooks.h (duplicate_block): Declaration changed.
      	* cfglayout.c (copy_bbs): Add argument after.  Pass it to
      	duplicate_block.
      	* cfglayout.h (copy_bbs): Declaration changed.
      	* cfgloop.h (loop_version): Declaration changed.
      	* cfgloopmanip.c (duplicate_loop_to_header_edge): Pass
      	position to copy_bbs.
      	(loop_version): Pass position to duplicate_loop_to_header_edge.
      	Add place_after argument and position new blocks according to
      	it.
      	* modulo-sched.c (sms_schedule): Pass place_after argument
      	to loop_version.
      	* tracer.c (tail_duplicate): Pass argument to duplicate_block.
      	* tree-cfg.c (split_edge_bb_loc): New function.
      	(tree_split_edge, tree_duplicate_sese_region): Use split_edge_bb_loc
      	to determine position of new blocks.
      	* tree-ssa-loop-unswitch.c (tree_unswitch_loop): Pass argument
      	to loop_version.
      	* tree-ssa-threadupdate.c (create_block_for_threading): Pass
      	argument to duplicate_block.
      	* tree-vectorizer.c (slpeel_tree_duplicate_loop_to_edge_cfg):
      	Pass position to copy_bbs.
      
      From-SVN: r103437
      Zdenek Dvorak committed
    • fold-const.c (ptr_difference_const): Use cst_and_fits_in_hwi instead of host_integerp. · 87de2376
      	* fold-const.c (ptr_difference_const): Use
      	cst_and_fits_in_hwi instead of host_integerp.
      
      From-SVN: r103436
      Zdenek Dvorak committed
    • darwin.c (gen_pic_offset): New. · 14a07c92
      2005-08-24  Paolo Bonzini  <bonzini@gnu.org>
      
      	* config/darwin.c (gen_pic_offset): New.
      	(machopic_indirect_data_reference,  machopic_legitimize_pic_address):
      	Use it.
      
      From-SVN: r103434
      Paolo Bonzini committed
    • re PR tree-optimization/23486 (ICE in execute_todo, at passes.c:677) · d49195a3
      	PR tree-optimization/23486
      	* tree-ssa-loop.c (pass_scev_cprop): Add TODO_update_ssa_only_virtuals.
      
      From-SVN: r103433
      Zdenek Dvorak committed
    • config.gcc (*-*-vxworks*): Update tm_file, add extra_options, remove use_collect2. · 2eab15c9
      2005-08-22  Phil Edwards  <phil@codesourcery.com>
      
      	* config.gcc (*-*-vxworks*):  Update tm_file, add extra_options,
      	remove use_collect2.
      	(powerpc-wrs-vxworks):  Update, split out *-*-vxworksae target.
      
      	* target-def.h (TARGET_HAVE_CTORS_DTORS):  Allow target
      	configuration files to override the default value.
      
      	* config/t-vxworks:  Remove INSTALL_ASSERT_H.  Define STMP_FIXPROTO,
      	EXTRA_HEADERS, and EXTRA_MULTILIB_PARTS.
      	* config/vx-common.h:  New file, split out from...
      	* config/vxworks.h:  here.  Update for VxWorks 6.x and RTP mode.
      	* config/vxworksae.h:  New file, for VxWorks AE.
      	* config/vxworks.opt:  New file.
      	* config/vxlib.c:  Update for VxWorks 6.
      
      	* config/rs6000/t-vxworks (MULTILIB_OPTIONS):  New list.  Adjust
      	other MULTILIB_* variables appropriately.
      	(LIB2FUNCS_EXTRA, EXTRA_MULTILIB_PARTS):  Correct from t-ppccomm.
      	* config/rs6000/t-vxworksae:  New file, adjust multilibs for AE.
      	* config/rs6000/vxworks.h:  Update for VxWorks 6.
      	* config/rs6000/vxworksae.h:  New file, mostly placeholder for now.
      
      From-SVN: r103432
      Phil Edwards committed