1. 13 Jun, 2008 11 commits
    • re PR fortran/36518 (libgfortran: "warning: format '%d' expects type 'int', but") · 60dcf38a
      2008-06-13  Tobias Burnus  <burnus@net-b.de>
      
              PR libgfortran/36518
              * configure.ac (AM_CFLAGS): Add -Werror.
              * configure: Regenerate.
              * m4/ifunction_logical.m4: Cast "n" to "(int)".
              * generated/any_l16.c: Regenerate.
              * generated/any_l2.c: Regenerate.
              * generated/all_l1.c: Regenerate.
              * generated/all_l2.c: Regenerate.
              * generated/all_l16.c: Regenerate.
              * generated/any_l4.c: Regenerate.
              * generated/count_4_l.c: Regenerate.
              * generated/count_8_l.c: Regenerate.
              * generated/all_l4.c: Regenerate.
              * generated/count_1_l.c: Regenerate.
              * generated/count_16_l.c: Regenerate.
              * generated/any_l8.c: Regenerate.
              * generated/count_2_l.c: Regenerate.
              * generated/any_l1.c: Regenerate.
              * generated/all_l8.c: Regenerate.
      
      From-SVN: r136761
      Tobias Burnus committed
    • re PR fortran/36476 (ICE: len=* CHARACTER array with separate PARAMETER statement) · 357ad64f
      2008-06-13  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/36476
              * decl.c (do_parm): Handle init expression for len=*.
      
      2008-06-13  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/36476
              * gfortran.dg/parameter_array_init_4.f90: New.
      
      From-SVN: r136754
      Tobias Burnus committed
    • stl_deque.h (deque<>::push_back(_Args&&...), [...]): Remove. · 4dc3e453
      2008-06-13  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
      	deque<>::push_front(_Args&&...)): Remove.
      	(deque<>::push_back(value_type&&),
      	deque<>::push_front(value_type&&)): Add.
      	(deque<>::push_back(const value_type&),
      	deque<>::push_front(const value_type&)): Add back.
      	(deque<>::emplace_back(_Args&&...),
      	deque<>::emplace_front(_Args&&...)): Declare...
      	* include/bits/deque.tcc: ... and define.	
      	* include/bits/stl_list.h (list<>::push_back(_Args&&...),
      	list<>::push_front(_Args&&...)): Remove.
      	(list<>::push_back(value_type&&), list<>::push_front(value_type&&),
      	list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
      	Add.
      	(list<>::push_back(const value_type&),
      	list<>::push_front(const value_type&)): Add back.
      	* include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
      	(vector<>::push_back(value_type&&)): Add.
      	(vector<>::push_back(const value_type&)): Add back.
      	(vector<>::emplace_back(_Args&&...)): Declare...
      	* include/bits/vector.tcc: ... and define.
      	* include/bits/stl_queue.h (queue<>::push(_Args&&...),
      	priority_queue<>::push(_Args&&...)): Remove.
      	(queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
      	priority_queue<>::push(value_type&&),
      	priority_queue<>::emplace(_Args&&...)): Add.
      	(queue<>::push(const value_type&),
      	priority_queue<>::push(const value_type&)): Add back.
      	* include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
      	(stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
      	(stack<>::push(const value_type&)): Add back.
      	* include/debug/deque (deque<>::push_back(_Args&&...),
      	deque<>::push_front(_Args&&...)): Remove.
      	(deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
      	deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
      	Add.
      	(deque<>::push_back(const value_type&),
      	deque<>::push_front(const value_type&)): Add back.
      	* include/debug/list (list<>::push_back(_Args&&...),
      	list<>::push_front(_Args&&...)): Remove.
      	(list<>::push_back(value_type&&), list<>::push_front(value_type&&),
      	list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
      	Add.
      	(list<>::push_back(const value_type&),
      	list<>::push_front(const value_type&)): Add back.
      	* include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
      	(vector<>::push_back(value_type&&),
      	vector<>::emplace_back(_Args&&...)): Add.
      	(vector<>::push_back(const value_type&)): Add back.
      	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
      	Adjust dg-error line numbers.
      	* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
      	Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
      	Adjust dg-error line numbers.
      	* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
      	Likewise.
      	* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
      	Likewise.
      	* testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
      	Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
      	Adjust dg-error line numbers.
      	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
      	Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      
      From-SVN: r136750
      Paolo Carlini committed
    • utils.c (rest_of_record_type_compilation): When computing encodings for the… · ca789c7f
      utils.c (rest_of_record_type_compilation): When computing encodings for the components of a variable size type...
      
      2008-06-13  Olivier Hainque  <hainque@adacore.com>
      
              * utils.c (rest_of_record_type_compilation): When computing
              encodings for the components of a variable size type, early
              strip conversions on the current position expression to make
              sure it's shape is visible.  Use remove_conversions for this
              purpose.
      
      From-SVN: r136748
      Olivier Hainque committed
    • re PR middle-end/36520 (ICE in get_memory_rtx) · 9133c85e
      	PR middle-end/36520
      	* builtins.c (get_memory_rtx): Test for the presence of DECL_SIZE_UNIT
      	before evaluating it.
      
      From-SVN: r136747
      Eric Botcazou committed
    • re PR c/36507 (ISO C99 inline semantics doesn't play together with nested functions) · 6cf59865
      	PR c/36507
      	* c-decl.c (merge_decls): Don't clear DECL_EXTERNAL for
      	nested inline functions.
      	(start_decl, start_function): Don't invert DECL_EXTERNAL
      	for nested inline functions.
      
      	* gcc.dg/inline-28.c: New test.
      	* gcc.dg/inline-29.c: New test.
      	* gcc.dg/inline-30.c: New test.
      
      From-SVN: r136745
      Jakub Jelinek committed
    • array (array<>::assign): Do not define in C++0x mode, per DR 776... · 6a4533e5
      2008-06-13  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/tr1_impl/array (array<>::assign): Do not define in
      	C++0x mode, per DR 776...
      	(array<>::fill): ... define instead.
      	* doc/xml/manual/intro.xml: Add an entry for DR 776.
      	* testsuite/23_containers/array/requirements/fill.cc: New.
      
      From-SVN: r136741
      Paolo Carlini committed
    • re PR fortran/36495 (libgfortran should be build with FCFLAGS -fimplicit-none) · c3e9b6ab
      2008-06-13  Tobias Burnus  <burnus@net-b.de>
      
             PR fortran/36495
             * configure: Add "-Werror -fimplicit-none" to the AM_FCFLAGS.
             * configure.ac: Ditto.
             * intrinsics/dprod_r8.f90: Add "implicit none".
      
      From-SVN: r136740
      Tobias Burnus committed
    • mips.md: Remove TARGET_DEBUG_D_MODE conditions from splits that must be made for correctness. · a9a53350
      gcc/
      	* config/mips/mips.md: Remove TARGET_DEBUG_D_MODE conditions from
      	splits that must be made for correctness.
      
      From-SVN: r136739
      Richard Sandiford committed
    • mips.c (BUILTIN_AVAIL_NON_MIPS16): New macro. · fd0eb897
      gcc/
      	* config/mips/mips.c (BUILTIN_AVAIL_NON_MIPS16): New macro.
      	(AVAIL_NON_MIPS16): Likewise.
      	(mips_builtin_description): Replace target_flags with a predicate.
      	(paired_single, sb1_paired_single, mips3d, dsp, dspr2, dsp_32)
      	(dspr2_32): New availability predicates.
      	(MIPS_BUILTIN): New macro.
      	(DIRECT_BUILTIN, CMP_SCALAR_BUILTINS, CMP_PS_BUILTINS)
      	(CMP_4S_BUILTINS, MOVTF_BUILTINS, CMP_BUILTINS)
      	(DIRECT_NO_TARGET_BUILTIN, BPOSGE_BUILTIN): Use it.
      	Replace the TARGET_FLAGS parameters with AVAIL parameters.
      	(mips_ps_bdesc, mips_sb1_bdesc, mips_dsp_bdesc)
      	(mips_dsp_32only_bdesc): Merge into...
      	(mips_builtins): ...this new array.
      	(mips_bdesc_map, mips_bdesc_arrays): Delete.
      	(mips_init_builtins): Update after above changes.
      	(mips_expand_builtin_1): Merge into...
      	(mips_expand_builtin): ...here and update after above changes.
      
      From-SVN: r136738
      Richard Sandiford committed
    • Daily bump. · ad90a34a
      From-SVN: r136729
      GCC Administrator committed
  2. 12 Jun, 2008 17 commits
  3. 11 Jun, 2008 12 commits