Commit Graph

64603 Commits

Author SHA1 Message Date
Mark Mitchell dfb5c52315 re PR c++/18464 (error message about "non-lvalue in unary '&'" when using ?: operator)
PR c++/18464
	* call.c (build_this): In templates, do not bother with
	build_unary_op.
	* typeck.c (unary_complex_lvalue): In a template, always refuse
	simplifications.

	PR c++/18492
	* cp-gimplify.c (cp_genericize): Relax assertion.

	PR c++/11224
	* cvt.c (convert_to_void): Warn about unused values.

	PR c++/18257
	* rtti.c (emit_support_tinfos): On systems without weak symbols,
	emit the runtime library type-info objects as non-COMDAT.

	PR c++/18464
	* g++.dg/template/cond5.C: New test.

	PR c++/18492
	* g++.dg/inherit/thunk3.C: New test.

	PR c++/11224
	* g++.dg/warn/Wunused-9.C: New test.

From-SVN: r92491
2004-12-22 18:00:39 +00:00
Janis Johnson 606145e4e0 * lib/gcc-dg.exp (dg-xfail-if): Fix the flags compared against.
From-SVN: r92490
2004-12-22 17:51:01 +00:00
Mark Mitchell e90f1b9de7 Makefile.in (install-common): Remove special-case code for when SPECS is defined.
* Makefile.in (install-common): Remove special-case code for when
	SPECS is defined.

From-SVN: r92489
2004-12-22 17:22:59 +00:00
Jan Beulich f199d860ae config.gcc: Add dbxelf.h to NetWare's tm_file.
gcc/
2004-12-22  Jan Beulich  <jbeulich@novell.com>

	* config.gcc: Add dbxelf.h to NetWare's tm_file.
	* config/i386/netware-crt0.c: Prototype __init_environment and
	__deinit_environment prior to their definition.
	(__init_environment): Correct invokation of constructor function.
	* config/i386/netware.h (TARGET_OS_CPP_BUILTINS): Use
	builtin_define_std rather than builtin_define on IAPX386.
	* config/i386/nwld.h: Disable stabs debugging info with the linker
	this file supports.
	* config/i386/t-nwld (SHLIB_LINK): Do not use a temporary file for
	the output. Add -posix to the options as that is the more compatible
	mode.
	* gthr-nks.h: Formatting.
	(__gthread_mutex_init_function): Kill the dubious use of
	NX_MUTEX_RECURSIVE as it is now clear that the traditional mutexes
	were not meant to be recursive.
	(__gthread_recursive_mutex_t, __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION,
	__gthread_recursive_mutex_init_function,
	__gthread_recursive_mutex_lock, __gthread_recursive_mutex_trylock,
	__gthread_recursive_mutex_unlock): New.

gcc/testsuite/
2004-12-22  Jan Beulich  <jbeulich@novell.com>

	* gcc.dg/20040813-1.c: Skip for *-*-netware*.

