Commit Graph

77028 Commits

Author SHA1 Message Date
GCC Administrator
2406129ccd Daily bump.
From-SVN: r117475
2006-10-06 00:17:15 +00:00
Mike Stump
b376472f31 Update comment
From-SVN: r117470
2006-10-05 23:12:04 +00:00
Richard Sandiford
c671c14680 mips.c (mips_pass_by_reference): Do not return false for EABI if type is NULL.
gcc/
	* config/mips/mips.c (mips_pass_by_reference): Do not return false
	for EABI if type is NULL.  Use a size check based on GET_MODE_SIZE
	instead.

From-SVN: r117468
2006-10-05 22:19:35 +00:00
Steven G. Kargl
2c3c88ec20 Makefile.am: Use $(M4) instead of m4.
2006-10-05  Steven G. Kargl  <kargl@gcc.gnu.org>

	* Makefile.am: Use $(M4) instead of m4.
	* Makefile.in: Regenerated.

From-SVN: r117467
2006-10-05 21:21:53 +00:00
Joseph Myers
49eb113ddc * sv.po: Update.
From-SVN: r117463
2006-10-05 18:03:18 +01:00
Bernd Schmidt
d4e8505009 bfin.md (subsi3): Lose expander, change previously unnamed pattern into subsi3.
* config/bfin/bfin.md (subsi3): Lose expander, change previously
	unnamed pattern into subsi3.  Use correct constraints/predicates.
	* config/bfin/bfin.h (CONST_OK_FOR_K): Handle "KN7".
	* config/bfin/predicates.md (reg_or_neg7bit_operand_p): New.

From-SVN: r117455
2006-10-05 10:46:41 +00:00
Gary Benson
afd4a54a00 2006-10-05 Gary Benson <gbenson@redhat.com>
* java/net/SocketPermission.java
	(processHostport): Cope with IPv6 addresses with a
	one-digit first component.

From-SVN: r117454
2006-10-05 09:32:57 +00:00
Ira Rosen
7251a8d1c5 loop.texi: Add data references analysis description.
* doc/loop.texi: Add data references analysis description.

From-SVN: r117453
2006-10-05 08:47:11 +00:00
Brooks Moses
cf822c0484 gfortran.texi: (Current Status): update and rewrite to reflect actual status more accurately.
2006-10-04  Brooks Moses  <bmoses@stanford.edu>

	* gfortran.texi: (Current Status): update and rewrite to reflect
	actual status more accurately.

From-SVN: r117449
2006-10-04 21:58:18 -07:00
GCC Administrator
dfb2717d35 Daily bump.
From-SVN: r117446
2006-10-05 00:17:15 +00:00
Brooks Moses
7fc15ba549 gfortran.texi: Consistently refer to the compiler as "GNU Fortran".
2006-10-04  Brooks Moses  <bmoses@stanford.edu>

	* gfortran.texi: Consistently refer to the compiler as "GNU
	Fortran".
	* intrinsic.texi: Ditto.
	* invoke.texi: Ditto.

From-SVN: r117442
2006-10-04 16:07:39 -07:00
Brooks Moses
4afc7adf84 gcov.texi: Add formatting to "Invoking gcov" section head.
2006-10-04  Brooks Moses  <bmoses@stanford.edu>

	* doc/gcov.texi: Add formatting to "Invoking gcov" section head.

