1. 29 Oct, 2007 4 commits
    • stl_algobase.h (_GLIBCXX_MOVE3, [...]): Add. · 245a5fe5
      2007-10-28  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/stl_algobase.h (_GLIBCXX_MOVE3,
      	_GLIBCXX_MOVE_BACKWARD3): Add.
      	* include/bits/stl_iterator.h (_GLIBCXX_MAKE_MOVE_ITERATOR): Add.
      	* include/bits/vector.tcc (vector<>::reserve): Use the latter.
      	(vector<>::erase): Use _GLIBCXX_MOVE3.
      	* include/bits/deque.tcc (deque<>::erase): Use _GLIBCXX_MOVE3
      	and _GLIBCXX_MOVE_BACKWARD3.
      	* testsuite/23_containers/vector/modifiers/erase/moveable.cc: New.
      	* testsuite/23_containers/vector/capacity/reserve/moveable.cc: New.
      	* testsuite/23_containers/deque/modifiers/erase/moveable.cc: New.
      
      From-SVN: r129714
      Paolo Carlini committed
    • cris.c: Include df.h. · a3ef2349
      	* config/cris/cris.c: Include df.h.
      	(cris_address_cost): Add gcc_assert for canonicalization
      	assumptions.  For PLUS with MULT or register, correct
      	test for register in other arm.  Tweak comments.
      
      From-SVN: r129713
      Hans-Peter Nilsson committed
    • Daily bump. · f153d30a
      From-SVN: r129711
      GCC Administrator committed
    • re PR c++/30659 (ICE in undefined template) · 8259e4f5
      cp/
      2007-10-28  Paolo Carlini  <pcarlini@suse.de>
      	    Mark Mitchell  <mark@codesourcery.com>
      
      	PR c++/30659
      	* pt.c (do_decl_instantiation): If the VAR_DECL is not a
      	class member error out and return.
      
      testsuite/
      2007-10-28  Paolo Carlini  <pcarlini@suse.de>
      	    Mark Mitchell  <mark@codesourcery.com>
      
      	PR c++/30659
      	* g++.dg/template/crash71.C: New.
      
      Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
      
      From-SVN: r129710
      Paolo Carlini committed
  2. 28 Oct, 2007 11 commits
  3. 27 Oct, 2007 18 commits
  4. 26 Oct, 2007 7 commits
    • invoke.texi (Option Summary, [...]): Remove -fbounds-check. · d228aace
      	* doc/invoke.texi (Option Summary, optimizations): Remove
      	-fbounds-check.  Add -fassociative-math, -freciprocal-math,
      	-ftree-vrp and -funit-at-a-time.  Change -fno-split-wide-types to
      	-fsplit-wide-types to match later entry.  Break up a long line.
      	(Option Summary, code gen options)  Add -fno-stack-limit.  Add
      	missing @gol to the end of a line.
      	(Optimization Options): Remove -fbounds-check, which is also
      	documented under Code Generation Options.  Remove =n from
      	index entry for -ftree-parallelize-loops.  Change -fno-cprop-registers
      	to -fcprop-registers to match other options, and say when it is
      	enabled rather than disabled.  Remove extra index entry for
      	-fno-cx-limited-range.  Add index entries for -fstack-protector
      	and -fstack-protector-all.
      	(Code Gen Options): Add index entry for -ftls-model.
      
      From-SVN: r129664
      Janis Johnson committed
    • invoke.texi: Fix typo in -fmax-errors=. · efb66586
      2007-10-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	* invoke.texi: Fix typo in -fmax-errors=.
      
      From-SVN: r129663
      Jerry DeLisle committed
    • avr.c (avr_OS_task_function_p): Add new function. · 96ac4c9b
      	* config/avr/avr.c (avr_OS_task_function_p): Add new function.
      	(avr_regs_to_save): Handle functions with 'OS_task' attribute.
      	(avr_simple_epilogue, expand_prologue, avr_asm_function_end_prologue,
      	expand_epilogue, output_movhi): Don't handle 'main' function.
      	(avr_attribute_table): Add 'OS_task' function attribute.
      	* config/avr/avr.h (machine_function): Remove 'is_main' field, add
      	'is_OS_task' field.
      	* config/avr/avr.md (return_from_main_epilogue): Remove insn.
      	(return_from_epilogue, return_from_interrupt_epilogue): Don't handle
      	'main' function.
      	* config/avr/avr.opt (minit-stack): Remove.
      
      From-SVN: r129662
      Anatoly Sokolov committed
    • tree-nested.c (get_trampoline_type): Fix thinko. · bc4c8d89
      	* tree-nested.c (get_trampoline_type): Fix thinko.
      
      From-SVN: r129661
      Eric Botcazou committed
    • re PR c++/24791 (ICE on invalid instantiation of template's static member) · 91a77d68
              PR c++/24791
              * pt.c (get_template_info): New fn.
              (template_class_depth): Use it.
              (push_template_decl_real): Check that the template args of the
              definition match the args of the previous declaration.
      
      From-SVN: r129660
      Jason Merrill committed
    • re PR c++/33601 (ICE with pointers to members using "const C" as the class identifier) · 4552f5a2
      2007-10-26  Douglas Gregor  <doug.gregor@gmail.com>
      
      	PR c++/33601
      	* tree.c (build_offset_type): Build canonical type based on the
      	TYPE_MAIN_VARIANT of the base type.
      
      2007-10-26  Douglas Gregor  <doug.gregor@gmail.com>
      
      	* g++.dg/other/pr33601.C: New.
      
      From-SVN: r129659
      Douglas Gregor committed
    • mk-kinds-h.sh: Add "LANG=C". · 84f2b1d1
      2007-10-26  Tobias Burnus  <burnus@net-b.de>
      
             * mk-kinds-h.sh: Add "LANG=C".
      
      From-SVN: r129658
      Tobias Burnus committed