From-SVN: r92488
2004-12-22 08:41:43 +00:00
Alexandre Oliva 340beeb5c2 t-linux64: Remove code that messed with $(SPECS).
* config/mips/t-linux64: Remove code that messed with $(SPECS).
(MULTILIB_OPTIONS, MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Move
n32 to the front.
(MULTILIB_EXTRA_OPTS, CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S):
Removed.
* config/mips/linux64.h (DRIVER_SELF_SPECS): Don't handle
-mabi-fake-default.
(SUBTARGET_TARGET_SWITCHES): Likewise.

From-SVN: r92487
2004-12-22 06:02:15 +00:00
Mark Mitchell 943e3eded2 re PR c++/18378 (ICE when returning a copy of a packed member)
PR c++/18378
	* call.c (convert_like_real): Do not permit the use of a copy
	constructor to copy a packed field.

	PR c++/17413
	* decl.c (grokdeclarator): Return error_mark_node, not
	void_type_node, to indicate errors.
	* parser.c (cp_parser_template_parameter_list): Robustify.
	(cp_parser_template_parameter): Likewise.

	PR c++/19034
	* tree.c (cp_tree_equal): Handle OVERLOAD.

	PR c++/18378
	* g++.dg/ext/packed8.C: New test.

	PR c++/13268
	* g++.dg/template/crash31.C: New test.

	PR c++/19034
	* g++.dg/template/crash30.C: New test.

From-SVN: r92486
2004-12-22 03:34:55 +00:00
Volker Reichelt be99edf883 decl.c (define_label): Use POP_TIMEVAR_AND_RETURN.
* decl.c (define_label): Use POP_TIMEVAR_AND_RETURN.
	* name-lookup.c (pushdecl_class_level): Likewise.

From-SVN: r92485
2004-12-22 02:38:15 +00:00
Volker Reichelt a90f8ad5fb * name-lookup.c (pushtag): Add missing POP_TIMEVAR_AND_RETURN.
From-SVN: r92484
2004-12-22 02:11:35 +00:00
GCC Administrator df35e33cd5 Daily bump.
From-SVN: r92479
2004-12-22 00:16:16 +00:00
Andrew Pinski af76441ffa re PR c++/18984 (ICE in check_pointer_types_r)
2004-12-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/18984
        * pointer-set.c (pointer_set_contains): Add back.
        * pointer-set.h (pointer_set_contains): Add back.

2004-12-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/18984
        * cp-gimplify.c (cp_genericize_r): Don't insert first but instead
        check to see if contains the pointer.  Insert the statement before
        returning.

2004-12-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/18984
        * g++.dg/eh/ctor3.C: New test.

From-SVN: r92470
2004-12-21 13:20:02 -08:00
Eric Botcazou 697290b71d stabs-1.m: Allow section name to be quoted and assembly label to begin with '.LL'.
* objc.dg/stabs-1.m: Allow section name to be quoted and
	assembly label to begin with '.LL'.

From-SVN: r92469
2004-12-21 21:02:05 +00:00
Richard Henderson b4830636f8 gimplify.c (eval_save_expr): New.
* gimplify.c (eval_save_expr): New.
        (gimplify_one_sizepos): Use it.
        * stor-layout.c (layout_type): Unshare TYPE_MIN/MAX_VALUE.

From-SVN: r92468
2004-12-21 11:27:08 -08:00
Janis Johnson 1126bfdd6b * gcc.dg/vect/vect.exp
(check_effective_target_lp64_or_vect_no_align): New.
	* gcc.dg/vect/vect-77.c: Use it.
	* gcc.dg/vect/vect-78.c: Use it.

From-SVN: r92467
2004-12-21 18:05:36 +00:00
Janis Johnson eeea13c2cd target-supports.exp (check_effective_target_vect_no_max, [...]): New.
* lib/target-supports.exp
	(check_effective_target_vect_no_max,
	check_effective_target_vect_no_bitwise,
	check_effective_target_vect_no_align): New.
	* gcc.dg/vect/vect-13.c: Use them.
	* gcc.dg/vect/vect-17.c: Ditto.
	* gcc.dg/vect/vect-18.c: Ditto.
	* gcc.dg/vect/vect-19.c: Ditto.
	* gcc.dg/vect/vect-20.c: Ditto.
	* gcc.dg/vect/vect-27.c: Ditto.
	* gcc.dg/vect/vect-29.c: Ditto.
	* gcc.dg/vect/vect-44.c: Ditto.
	* gcc.dg/vect/vect-48.c: Ditto.
	* gcc.dg/vect/vect-50.c: Ditto.
	* gcc.dg/vect/vect-52.c: Ditto.
	* gcc.dg/vect/vect-54.c: Ditto.
	* gcc.dg/vect/vect-56.c: Ditto.
	* gcc.dg/vect/vect-58.c: Ditto.
	* gcc.dg/vect/vect-60.c: Ditto.
	* gcc.dg/vect/vect-72.c: Ditto.
	* gcc.dg/vect/vect-80.c: Ditto.

From-SVN: r92466
2004-12-21 18:03:31 +00:00
Nathan Sidwell 7a8380aebb re PR c++/14075 (("foo") accepted as char[] initializer)
cp:
	PR c++/14075
	* decl.c (check_initializer): Check string initializer of array is
	not parenthesized.
	* cp-tree.h (PAREN_STRING_LITERAL_P): New.
	* semantics.c (finish_parenthesized_expr): Mark a STRING_CST.
	* error.c (dump_expr): <STRING_CST case> Add parens, if needed.
testsuite:
	PR c++/14075
	* g++.dg/init/string1.C: New.

From-SVN: r92464
2004-12-21 17:54:25 +00:00
Nathan Sidwell 38b3627d6f system.c (IN_RANGE): Use plain unsigned, not unsigned HOST_WIDE_INT.
* system.c (IN_RANGE): Use plain unsigned, not unsigned
	HOST_WIDE_INT.
	* tree.def (VOID_TYPE, INTEGER_TYPE, REAL_TYPE, COMPLEX_TYPE,
	VECTOR_TYPE, OFFSET_TYPE, ENUMERAL_TYPE, BOOLEAN_TYPE, CHAR_TYPE,
	POINTER_TYPE, REFERENCE_TYPE, METHOD_TYPE, FUNCTION_TYPE,
	FILE_TYPE, ARRAY_TYPE, RECORD_TYPE, UNION_TYPE,
	QUAL_UNION_TYPE): Reorder for better code efficiency.
	(CONST_DECL, TYPE_DECL, VAR_DECL, FIELD_DECL, PARM_DECL): Likewise.
	(INDIRECT_REF, ALIGN_INDIRECT_REF, MISALIGNED_INDIRECT_REF): Likewise.
	* tree.h (INDIRECT_REF_P): Reorder checks for better optimization.
	(IS_EXPR_CODE_CLASS): Use IN_RANGE.
	(INTEGRAL_TYPE_P, FLOAT_TYPE_P): Reorder checks for better
	optimization.

	* cp/cp-tree.def (TEMPLATE_TYPE_PARM,
	BOUND_TEMPLATE_TEMPLATE_PARM, TYPE_OF_TYPE, TYPENAME_TYPE): Reorder
	for better code efficiency.
	* cp/cp-tree.h (CLASS_TYPE_P): Short circuit IS_AGGR_TYPE check.
	(CAN_HAVE_FULL_LANG_DECL_P): Reorder for better optimization.
	(INTEGRAL_CODE_P, CP_INTEGRAL_TYPE_P,
	INTEGRAL_OR_ENUMERATION_TYPE_P, SCALAR_TYPE_P,
	CP_AGGREGATE_TYPE_P, TYPE_PTROB_P, TYPE_REF_OBJ_P,
	TYPE_PTROBV_P): Likewise.

From-SVN: r92463
2004-12-21 17:43:27 +00:00
David O'Brien 1763d00076 freebsd-spec.h: Use KSE pthread lib for -pthread.
2004-12-21  David O'Brien  <obrien@FreeBSD.org>
	* config/freebsd-spec.h:  Use KSE pthread lib for -pthread.

From-SVN: r92462
2004-12-21 17:34:18 +00:00
Nathan Sidwell fd749a603d re PR c++/18975 (Copying objects with mutable non-static data members)
cp:
	PR c++/18975
	* method.c (do_build_copy_constructor): Refactor. Don't const
	qualify a mutable field.
	(do_build_assign_ref): Likewise.
testsuite:
	PR c++/18975
	* g++.dg/other/synth1.C: New.

From-SVN: r92461
2004-12-21 17:28:35 +00:00
James A. Morrison ebef4d3044 re PR c/18963 (static and nested declarations cause an ice)
2004-12-21  James A. Morrison  <phython@gcc.gnu.org>

       PR c/18963
       * c-decl.c (pushdecl): Remove block trying to merge static function
       declarations at block scope to file scope declarations.

testsuite:
        PR c/18963
        * gcc.dg/pr18963-1.c: New test.

From-SVN: r92460
2004-12-21 17:07:06 +00:00
James A. Morrison 6f17bbcf05 re PR c/18596 (ICE in make_decl_rtl)
2004-12-19  James A. Morrison  <phython@gcc.gnu.org>

       PR c/18596
       * c-parse.in (initdcl): Don't process a declaration if start_decl fails.
       (notype_initdcl):  Don't process a declaration if start_decl fails.
       * c-decl.c (start_decl): Fail if grokdeclarator fails.
       (grokdeclarator): Fail if a function definition has an invalid storage
       class.
       * c-typeck.c (start_init): Treat error_mark_node the same as 0.

testsuite:
        PR c/18596
        * gcc.dg/funcdef-storage-1.c (foo): Remove.
        * gcc.dg/pr18596-1.c: Use dg-error.
        (dg-options): Use -fno-unit-at-a-time.
        * gcc.dg/pr18596-2.c: New test.
        * gcc.dg/pr18596-3.c: New test.

From-SVN: r92459
2004-12-21 17:01:08 +00:00
Richard Henderson 41afe4ef3e i386.c (x86_sse_split_regs): Rename from x86_sse_partial_regs.
* config/i386/i386.c (x86_sse_split_regs): Rename from
        x86_sse_partial_regs.
        * config/i386/i386.h (x86_sse_split_regs): Likewise.
        (TARGET_SSE_SPLIT_REGS): Rename from TARGET_SSE_PARTIAL_REGS.
        * config/i386/i386.md (*): Update to match.  Remove two
        floatsisf splitters that use it.

From-SVN: r92458
2004-12-21 08:46:04 -08:00
Richard Henderson 1db70317b3 i386.c (x86_sse_partial_regs_for_cvtsd2ss): Remove.
* config/i386/i386.c (x86_sse_partial_regs_for_cvtsd2ss): Remove.
        * config/i386/i386.h (TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS): Remove.
        * config/i386/i386.md (truncdfsf2_1_sse): Don't test it.
        (truncdfsf2_2, truncdfsf2_sse_only): Likewise.
        (truncdfsf2_1_sse_nooverlap, truncdfsf2_2_nooverlap): Remove.
        (truncdfsf2_sse_only_nooverlap): Remove.

From-SVN: r92457
2004-12-21 08:06:50 -08:00
Richard Henderson 944c6ecc79 * config/i386/i386.h (TARGET_SSE_TYPELESS_LOAD0): Remove.
From-SVN: r92456
2004-12-21 07:45:05 -08:00
Eric Botcazou d20b11909f expr.c (emit_group_load_1): Return the source if the move is a regular move between complex values.
* expr.c (emit_group_load_1): Return the source if the move
	is a regular move between complex values.

From-SVN: r92455
2004-12-21 07:49:58 +00:00
Roger Sayle bd34034909 re PR middle-end/18683 (seg fault in local allocate)
PR middle-end/18683
	* config/rs6000/rs6000.c (current_file_function_operand): Only check
	current_function_decl's DECL_RTL if it has already been set.

From-SVN: r92453
2004-12-21 03:18:47 +00:00
Roger Sayle 5fdf61fee3 re PR middle-end/18683 (seg fault in local allocate)
PR middle-end/18683
	* function.c (pop_function_context_from): Don't reset reg_renumber.

	* g++.dg/opt/pr18683-1.C: New test case.

From-SVN: r92452
2004-12-21 01:37:35 +00:00
Tom Tromey f5b25f8cca natClassLoader.cc (_Jv_RegisterClassHookDefault): Re-enable duplicate class registration error.
* java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
	Re-enable duplicate class registration error.

From-SVN: r92447
2004-12-21 01:03:55 +00:00
Tom Tromey d2b55bc559 jar.exp (gcj_jar_interpret): Updated.
* testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
	* testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
	* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
	* testsuite/lib/libjava.exp (libjava_find_spec): Don't use
	get_multilibs.
	(libjava_find_gij): Likewise.  Changed return result if gij not
	found.
	(test_libjava_from_javac): Updated.

From-SVN: r92446
2004-12-21 01:01:08 +00:00
Tom Tromey 90d8362105 re PR libgcj/15001 ([3.4 only] Using JNI with interpreter and interface methods yields SIGSEGV)
PR java/15001
	* testsuite/libjava.jni/iface.c: New file.
	* testsuite/libjava.jni/iface.out: New file.
	* testsuite/libjava.jni/iface.java: New file.

From-SVN: r92445
2004-12-21 00:49:45 +00:00
GCC Administrator f8c940c55c Daily bump.
From-SVN: r92443
2004-12-21 00:16:15 +00:00
Eric Botcazou 36d7571c0d re PR middle-end/18776 (Libgfortran doesn't build again)
PR middle-end/18776
	* expr.c (write_complex_part): Use a subreg if the original object
	is a hard reg that spans an even number of regs or a MEM.
	(read_complex_part): Likewise.

From-SVN: r92440
2004-12-20 23:04:37 +00:00
Andrew Pinski def9360c67 change the changelog entry to:
2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>

        PR libobjc/12035
        * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
        they are not used.
        Include limits.h and stdlib.h.
        Define BITS_PER_WORD.

From-SVN: r92439
2004-12-20 14:35:07 -08:00
Andrew Pinski 63b6f9ea4b re PR libobjc/12035 (Patch for libobjc/gc.c that fixes compilation error of Objective-C with garbage collector enabled)
2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>

        PR libobjc/12035
        * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
        they are not used.  Include limits.h and stdlib.h.

From-SVN: r92437
2004-12-20 14:32:39 -08:00
Mark Mitchell 8ff61ea72f Makefile.in (install-common): Do not install the specs file unless SPECS is defined.
* Makefile.in (install-common): Do not install the specs file
	unless SPECS is defined.

From-SVN: r92433
2004-12-20 21:10:44 +00:00
Andrew Pinski 6e822bf64a re PR other/19093 (g++.dg/opt/max1.C fails on ia64 and x86_64)
2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>

        PR other/19093
        * g++.dg/opt/max1.C: Fix for 64bit targets.

From-SVN: r92430
2004-12-20 13:07:13 -08:00
Zdenek Dvorak bc4ad38cc7 re PR rtl-optimization/18942 (Do loop is not as optimized as 3.3.2)
PR rtl-optimization/18942
	* simplify-rtx.c (simplify_relational_operation_1): Simplify
	x + cst1 == cst2 to x == cst2 - cst1.  Made static.

From-SVN: r92429
2004-12-20 20:48:53 +00:00
Matt Austern b482789cca re PR c++/19044 (Alternate asm name for atan ignored when calling __builtin_atan)
PR c++/19044

	* c-common.c (set_builtin_user_assembler_name): New.
	* c-common.h (set_builtin_user_assembler_name): Declare.
	* c-decl.c (finish_decl): Use set_builtin_user_assembler_name

	* decl.c (make_rtl_for_nonlocal_decl): Use set_builtin_user_assembler_name

	* g++.dg/ext/builtin6.C: New

From-SVN: r92428
2004-12-20 20:11:41 +00:00
Diego Novillo 90e34bd637 re PR tree-optimization/19080 (ICE while compiling linux kernel)
PR tree-optimization/19080

	Merge from tree-cleanup-branch

	* tree-flow-inline.h (clear_call_clobbered): New function.
	* tree-ssa-alias.c (init_alias_info): Call it.


testsuite/ChangeLog

	PR tree-optimization/19080
	* gcc.c-torture/compile/pr19080.c: New test.

From-SVN: r92423
2004-12-20 13:18:37 -05:00
Joseph Myers c20a99d0c5 * de.po: Update.
From-SVN: r92420
2004-12-20 16:08:41 +00:00
Andrew Haley 521fce5217 typeck.c: Use fold_convert for ints and booleans.
2004-12-20  Andrew Haley  <aph@redhat.com>

        * typeck.c: Use fold_convert for ints and booleans.

From-SVN: r92419
2004-12-20 13:35:25 +00:00
Richard Henderson 094a624bbd i386.md (sse2_movsd): Remove ix86_binary_operator_ok check.
* config/i386/i386.md (sse2_movsd): Remove ix86_binary_operator_ok
        check.

From-SVN: r92416
2004-12-20 03:48:42 -08:00
Steven Bosscher 6fa91b4874 re PR middle-end/18191 (Struct member is not getting default-initialized)
gcc/
	PR middle-end/18191
	PR middle-end/18965
	PR middle-end/18999
	* expr.c (categorize_ctor_elements_1): Count the total number
	of elements in the constructor.
	(categorize_ctor_elements): Return it in a new argument.
	* tree.h (categorize_ctor_elements): Adjust prototype.
	* gimplify.c (gimplify_init_ctor_eval_range): New.
	(gimplify_init_ctor_eval): Gimplify RANGE_EXPR.
	(gimplify_init_constructor): Block clear the object if the
	constructor has fewer elements than the object type.  Only try
	to add assignments to individual elements when we have to.

testsuite/
	 * gcc.dg/20041219-1.c: New test.

Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>

From-SVN: r92415
2004-12-20 11:26:47 +00:00
Paolo Carlini 8f7e12f0da 1.cc: New.
2004-12-20  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/27_io/basic_istream/peek/wchar_t/1.cc: New.
	* testsuite/27_io/basic_istream/peek/wchar_t/12296.cc: Likewise.
	* testsuite/27_io/basic_istream/peek/wchar_t/6414.cc: Likewise.
	* testsuite/27_io/basic_istream/putback/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_istream/read/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_istream/read/wchar_t/2.cc: Likewise.
	* testsuite/27_io/basic_istream/read/wchar_t/3.cc: Likewise.
	* testsuite/27_io/basic_istream/readsome/wchar_t/6746-1.cc: Likewise.
	* testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Likewise.
	* testsuite/27_io/basic_istream/readsome/wchar_t/8258.cc: Likewise.
	* testsuite/27_io/basic_istream/seekg/wchar_t/2.cc: Likewise.
	* testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
	* testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise.
	* testsuite/27_io/basic_istream/seekg/wchar_t/
	exceptions_badbit_throw.cc: Likewise.
	* testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise.
	* testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: Likewise.
	* testsuite/27_io/basic_istream/sentry/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise.
	* testsuite/27_io/basic_istream/sentry/wchar_t/2.cc: Likewise.
	* testsuite/27_io/basic_istream/sentry/wchar_t/3.cc: Likewise.
	* testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_istream/tellg/wchar_t/2.cc: Likewise.
	* testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
	* testsuite/27_io/basic_istream/tellg/wchar_t/
	exceptions_badbit_throw.cc: Likewise.
	* testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise.
	* testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: Likewise.
	* testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise.

	* testsuite/data/wistream_extractor_other-1.tst: New.
	* testsuite/data/wistream_extractor_other-1.txt: Likewise.
	* testsuite/data/wistream_extractor_other-2.tst: Likewise.
	* testsuite/data/wistream_seeks-1.tst: Likewise.
	* testsuite/data/wistream_seeks-1.txt: Likewise.
	* testsuite/data/wistream_unformatted-1.tst: Likewise.
	* testsuite/data/wistream_unformatted-1.txt: Likewise.

	* testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc:
	Use wistream_extractor_other-1.txt.

	* testsuite/27_io/basic_istream/peek/char/6414.cc: Minor clean-up.
	* testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
	* testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
	* testsuite/27_io/basic_istream/read/char/2.cc: Likewise.

From-SVN: r92414
2004-12-20 11:26:24 +00:00
Richard Henderson a16da3ae50 i386.c (ix86_init_mmx_sse_builtins): Use long_long_integer_type_node in building V2DI_type_node.
* config/i386/i386.c (ix86_init_mmx_sse_builtins): Use
        long_long_integer_type_node in building V2DI_type_node.

From-SVN: r92413
2004-12-20 02:57:12 -08:00
Richard Henderson 3336093d34 emmintrin.h: Use __vector_size__ instead of vector_size.
* config/i386/emmintrin.h: Use __vector_size__ instead of vector_size.
        * config/i386/mmintrin.h, config/i386/xmmintrin.h: Likewise.

From-SVN: r92412
2004-12-20 02:55:11 -08:00
Ben Elliston f455928742 md.texi (Expander Definitions): Use @emph instead of @strong around Note...
* doc/md.texi (Expander Definitions): Use @emph instead of @strong
	around Note: text to workaround a limitation of the Info format.
	* doc/cpp.texi (Invocation): Likewise.
	* doc/cppopts.texi: Likewise.

From-SVN: r92411
2004-12-20 20:50:21 +11:00
H.J. Lu 3d81559430 Add the missing ChangeLog entry.
From-SVN: r92409
2004-12-19 21:14:34 -08:00
H.J. Lu ad49d8653b re PR bootstrap/19072 (--disable-static bootstrap failure)
2004-12-19  H.J. Lu  <hongjiu.lu@intel.com>

	PR bootstrap/19072
	* Makefile.in (enable_shared): New substitute.
	(LTTARGETLIB): New.
	(PREFIXTARGETLIB): New.
	(LTTESTLIB): New.
	(PREFIXTESTLIB): New.
	(CCLD): New.
	(LINK): New.
	($(TARGETLIB)): Use $(LINK) to create libraries and create
	targets by hand.
	($(TESTLIB)): Likewise.
	(mostlyclean): Don't remove .libs. Remove the libtool object
	directory.

	* config.table (enable_shared): Removed.

	* configure.ac (enable_static): Set to yes.
	(AC_PROG_LIBTOOL): Removed.
	(AM_DISABLE_SHARED): Uncommented.
	(AM_PROG_LIBTOOL): Likewise.
	(LIBOBJS): Add `./' to avoid VPATH.
	(LTLIBOBJS): Likewise.
	(enable_shared): Substitute.
	* configure: Regenerated.

From-SVN: r92406
2004-12-19 20:01:20 -08:00
Dale Johannesen 6efa2c7134 tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Don't reference operand 1 of ADDR_EXPRs.
2004-12-19  Dale Johannesen  <dalej@apple.com>

	* tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p):  Don't
	reference operand 1 of ADDR_EXPRs.

From-SVN: r92405
2004-12-20 03:11:52 +00:00
Mark Mitchell 5e2f4cd242 cp-tree.h (note_decl_for_pch): New function.
* cp-tree.h (note_decl_for_pch): New function.
	* class.c (build_clone): Call note_decl_for_pch.
	* semantics.c (finish_member_declaration): Likewise.
	(note_decl_for_pch): New function.

From-SVN: r92402
2004-12-20 02:23:49 +00:00