From-SVN: r117441
2006-10-04 15:40:45 -07:00
Richard Henderson
e701a32a98 Makefile.in (libgcc.mk, [...]): Add emutls.c.
gcc/
        * Makefile.in (libgcc.mk, LIBGCC_DEPS): Add emutls.c.
        * builtin-types.def (BT_WORD): Make unsigned.
        (BT_FN_VOID_PTR_WORD_WORD_PTR): New.
        * builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS): New.
        (BUILT_IN_EMUTLS_REGISTER_COMMON): New.
        * c-decl.c (grokdeclarator): Don't error if !have_tls.
        * c-parser.c (c_parser_omp_threadprivate): Likewise.
        * cgraph.c (decide_is_variable_needed): Look at force_output.
        Recurse for emulated tls.
        * cgraphunit.c (cgraph_varpool_remove_unreferenced_decls): Remove
        checks redundant with decide_is_variable_needed.
        (cgraph_build_static_cdtor): Do cgraph_varpool_assemble_pending_decls.
        * dwarf2out.c (loc_descriptor_from_tree_1): Don't do anything for
        emulated tls.
        * expr.c (emutls_var_address): New.
        (expand_expr_real_1): Expand emulated tls.
        (expand_expr_addr_expr_1): Likewise.
        * libgcc-std.ver: Add __emutls_get_address, __emutls_register_common.
        * output.h (emutls_finish): Declare.
        * toplev.c (compile_file): Call it.
        * tree-ssa-address.c (gen_addr_rtx): Check for const-ness of the
        address before wrapping in CONST.
        * varasm.c (emutls_htab, emutls_object_type): New.
        (EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): New.
        (get_emutls_object_name, get_emutls_object_type): New.
        (get_emutls_init_templ_addr, emutls_decl): New.
        (emutls_common_1, emutls_finish): New.
        (assemble_variable): When emulating tls, swap decls; generate
        constructor for the emutls objects.
        (do_assemble_alias): When emulating tls, swap decl and target name.
        (default_encode_section_info): Don't add SYMBOL_FLAG_TLS_SHIFT
        for emulated tls.
        * emutls.c: New file.
        * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): Only emit
        tls_object for real tls.

gcc/cp/
        * decl.c (grokvardecl): Don't error if !have_tls.
        (grokdeclarator): Likewise.
        * parser.c (cp_parser_omp_threadprivate): Likewise.

gcc/fortran/
        * f95-lang.c (gfc_init_builtin_functions): Add __emutls_get_address
        and __emutls_register_common.
        * openmp.c (gfc_match_omp_threadprivate): Don't error if !have_tls.
        * trans-common.c (build_common_decl): Don't check have_tls.
        * trans-decl.c (gfc_finish_var_decl): Likewise.
        * types.def (BT_WORD, BT_FN_PTR_PTR): New.
        (BT_FN_VOID_PTR_WORD_WORD_PTR): New.

gcc/testsuite/
        * lib/target-supports.exp (check_effective_target_tls): Redefine
        to mean non-emulated tls.
        * gcc.dg/tls/alias-1.c: Remove tls requirement.
        * gcc.dg/tls/asm-1.c, gcc.dg/tls/debug-1.c, gcc.dg/tls/diag-1.c,
        gcc.dg/tls/diag-2.c, gcc.dg/tls/diag-3.c, gcc.dg/tls/diag-4.c,
        gcc.dg/tls/diag-5.c, gcc.dg/tls/init-1.c, gcc.dg/tls/nonpic-1.c,
        gcc.dg/tls/opt-10.c, gcc.dg/tls/opt-5.c, gcc.dg/tls/opt-6.c,
        gcc.dg/tls/opt-8.c, gcc.dg/tls/opt-9.c, gcc.dg/tls/pic-1.c,
        gcc.dg/tls/struct-1.c, gcc.dg/tls/trivial.c: Likewise.

From-SVN: r117440
2006-10-04 14:09:20 -07:00
Brooks Moses
7d61041445 MAINTAINERS (Write After Approval): Add myself.
2006-10-04  Brooks Moses  <bmoses@stanford.edu>

	* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r117437
2006-10-04 11:30:49 -07:00
Paul Thomas
25e8cb2e47 [multiple changes]
2006-10-04  Paul Thomas <pault@gcc.gnu.org>

	PR fortran/29343
	* resolve.c (resolve_allocate_expr): Exclude derived types from
	search for dependences between allocated variables and the
	specification expressions for other allocations in the same
	statement.

2006-10-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/29343
	* gfortran.dg/alloc_alloc_expr_2.f90: New test.

From-SVN: r117435
2006-10-04 16:54:19 +00:00
Zack Weinberg
9e8265851d Fix bug in constraint-check generator, reported by Rask Ingemann Lambertsen:
Fix bug in constraint-check generator, reported by Rask Ingemann
	Lambertsen:
	* genpreds.c (add_constraint): Don't remove anything from the
	expression here.
	(write_tm_constrs_h): Detect whether "op" argument is used, and
	mark it ARG_UNUSED if it isn't.
	(write_insn_const_int_ok_for_constraint): Skip the part of the
	expression that would test whether "op" (which is not available
	here) is a CONST_INT.

