1. 04 Oct, 2006 10 commits
  2. 03 Oct, 2006 23 commits
    • re PR fortran/20779 (ALLOCATEing the STAT variable not detected) · 77726571
      2006-10-03  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/20779
      	PR fortran/20891
      	* resolve.c (find_sym_in_expr): New function that returns true
      	if a symbol is found in an expression.
      	(resolve_allocate_expr): Check whether the STAT variable is
      	itself allocated in the same statement.  Use the call above to
      	check whether any of the allocated arrays are used in array
      	specifications in the same statement.
      
      2006-10-03  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/20779
      	PR fortran/20891
      	* gfortran.dg/alloc_alloc_expr_1.f90: New test.
      
      From-SVN: r117415
      Paul Thomas committed
    • arith.c (gfc_check_real_range): Use correct exponent range for subnormal numbers. · 77b558e2
      2006-10-03  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	* arith.c (gfc_check_real_range):  Use correct exponent range for
      	subnormal numbers.
      
      From-SVN: r117414
      Steven G. Kargl committed
    • re PR fortran/29284 (ICE for optional subroutine argument) · 5be38273
      2006-10-03  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/29284
      	PR fortran/29321
      	PR fortran/29322
      	* trans-expr.c (gfc_conv_function_call): Check the expression
      	and the formal symbol are present when testing the actual
      	argument.
      
      	PR fortran/25091
      	PR fortran/25092
      	* resolve.c (resolve_entries): It is an error if the entries
      	of an array-valued function do not have the same shape.
      
      2006-10-03  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/29284
      	* gfortran.dg/optional_assumed_charlen_1.f90: New test.
      
      	PR fortran/29321
      	PR fortran/29322
      	* gfortran.dg/missing_optional_dummy_2.f90: New test.
      
      	PR fortran/25091
      	PR fortran/25092
      	* gfortran.dg/entry_array_specs_1.f90: New test.
      
      From-SVN: r117413
      Paul Thomas committed
    • nearest_1.f90: Add -O0 because -ffloat-store is insufficient to inhibit some test failures at -O3. · b7bf9191
      2006-10-03  Steven G. Kargl  <kargl@gcc.gnu.org>
      
              * gfortran.dg/nearest_1.f90: Add -O0 because -ffloat-store is
              insufficient to inhibit some test failures at -O3.  Do testing
              on integers.
      
      From-SVN: r117412
      Steven G. Kargl committed
    • re PR c++/29138 (access declarations don't work for classes) · 547e3b2a
      	PR c++/29138
      	* decl2.c (grokfield): Don't handle access declarations here.
      	* parser.c (cp_parser_using_declaration): Handle access
      	declarations too.
      	(cp_parser_block_declaration): Adjust calls to
      	cp_parser_using_declaration.
      	(cp_parser_member_declaration): Likewise.  Use
      	cp_parser_using_declaration to look for access_declarations.
      	PR c++/29138
      	* g++.dg/inherit/access8.C: New test.
      	* g++.dg/template/dtor4.C: Tweak error messages.
      
      From-SVN: r117411
      Mark Mitchell committed
    • re PR c++/29138 (access declarations don't work for classes) · 981114e1
      	PR c++/29138
      	* decl2.c (grokfield): Don't handle access declarations here.
      	* parser.c (cp_parser_using_declaration): Handle access
      	declarations too.
      	(cp_parser_block_declaration): Adjust calls to
      	cp_parser_using_declaration.
      	(cp_parser_member_declaration): Likewise.  Use
      	cp_parser_using_declaration to look for access_declarations.
      	PR c++/29138
      	* g++.dg/inherit/access8.C: New test.
      	* g++.dg/template/dtor4.C: Tweak error messages.
      
      From-SVN: r117409
      Mark Mitchell committed
    • testsuite_allocator.h (allocation_tracker): To tracker_allocator_counter. · 9f9900db
      2006-10-03  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/util/testsuite_allocator.h (allocation_tracker): To
      	tracker_allocator_counter.
      	(allocation_tracker::allocationTotal): To get_allocation_count.
      	(allocation_tracker::deallocationTotal): To get_deallocation_count.
      	(allocation_tracker::constructCount): To get_construct_count.
      	(allocation_tracker::destructCount): To get_destruct_count.	
      	(allocation_tracker::resetCounts): To reset.
      	(tracker_alloc): To tracker_allocator.
      	* testsuite/util/performance/mem: Remove.
      	* testsuite/util/performance/mem/mem_track_allocator_base.hpp: Remove.
      	* testsuite/util/performance/mem/mem_track_allocator.hpp: Remove.
      	* testsuite/27_io/basic_stringbuf/4.cc: Adjust for new names
      	or includes.
      	* testsuite/ext/hash_set/check_construct_destroy.cc: Same.
      	* testsuite/ext/slist/check_construct_destroy.cc: Same.
      	* testsuite/performance/ext/pb_ds/
      	hash_random_int_erase_mem_usage.cc: Same.
      	* testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
      	* testsuite/performance/ext/pb_ds/
      	priority_queue_text_pop_mem_usage.cc: Same.
      	* testsuite/23_containers/vector/capacity/2.cc: Same.
      	* testsuite/23_containers/vector/cons/4.cc: Same.
      	* testsuite/23_containers/vector/check_construct_destroy.cc: Same.
      	* testsuite/23_containers/deque/cons/2.cc: Same.
      	* testsuite/23_containers/deque/check_construct_destroy.cc: Same.
      	* testsuite/23_containers/list/check_construct_destroy.cc: Same.
      	* testsuite/23_containers/set/check_construct_destroy.cc: Same.
      	* testsuite/util/testsuite_allocator.h
      	* testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp
      	* testsuite/util/performance/assoc/mem_usage/multimap_insert_test.hpp
      	* testsuite/util/performance/assoc/mem_usage/erase_test.hpp
      	* testsuite/util/testsuite_allocator.cc: Same.
      
      From-SVN: r117408
      Benjamin Kosnik committed
    • * utils.c: Fix a typo. · c0a69967
      From-SVN: r117407
      Kazu Hirata committed
    • * decl.c, utils.c: Fix comment typos. · 2285b053
      From-SVN: r117405
      Kazu Hirata committed
    • * doc/install.texi: Fix typos. · baf2c258
      From-SVN: r117404
      Kazu Hirata committed
    • builtins.c (expand_builtin_return_addr): Deal with FRAME_ADDR_RTX. · 224869d9
      	* builtins.c (expand_builtin_return_addr): Deal with FRAME_ADDR_RTX.
      	* doc/tm.texi (Basic Stack Layout): Document FRAME_ADDR_RTX.
      	* config/sparc/sparc.h (FRAME_ADDR_RTX): Define.
      
      From-SVN: r117403
      Eric Botcazou committed
    • Add PR numbers for previously installed fix. · f0d1d971
      From-SVN: r117399
      Kaveh Ghazi committed
    • native_pq_tag.hpp: Remove. · 382a1351
      2006-10-03  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/util/native_type/priority_queue/native_pq_tag.hpp: Remove.
      	* testsuite/util/statistic/sample_var.hpp: Rename to...
      	* testsuite/util/statistic/sample_variance.hpp: ... this.
      	* testsuite/util/statistic/res_recorder.hpp: Rename to...
      	* testsuite/util/statistic/result_recorder.hpp: ... this.
      	* testsuite/util/statistic/sample_mean.hpp: Format.
      	* testsuite/util/statistic/sample_mean_confidence_checker.hpp: Same.
      	* testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
      	* testsuite/util/regression/trait/erase_if_fn.hpp: Same.
      	* testsuite/util/regression/trait/assoc/trait.hpp: Same.
      	* testsuite/util/native_type/priority_queue/
      	native_priority_queue.hpp: Same.
      	* testsuite/util/native_type/assoc/native_tree_tag.hpp: Same.
      	* testsuite/util/native_type/assoc/native_hash_tag.hpp: Same.
      	* testsuite/util/native_type/assoc/native_hash_map.hpp: Same.
      	* testsuite/util/performance/priority_queue/timing/join_test.hpp: Same.
      	* testsuite/util/performance/priority_queue/timing/
      	modify_test.hpp: Same.
      	* testsuite/util/performance/assoc/timing/
      	subscript_insert_test.hpp: Same.
      	* testsuite/util/performance/time/timing_test_base.hpp: Same.
      
      From-SVN: r117397
      Benjamin Kosnik committed
    • re PR middle-end/27478 (entry and addressable and value-expr: and the gimplifier) · c55cebda
      	PR middle-end/27478
      
      	* trans-decl.c (gfc_get_fake_result_decl): Mark var as
      	TREE_ADDRESSABLE.
      
      	* gfortran.dg/entry_8.f90: New test.
      
      From-SVN: r117396
      François-Xavier Coudert committed
    • 2006-10-03 Gary Benson <gbenson@redhat.com> · 704312e7
      	* java/net/InetAddress.java
      	(<clinit>): Reorder the static initializers.
      
      From-SVN: r117394
      Gary Benson committed
    • re PR c++/29291 (ICE on invalid use of new) · 95fb85c6
      	PR c++/29291
      	* init.c (build_new): Check for invalid init.
      
      	* g++.dg/parse/new4.C: New test.
      
      From-SVN: r117393
      Volker Reichelt committed
    • * ChangeLog: Add missing entries to last entry. · 36a43def
      From-SVN: r117389
      Uros Bizjak committed
    • pthread-init-common.h: Define _GNU_SOURCE. · 285e8bda
              * gcc-dg/pthread-init-common.h: Define _GNU_SOURCE. Add tests for
              PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP,
              PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP,
              PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP and
              PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP mutex initializers.
      
      From-SVN: r117387
      Uros Bizjak committed
    • inclhack.def (glibc_mutex_init): Also fix PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and... · 4d98def0
      	* inclhack.def (glibc_mutex_init): Also fix
      	PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
      	PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
      
      From-SVN: r117386
      Uros Bizjak committed
    • re PR fortran/19260 (& not required when splitting a token in continuation) · 6aacba37
      2006-10-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/19260
      	* gfortran.dg/continuation.f90: Rename to continuation_1.f90.
      	* gfortran.dg/continuation_2.f90: New test.
      
      	PR fortran/19262
      	* gfortran.dg/continuation_3.f90: New test.
      	* gfortran.dg/continuation_4.f90: New test.
      	* gfortran.dg/continuation_5.f: New test.
      	* gfortran.dg/continuation_6.f: New test.
      
      From-SVN: r117385
      Jerry DeLisle committed
    • re PR fortran/19262 (more than thirty-nine continuation lines should issue a std-warn) · 5a06474c
      2006-10-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
          PR fortran/19262
          * gfortran.h (gfc_option_t): Add max_continue_fixed and max_continue_free.
          * options.c (gfc_init_options): Initialize fixed form and free form
          consecutive continuation line limits.
          * scanner.c (gfc_scanner_init_1): Initialize continue_line
          and continue_count. (gfc_next_char_literal): Count the number of
          continuation lines in the current statement and warn if
          limit is exceeded.
      
      2006-10-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
          PR fortran/19260
          * scanner.c (gfc_next_char_literal): Add check for missing '&'
          and warn if in_string, otherwise return ' '.
      
      From-SVN: r117384
      Jerry DeLisle committed
    • unwind-dw2-fde-darwin.c (getsectdatafromheader_64): Fix first arg to be struct… · 2834a5fe
      unwind-dw2-fde-darwin.c (getsectdatafromheader_64): Fix first arg to be struct mach_header_64* instead.
      
      	* unwind-dw2-fde-darwin.c (getsectdatafromheader_64): Fix first
      	arg to be struct mach_header_64* instead.
      
      From-SVN: r117383
      Jack Howarth committed
    • Daily bump. · f154929c
      From-SVN: r117381
      GCC Administrator committed
  3. 02 Oct, 2006 7 commits