1. 31 Jan, 2011 1 commit
  2. 30 Jan, 2011 14 commits
    • PR libstdc++/36104 part four · 12ffa228
      2011-01-30  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/36104 part four
      	* include/bits/c++config (_GLIBCXX_STD): Remove.
      	(_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
      	(_GLIBCXX_P): Now _GLIBCXX_STD_A.
      	(_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
      	 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
      	(_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
      	 _GLIBCXX_INLINE_PROFILE): Remove.
      	(_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
      	(_GLIBCXX_END_NAMESPACE): Remove.
      	(_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
      	(_GLIBCXX_END_NESTED_NAMESPACE): Remove.
      	(_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
      	(_GLIBCXX_END_NAMESPACE_ALGO): Add.
      	(_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
      	(_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
      	(_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
      	(_GLIBCXX_END_NAMESPACE_VERSION): Add.
      	(_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
      	(_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
      	(_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
      	* include/*: Use new macros for namespace scope.
      	* config/*: Same.
      	* src/*: Same.
      
      	* src/Makefile.am (sources): Remove debug_list.cc, add
      	compatibility-debug_list-2.cc.
      	(parallel_sources): Remove parallel_list.cc, add
      	compatibility-parallel_list-2.cc.
      	(compatibility-parallel_list-2.[o,lo]): New rule.
      	* src/Makefile.in: Regenerate.
      	* src/debug_list.cc: Remove.
      	* src/parallel_list.cc: Remove.
      	* src/compatibility-list-2.cc: New.
      	* src/compatibility-debug_list-2.cc: New.
      	* src/compatibility-parallel_list-2.cc: New.
      
      	* doc/doxygen/user.cfg.in: Adjust macros.
      
      	* testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
      	* testsuite/20_util/declval/requirements/1_neg.cc: Same.
      	* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
      	* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
      	* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
      	* testsuite/20_util/forward/c_neg.cc: Same.
      	* testsuite/20_util/forward/f_neg.cc: Same.
      	* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
      	* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
      	* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
      	* testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
      	* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
      	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
      	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_1_neg.cc: Same.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_2_neg.cc: Same.
      	* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
      	* testsuite/23_containers/forward_list/capacity/1.cc: Same.
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	assign_neg.cc: Same.
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	constructor_1_neg.cc: Same.
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	constructor_2_neg.cc: Same.
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	insert_neg.cc: Same.
      	* testsuite/23_containers/list/capacity/29134.cc: Same.
      	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
      	* testsuite/23_containers/list/requirements/dr438/
      	constructor_1_neg.cc: Same.
      	* testsuite/23_containers/list/requirements/dr438/
      	constructor_2_neg.cc: Same.
      	* testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
      	* testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
      	* testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
      	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_1_neg.cc: Same.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_2_neg.cc: Same.
      	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
      	* testsuite/25_algorithms/sort/35588.cc: Same.
      	* testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
      	* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
      	* testsuite/ext/profile/mutex_extensions_neg.cc: Same.
      	* testsuite/ext/profile/profiler_algos.cc: Same.
      	* testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
      	* testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
      	* testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
      	* testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
      	* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
      
      From-SVN: r169421
      Benjamin Kosnik committed
    • extend.texi: Follow spelling conventions. · c4c8962b
      	* doc/extend.texi: Follow spelling conventions.
      	* doc/invoke.texi: Fix a typo.
      
      From-SVN: r169420
      Kazu Hirata committed
    • hpux11.opt: New. · e543b94c
      	* config/hpux11.opt: New.
      	* config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*,
      	ia64*-*-hpux*): Use hpux11.opt.
      
      From-SVN: r169419
      Joseph Myers committed
    • config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules to tmake_file. · a70e0551
      2011-01-30  Jonathan Yong <jon_y@users.sourceforge.net> 
      
      	* config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules
      	to tmake_file.
      
      From-SVN: r169418
      Jonathan Yong committed
    • update_version_svn (SVN): Remove obsolete comment. · 176a192a
      	* update_version_svn (SVN): Remove obsolete comment.
      	(CURR_DATE): Fix description.
      	Fix description of checkout procedure.
      
      From-SVN: r169417
      Gerald Pfeifer committed
    • re PR fortran/47042 (ICE with character pointer in function) · 1ca99f75
      2011-01-31  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/47042
              * resolve.c (resolve_fl_procedure): Reject stmt functions
              with pointer/allocatable attribute.
      
      2011-01-31  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/47042
              * gfortran.dg/stmt_func_1.f90: New.
      
      From-SVN: r169415
      Tobias Burnus committed
    • re PR fortran/47042 (ICE with character pointer in function) · 86d7449c
      2011-01-31  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/47042
              * interface.c (gfc_procedure_use): Add explicit interface check
              * for
              pointer/allocatable functions.
      
      2011-01-31  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/47042
              * gfortran.dg/interface_34.f90: New.
      
      From-SVN: r169414
      Tobias Burnus committed
    • re PR fortran/47523 (Concatenation with deferred length character with lhs variable) · dafdf269
      2011-01-30  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/47523
      	* trans-expr.c (gfc_trans_assignment_1): If the rhs is an op
      	expr and is assigned to a deferred character length scalar,
      	make sure that the function is called before reallocation,
      	so that the length is available. Include procedure pointer
      	and procedure pointer component rhs as well.
      
      2011-01-30  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/47523
      	* trans-expr.c (gfc_trans_assignment_1): If the rhs is an op
      	expr and is assigned to a deferred character length scalar,
      	make sure that the function is called before reallocation,
      	so that the length is available. Include procedure pointer
      	and procedure pointer component rhs as well.
      
      	PR fortran/45170
      	PR fortran/35810
      	PR fortran/47350
      	* gfortran.dg/allocatable_function_5.f90: New test not added by
      	mistake on 2011-01-28.
      
      From-SVN: r169413
      Paul Thomas committed
    • install.texi (hppa-hp-hpux10): Remove references to HP support sites. · 7be03a0e
      	* doc/install.texi (hppa-hp-hpux10): Remove references to HP
      	support sites.
      
      From-SVN: r169412
      Gerald Pfeifer committed
    • install.texi (Binaries): Remove outdated reference for Motorola 68HC11/68HC12 downloads. · b596ed64
      	* doc/install.texi (Binaries): Remove outdated reference for
      	Motorola 68HC11/68HC12 downloads.
      
      From-SVN: r169409
      Gerald Pfeifer committed
    • abi.xml: Adjust link to C++ ABI specification. · 4e2d4dc3
      	* doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
      	Improve description of one such reference.
      
      From-SVN: r169408
      Gerald Pfeifer committed
    • codecvt.xml: Fix link to The Austin Common Standards Revision Group. · a3bf9d08
      	* doc/xml/manual/codecvt.xml: Fix link to The Austin Common
      	Standards Revision Group.
      	* doc/xml/manual/locale.xml: Ditto.
      	* doc/xml/manual/messages.xml: Ditto.
      	* doc/xml/manual/using_exceptions.xml: Ditto.
      
      From-SVN: r169406
      Gerald Pfeifer committed
    • extend.texi (Thread-Local): Adjust reference to Ulrich Drepper's paper. · 419d1d37
      	* doc/extend.texi (Thread-Local): Adjust reference to Ulrich
      	Drepper's paper.
      
      From-SVN: r169404
      Gerald Pfeifer committed
    • Daily bump. · 3302e06c
      From-SVN: r169403
      GCC Administrator committed
  3. 29 Jan, 2011 12 commits
  4. 28 Jan, 2011 13 commits
    • mksysinfo.sh: Use -std=gnu99. · c9610865
      From-SVN: r169379
      Ian Lance Taylor committed
    • re PR preprocessor/47311 ([C++0x] ICE in tsubst @cp/pt.c:10502) · bc44baad
      Fix PR c++/47311
      
      gcc/cp/
      
      	PR c++/47311
      	* cp-tree.h (fixup_template_parms): Declare.
      	* pt.c (end_template_parm_list): Do not fixup template parms here.
      	(fixup_template_parms): Remove static. Fix typo in the
      	comments. Remove useless code statement.
      	(fixup_template_parm): For a template template parameter, fixup
      	its attributes before fixing up its type.
      	* parser.c
      	(cp_parser_template_declaration_after_export): After parsing
      	template parameters fixup their types.
      
      gcc/testsuite/
      
      	PR c++/47311
      	* g++.dg/template/param2.C: New test.
      
      From-SVN: r169377
      Dodji Seketeli committed
    • mksysinfo.sh: Fix Solaris specific define. · 46adbf0c
      From-SVN: r169376
      Ian Lance Taylor committed
    • re PR libfortran/47285 (G format outputs wrong number of characters when decimal… · 874634ed
      re PR libfortran/47285 (G format outputs wrong number of characters when decimal supplied in literal)
      
      2011-01-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/47285
      	* gfortran.dg/fmt_g.f: New test.
      
      From-SVN: r169375
      Jerry DeLisle committed
    • re PR fortran/47507 (PURE functions with VALUE arguments invalidly rejectd) · 36ea267b
      2011-01-28  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/47507
              * resolve.c (resolve_formal_arglist): Allow arguments with VALUE
              attribute also without INTENT.
      
      2011-01-28  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/47507
              * gfortran.dg/pure_formal_1.f90: New.
      
      From-SVN: r169372
      Tobias Burnus committed
    • gfortran.texi (Fortran 2003 status): Mention support for nonconstant namelist variables. · 5582f599
      2011-01-28  Tobias Burnus  <burnus@net-b.de>
      
              * gfortran.texi (Fortran 2003 status): Mention support for
              nonconstant namelist variables.
      
      From-SVN: r169371
      Tobias Burnus committed
    • re PR target/42894 (Invalid rtl sharing in Thumb1.) · 591e29d9
      	PR target/42894
      	* varasm.c (force_const_mem): Store copy of x in desc->constant
      	instead of x itself.
      	* expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst
      	itself into REG_EQUAL note.
      
      	* gcc.dg/tls/pr42894.c: New test.
      
      From-SVN: r169370
      Jakub Jelinek committed
    • * config/freebsd.opt (posix, rdynamic): New Driver options. · 62dcc44a
      From-SVN: r169368
      Joseph Myers committed
    • atomic_base.h: Do not include <stddef.h>. · c2ac0d63
      2011-01-28  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/atomic_base.h: Do not include <stddef.h>.
      	(kill_dependency): Uglify ret.
      
      From-SVN: r169364
      Paolo Carlini committed
    • * ja.po: Update. · f41371ea
      From-SVN: r169360
      Joseph Myers committed
    • * gcc.dg/pr47276.c: Add dg-require-visibility. · 5c04326f
      From-SVN: r169359
      Rainer Orth committed
    • re PR fortran/45170 ([F2003] allocatable character lengths) · 8d51f26f
      2011-01-28  Paul Thomas  <pault@gcc.gnu.org>
      	    Tobias Burnus  <burnus@gcc.gnu.org>
      
      	PR fortran/45170
      	PR fortran/35810
      	PR fortran/47350
      	* interface.c (compare_actual_formal): An allocatable or pointer
      	deferred length actual is only allowed if the formal argument
      	is also deferred length. Clean up whitespace.
      	* trans-expr.c (gfc_conv_procedure_call): Pass string length for
      	deferred character length formal arguments by reference. Do the
      	same for function results.
      	(gfc_trans_pointer_assignment): Do not do runtime check of lhs
      	and rhs character lengths, if deferred length lhs.  In this case
      	set the lhs character length to that of the rhs.
      	(gfc_conv_string_parameter): Remove assert that string length is
      	an integer type.
      	(is_scalar_reallocatable_lhs): New function.
      	(alloc_scalar_allocatable_for_assignment): New function.
      	(gfc_trans_assignment_1): Call above new function. If the rhs is
      	a deferred character length itself, makes ure that the function
      	is called before reallocation, so that the length is available.
      	(gfc_trans_asssignment): Remove error about assignment to
      	deferred length character variables.
      	* gfortran.texi : Update entry about (re)allocation on
      	assignment.
      	* trans-stmt.c (gfc_trans_allocate): Add code to handle deferred
      	length character variables.
      	* module.c (mio_typespec): Transfer deferred characteristic.
      	* trans-types.c (gfc_get_function_type): New code to generate
      	hidden typelist, so that those character lengths that are
      	passed by reference get the right type.
      	* resolve.c (resolve_contained_fntype): Supress error for
      	deferred character length functions.
      	(resolve_function, resolve_fl_procedure) The same.
      	(check_symbols): Remove the error that support for
      	entity with deferred type parameter is not yet implemented.
      	(resolve_fl_derived): The same.
      	match.c (alloc_opt_list): Allow MOLD for deferred length object.
      	* trans-decl.c (gfc_get_symbol_decl): For deferred character
      	length dummies, generate a local variable for string length.
      	(create_function_arglist): Hidden length can be a pointer.
      	(gfc_trans_deferred_vars): For deferred character length
      	results and dummies, assign the string length to the local
      	variable from the hidden argument on entry and the other way
      	round on exit, as appropriate.
      
      2011-01-28  Paul Thomas  <pault@gcc.gnu.org>
      	    Tobias Burnus  <burnus@gcc.gnu.org>
      
      	PR fortran/45170
      	PR fortran/35810
      	PR fortran/47350
      	* gfortran.dg/realloc_on_assign_3.f03: New test.
      	* gfortran.dg/realloc_on_assign_4.f03: New test.
      	* gfortran.dg/realloc_on_assign_5.f90: New test.
      	* gfortran.dg/allocatable_function_5.f90: New test.
      	* gfortran.dg/allocate_deferred_char_scalar_1.f90: New test.
      	* gfortran.dg/deferred_type_param_2.f90: Remove two "not yet
      	implemented" dg-errors.
      
      
      Co-Authored-By: Tobias Burnus <burnus@gcc.gnu.org>
      
      From-SVN: r169356
      Paul Thomas committed