From-SVN: r117433
2006-10-04 16:41:55 +00:00
Francois-Xavier Coudert
2e38371e01 * gfortran.dg/bounds_check_fail_1.f90: New test.
From-SVN: r117431
2006-10-04 15:44:32 +00:00
Ryan Mansfield
1576e2be33 re PR c++/28448 (doc reference to -fdiagnostics-show-options looks like it should be -fdiagnostics-show-option)
2006-10-02  Ryan Mansfield  <rmansfield@qnx.com>

	PR c++/28448
	* doc/invoke.texi (fdiagnostics-show-option): Fix typos.

From-SVN: r117429
2006-10-04 10:21:08 +00:00
Benjamin Kosnik
58e93a261f 2.cc: Fail on Darwin 8.[0-4].* only.
2006-10-04  Benjamin Kosnik  <bkoz@redhat.com>
	    Mike Stump  <mrs@apple.com>
	
	* testsuite/27_io/ios_base/storage/2.cc: Fail on Darwin 8.[0-4].* only.
	* testsuite/23_containers/vector/resize/1.cc: Same.


Co-Authored-By: Mike Stump <mrs@apple.com>

From-SVN: r117428
2006-10-04 07:57:34 +00:00
Benjamin Kosnik
fc53a8251d pop_test.hpp: Correct typo.
2006-10-04  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/util/performance/priority_queue/mem_usage/
	pop_test.hpp: Correct typo.
	* testsuite/util/performance/assoc/mem_usage/
	multimap_insert_test.hpp: Same.
	* testsuite/util/performance/assoc/mem_usage/erase_test.hpp: Same.

From-SVN: r117427
2006-10-04 07:52:14 +00:00
Mark Mitchell
1cd7d7bf70 re PR c++/29020 (ICE using A<N>::A instead of A<N> in friend declaration)
PR c++/29020
	* friend.c (do_friend): Improve comments; add assertion.
	* parser.c (cp_parser_nested_name_specifier_opt): Resolve
	typenames for qualified names used in declarations, even when
	caching qualified name lookup.
	PR c++/29020
	* g++.dg/template/friend48.C: New test.

From-SVN: r117425
2006-10-04 06:53:55 +00:00
Paul Thomas
404d84017e re PR fortran/29098 (allocation of a pointer to a derived type crashes)
2006-10-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/29098
	* resolve.c (resolve_structure_cons): Do not return FAILURE if
	component expression is NULL.

2006-10-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/29098
	* gfortran.dg/default_initialization_2.f90: New test.

From-SVN: r117424
2006-10-04 04:48:35 +00:00
Geoffrey Keating
ee1d3dc013 darwin-libgcc.10.5.ver: Update to symbol list for current Leopard versions.
* config/i386/darwin-libgcc.10.5.ver: Update to symbol list for
	current Leopard versions.
	* config/rs6000/darwin-libgcc.10.5.ver: Likewise.

From-SVN: r117423
2006-10-04 01:38:30 +00:00
GCC Administrator
4a619ca483 Daily bump.
From-SVN: r117421
2006-10-04 00:17:24 +00:00
Paul Thomas
777265710d re PR fortran/20779 (ALLOCATEing the STAT variable not detected)
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
2006-10-03 21:40:24 +00:00
Steven G. Kargl
77b558e2d3 arith.c (gfc_check_real_range): Use correct exponent range for subnormal numbers.
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
2006-10-03 21:28:05 +00:00
Paul Thomas
5be382734d re PR fortran/29284 (ICE for optional subroutine argument)
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
2006-10-03 20:13:03 +00:00
Steven G. Kargl
b7bf91917a nearest_1.f90: Add -O0 because -ffloat-store is insufficient to inhibit some test failures at -O3.
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
2006-10-03 19:18:09 +00:00
Mark Mitchell
547e3b2a63 re PR c++/29138 (access declarations don't work for classes)
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
2006-10-03 18:39:32 +00:00
Mark Mitchell
981114e175 re PR c++/29138 (access declarations don't work for classes)
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
2006-10-03 18:04:10 +00:00
Benjamin Kosnik
9f9900dbb6 testsuite_allocator.h (allocation_tracker): To tracker_allocator_counter.
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
2006-10-03 17:01:57 +00:00
Kazu Hirata
c0a699675b * utils.c: Fix a typo.
From-SVN: r117407
2006-10-03 16:36:41 +00:00
Kazu Hirata
2285b0531d * decl.c, utils.c: Fix comment typos.
From-SVN: r117405
2006-10-03 16:28:45 +00:00
Kazu Hirata
baf2c25834 * doc/install.texi: Fix typos.
From-SVN: r117404
2006-10-03 16:26:54 +00:00
Eric Botcazou
224869d958 builtins.c (expand_builtin_return_addr): Deal with FRAME_ADDR_RTX.
* 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
2006-10-03 16:25:00 +00:00
Kaveh Ghazi
f0d1d9711d Add PR numbers for previously installed fix.
From-SVN: r117399
2006-10-03 16:17:57 +00:00
Benjamin Kosnik
382a135134 native_pq_tag.hpp: Remove.
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
2006-10-03 14:26:14 +00:00
François-Xavier Coudert
c55cebdacd re PR middle-end/27478 (entry and addressable and value-expr: and the gimplifier)
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
2006-10-03 13:44:09 +00:00
Gary Benson
704312e738 2006-10-03 Gary Benson <gbenson@redhat.com>
* java/net/InetAddress.java
	(<clinit>): Reorder the static initializers.

From-SVN: r117394
2006-10-03 10:27:28 +00:00
Volker Reichelt
95fb85c625 re PR c++/29291 (ICE on invalid use of new)
PR c++/29291
	* init.c (build_new): Check for invalid init.

	* g++.dg/parse/new4.C: New test.

From-SVN: r117393
2006-10-03 10:08:22 +00:00
Uros Bizjak
36a43def8a * ChangeLog: Add missing entries to last entry.
From-SVN: r117389
2006-10-03 08:33:02 +02:00
Uros Bizjak
285e8bda5c pthread-init-common.h: Define _GNU_SOURCE.
* 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
2006-10-03 08:01:49 +02:00
Uros Bizjak
4d98def06f inclhack.def (glibc_mutex_init): Also fix PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and...
* inclhack.def (glibc_mutex_init): Also fix
	PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
	PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.

From-SVN: r117386
2006-10-03 07:52:05 +02:00
Jerry DeLisle
6aacba3755 re PR fortran/19260 (& not required when splitting a token in continuation)
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
2006-10-03 04:09:49 +00:00
Jerry DeLisle
5a06474ce9 re PR fortran/19262 (more than thirty-nine continuation lines should issue a std-warn)
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
2006-10-03 03:58:20 +00:00
Jack Howarth
2834a5fe89 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
2006-10-03 01:20:22 +00:00
GCC Administrator
f154929ca6 Daily bump.
From-SVN: r117381
2006-10-03 00:17:16 +00:00
Mark Mitchell
3c17e16e31 re PR c++/29226 (ICE in make_decl_rtl, at varasm.c:886)
PR c++/29226
	* typeck.c (cxx_sizeof_or_alignof_type): Tidy.  In templates, do
	not try to actually evaluate sizeof for a VLA type.
	PR c++/29226
	* g++.dg/template/vla1.C: New test.

From-SVN: r117375
2006-10-02 22:21:02 +00:00
Paolo Carlini
1c846af9c5 rc_string_base.h (_M_compare<wchar_t>): Protect with _GLIBCXX_USE_WCHAR_T.
2006-10-02  Paolo Carlini  <pcarlini@suse.de>

	* include/ext/rc_string_base.h (_M_compare<wchar_t>):
	Protect with _GLIBCXX_USE_WCHAR_T.
	* include/ext/sso_string_base.h (_M_compare<wchar_t>):
	Likewise.
	(__sso_string_base<>::_M_destroy): Inline.

From-SVN: r117373
2006-10-02 16:09:19 +00:00
Benjamin Kosnik
1f1a03efff basic_types.hpp (comp_hash_): Remove, format.
2006-10-02  Benjamin Kosnik  <bkoz@redhat.com>

	* include/ext/pb_ds/detail/basic_types.hpp (comp_hash_): Remove,
	format.	
	* include/ext/pb_ds/detail/types_traits.hpp
	(types_traits::comp_hash): Use pair typedef.	
	* include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
	* include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.

From-SVN: r117371
2006-10-02 14:53:41 +00:00