gcc.git
19 years ago* lib/gcc-dg.exp (dg-xfail-if): Fix the flags compared against.
Janis Johnson [Wed, 22 Dec 2004 17:51:01 +0000 (17:51 +0000)]
* lib/gcc-dg.exp (dg-xfail-if): Fix the flags compared against.

From-SVN: r92490

19 years agoMakefile.in (install-common): Remove special-case code for when SPECS is defined.
Mark Mitchell [Wed, 22 Dec 2004 17:22:59 +0000 (17:22 +0000)]
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

19 years agoconfig.gcc: Add dbxelf.h to NetWare's tm_file.
Jan Beulich [Wed, 22 Dec 2004 08:41:43 +0000 (08:41 +0000)]
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

19 years agot-linux64: Remove code that messed with $(SPECS).
Alexandre Oliva [Wed, 22 Dec 2004 06:02:15 +0000 (06:02 +0000)]
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

19 years agore PR c++/18378 (ICE when returning a copy of a packed member)
Mark Mitchell [Wed, 22 Dec 2004 03:34:55 +0000 (03:34 +0000)]
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

19 years agodecl.c (define_label): Use POP_TIMEVAR_AND_RETURN.
Volker Reichelt [Wed, 22 Dec 2004 02:38:15 +0000 (02:38 +0000)]
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

19 years ago* name-lookup.c (pushtag): Add missing POP_TIMEVAR_AND_RETURN.
Volker Reichelt [Wed, 22 Dec 2004 02:11:35 +0000 (02:11 +0000)]
* name-lookup.c (pushtag): Add missing POP_TIMEVAR_AND_RETURN.

From-SVN: r92484

19 years agoDaily bump.
GCC Administrator [Wed, 22 Dec 2004 00:16:16 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r92479

19 years agore PR c++/18984 (ICE in check_pointer_types_r)
Andrew Pinski [Tue, 21 Dec 2004 21:20:02 +0000 (21:20 +0000)]
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

19 years agostabs-1.m: Allow section name to be quoted and assembly label to begin with '.LL'.
Eric Botcazou [Tue, 21 Dec 2004 21:02:05 +0000 (22:02 +0100)]
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

19 years agogimplify.c (eval_save_expr): New.
Richard Henderson [Tue, 21 Dec 2004 19:27:08 +0000 (11:27 -0800)]
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

19 years ago* gcc.dg/vect/vect.exp
Janis Johnson [Tue, 21 Dec 2004 18:05:36 +0000 (18:05 +0000)]
* 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

19 years agotarget-supports.exp (check_effective_target_vect_no_max, [...]): New.
Janis Johnson [Tue, 21 Dec 2004 18:03:31 +0000 (18:03 +0000)]
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

19 years agore PR c++/14075 (("foo") accepted as char[] initializer)
Nathan Sidwell [Tue, 21 Dec 2004 17:54:25 +0000 (17:54 +0000)]
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

19 years agosystem.c (IN_RANGE): Use plain unsigned, not unsigned HOST_WIDE_INT.
Nathan Sidwell [Tue, 21 Dec 2004 17:43:27 +0000 (17:43 +0000)]
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

19 years agofreebsd-spec.h: Use KSE pthread lib for -pthread.
David O'Brien [Tue, 21 Dec 2004 17:34:18 +0000 (17:34 +0000)]
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

19 years agore PR c++/18975 (Copying objects with mutable non-static data members)
Nathan Sidwell [Tue, 21 Dec 2004 17:28:35 +0000 (17:28 +0000)]
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

19 years agore PR c/18963 (static and nested declarations cause an ice)
James A. Morrison [Tue, 21 Dec 2004 17:07:06 +0000 (17:07 +0000)]
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

19 years agore PR c/18596 (ICE in make_decl_rtl)
James A. Morrison [Tue, 21 Dec 2004 17:01:08 +0000 (17:01 +0000)]
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

19 years agoi386.c (x86_sse_split_regs): Rename from x86_sse_partial_regs.
Richard Henderson [Tue, 21 Dec 2004 16:46:04 +0000 (08:46 -0800)]
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

19 years agoi386.c (x86_sse_partial_regs_for_cvtsd2ss): Remove.
Richard Henderson [Tue, 21 Dec 2004 16:06:50 +0000 (08:06 -0800)]
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

19 years ago* config/i386/i386.h (TARGET_SSE_TYPELESS_LOAD0): Remove.
Richard Henderson [Tue, 21 Dec 2004 15:45:05 +0000 (07:45 -0800)]
* config/i386/i386.h (TARGET_SSE_TYPELESS_LOAD0): Remove.

From-SVN: r92456

19 years agoexpr.c (emit_group_load_1): Return the source if the move is a regular move between...
Eric Botcazou [Tue, 21 Dec 2004 07:49:58 +0000 (08:49 +0100)]
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

19 years agore PR middle-end/18683 (seg fault in local allocate)
Roger Sayle [Tue, 21 Dec 2004 03:18:47 +0000 (03:18 +0000)]
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

19 years agore PR middle-end/18683 (seg fault in local allocate)
Roger Sayle [Tue, 21 Dec 2004 01:37:35 +0000 (01:37 +0000)]
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

19 years agonatClassLoader.cc (_Jv_RegisterClassHookDefault): Re-enable duplicate class registrat...
Tom Tromey [Tue, 21 Dec 2004 01:03:55 +0000 (01:03 +0000)]
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

19 years agojar.exp (gcj_jar_interpret): Updated.
Tom Tromey [Tue, 21 Dec 2004 01:01:08 +0000 (01:01 +0000)]
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

19 years agore PR libgcj/15001 ([3.4 only] Using JNI with interpreter and interface methods yield...
Tom Tromey [Tue, 21 Dec 2004 00:49:45 +0000 (00:49 +0000)]
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

19 years agoDaily bump.
GCC Administrator [Tue, 21 Dec 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r92443

19 years agore PR middle-end/18776 (Libgfortran doesn't build again)
Eric Botcazou [Mon, 20 Dec 2004 23:04:37 +0000 (00:04 +0100)]
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

19 years agochange the changelog entry to:
Andrew Pinski [Mon, 20 Dec 2004 22:35:07 +0000 (14:35 -0800)]
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

19 years agore PR libobjc/12035 (Patch for libobjc/gc.c that fixes compilation error of Objective...
Andrew Pinski [Mon, 20 Dec 2004 22:32:39 +0000 (22:32 +0000)]
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

19 years agoMakefile.in (install-common): Do not install the specs file unless SPECS is defined.
Mark Mitchell [Mon, 20 Dec 2004 21:10:44 +0000 (21:10 +0000)]
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

19 years agore PR other/19093 (g++.dg/opt/max1.C fails on ia64 and x86_64)
Andrew Pinski [Mon, 20 Dec 2004 21:07:13 +0000 (21:07 +0000)]
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

19 years agore PR rtl-optimization/18942 (Do loop is not as optimized as 3.3.2)
Zdenek Dvorak [Mon, 20 Dec 2004 20:48:53 +0000 (21:48 +0100)]
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

19 years agore PR c++/19044 (Alternate asm name for atan ignored when calling __builtin_atan)
Matt Austern [Mon, 20 Dec 2004 20:11:41 +0000 (20:11 +0000)]
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

19 years agore PR tree-optimization/19080 (ICE while compiling linux kernel)
Diego Novillo [Mon, 20 Dec 2004 18:18:37 +0000 (18:18 +0000)]
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

19 years ago* de.po: Update.
Joseph Myers [Mon, 20 Dec 2004 16:08:41 +0000 (16:08 +0000)]
* de.po: Update.

From-SVN: r92420

19 years agotypeck.c: Use fold_convert for ints and booleans.
Andrew Haley [Mon, 20 Dec 2004 13:35:25 +0000 (13:35 +0000)]
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

19 years agoi386.md (sse2_movsd): Remove ix86_binary_operator_ok check.
Richard Henderson [Mon, 20 Dec 2004 11:48:42 +0000 (03:48 -0800)]
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

19 years agore PR middle-end/18191 (Struct member is not getting default-initialized)
Steven Bosscher [Mon, 20 Dec 2004 11:26:47 +0000 (11:26 +0000)]
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

19 years ago1.cc: New.
Paolo Carlini [Mon, 20 Dec 2004 11:26:24 +0000 (11:26 +0000)]
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

19 years agoi386.c (ix86_init_mmx_sse_builtins): Use long_long_integer_type_node in building...
Richard Henderson [Mon, 20 Dec 2004 10:57:12 +0000 (02:57 -0800)]
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

19 years agoemmintrin.h: Use __vector_size__ instead of vector_size.
Richard Henderson [Mon, 20 Dec 2004 10:55:11 +0000 (02:55 -0800)]
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

19 years agomd.texi (Expander Definitions): Use @emph instead of @strong around Note...
Ben Elliston [Mon, 20 Dec 2004 09:50:21 +0000 (09:50 +0000)]
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

19 years agoAdd the missing ChangeLog entry.
H.J. Lu [Mon, 20 Dec 2004 05:14:34 +0000 (21:14 -0800)]
Add the missing ChangeLog entry.

From-SVN: r92409

19 years agore PR bootstrap/19072 (--disable-static bootstrap failure)
H.J. Lu [Mon, 20 Dec 2004 04:01:20 +0000 (20:01 -0800)]
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

19 years agotree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Don't reference operand 1...
Dale Johannesen [Mon, 20 Dec 2004 03:11:52 +0000 (03:11 +0000)]
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

19 years agocp-tree.h (note_decl_for_pch): New function.
Mark Mitchell [Mon, 20 Dec 2004 02:23:49 +0000 (02:23 +0000)]
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

19 years agodefaults.h (ASM_OUTPUT_INTERNAL_LABEL): New macro.
Mark Mitchell [Mon, 20 Dec 2004 02:08:57 +0000 (02:08 +0000)]
defaults.h (ASM_OUTPUT_INTERNAL_LABEL): New macro.

* defaults.h (ASM_OUTPUT_INTERNAL_LABEL): New macro.
* output.h (assemble_name_raw): Declare it.
* system.h (ASM_OUTPUT_INTERNAL_LABEL): Do not poison it.
* varasm.c (assemble_name_raw): New function.
(assemble_name): Use it.
(default_internal_label): Likewise.
* config/darwin.c (darwin_asm_output_dwarf_delta): Likewise.
* doc/tm.texi (ASM_OUTPUT_INTERNAL_LABEL): Document.

From-SVN: r92401

19 years agoDaily bump.
GCC Administrator [Mon, 20 Dec 2004 00:16:45 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r92399

19 years ago9561.cc: New.
Paolo Carlini [Sun, 19 Dec 2004 21:57:28 +0000 (21:57 +0000)]
9561.cc: New.

2004-12-19  Paolo Carlini  <pcarlini@suse.de>

* testsuite/27_io/basic_istream/exceptions/wchar_t/9561.cc: New.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
01.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
02.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
03.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
06.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
07.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
08.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
09.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
10.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
11.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
12.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
13.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
9555-ia.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
exceptions_failbit.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
exceptions_failbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_character/wchar_t/
1.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_character/wchar_t/
11095-i.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_character/wchar_t/
2.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_character/wchar_t/
3.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_character/wchar_t/
9555-ic.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
1.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
2.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
3.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
9318-in.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
9424-in.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
9555-io.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
error_failbit.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
exceptions_failbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
exceptions_null.cc: Likewise.

* testsuite/27_io/basic_istream/extractors_other/char/2.cc: Minor
tweaks.

* testsuite/testsuite_io.h (struct fail_buf): Fix type of
dummy return values.

From-SVN: r92392

19 years agore PR tree-optimization/18067 (ICE at loc_descriptor_from_tree_1 in dwarf2out.c ...
Richard Henderson [Sun, 19 Dec 2004 21:08:33 +0000 (13:08 -0800)]
re PR tree-optimization/18067 (ICE at loc_descriptor_from_tree_1 in dwarf2out.c (VLA) with const int.)

        PR 18067
        * stor-layout.c (variable_size): Force creation of a SAVE_EXPR.

From-SVN: r92389

19 years agore PR middle-end/19068 ([3.3 only] Wrong code for MIN_EXPR and MAX_EXPR)
Roger Sayle [Sun, 19 Dec 2004 20:11:15 +0000 (20:11 +0000)]
re PR middle-end/19068 ([3.3 only] Wrong code for MIN_EXPR and MAX_EXPR)

PR middle-end/19068
* g++.dg/opt/max1.C: New test case.

From-SVN: r92388

19 years agoi386.c (ix86_split_to_parts): Use an array with four elements for decoding a CONST_DO...
Steven Bosscher [Sun, 19 Dec 2004 20:10:41 +0000 (20:10 +0000)]
i386.c (ix86_split_to_parts): Use an array with four elements for decoding a CONST_DOUBLE on 64 bits targets.

* config/i386/i386.c (ix86_split_to_parts): Use an array with
four elements for decoding a CONST_DOUBLE on 64 bits targets.

From-SVN: r92387

19 years ago* trans.c (gigi): Update gimplify_body call.
Richard Henderson [Sun, 19 Dec 2004 19:59:23 +0000 (11:59 -0800)]
* trans.c (gigi): Update gimplify_body call.

From-SVN: r92385

19 years agom68kemb.h (TARGET_OS_CPP_BUILTINS): Remove redundant definition of mc68000, already...
Bernardo Innocenti [Sun, 19 Dec 2004 19:24:38 +0000 (20:24 +0100)]
m68kemb.h (TARGET_OS_CPP_BUILTINS): Remove redundant definition of mc68000, already present in TARGET_CPU_CPP_BUILTINS.

* config/m68k/m68kemb.h (TARGET_OS_CPP_BUILTINS): Remove redundant
definition of mc68000, already present in TARGET_CPU_CPP_BUILTINS.

From-SVN: r92384

19 years agolambda-code.c (can_convert_to_perfect_nest): Make checking match up with what perfect...
Daniel Berlin [Sun, 19 Dec 2004 19:00:35 +0000 (19:00 +0000)]
lambda-code.c (can_convert_to_perfect_nest): Make checking match up with what perfect_nestify can actually handle.

2004-12-18  Daniel Berlin  <dberlin@dberlin.org>

        * lambda-code.c (can_convert_to_perfect_nest): Make checking
match up with what perfect_nestify can actually handle.
(perfect_nestify): Don't return false in the phi node loop.

From-SVN: r92381

19 years agolibgfortran.h (itoa): Rename to gfc_itoa.
Aaron W. LaFramboise [Sun, 19 Dec 2004 18:54:00 +0000 (12:54 -0600)]
libgfortran.h (itoa): Rename to gfc_itoa.

* libgfortran.h (itoa): Rename to gfc_itoa.
* io/write.c (itoa): Same.
* runtime/environ.c (itoa): Same.
* runtime/error.c (itoa): Same.

From-SVN: r92380

19 years agoconfig.h.in: Regenerate.
Kelley Cook [Sun, 19 Dec 2004 16:26:06 +0000 (16:26 +0000)]
config.h.in: Regenerate.

2004-12-19  Kelley Cook  <kcook@gcc.gnu.org>

* include/config.h.in: Regenerate.

From-SVN: r92379

19 years ago* de.po: Update.
Joseph Myers [Sun, 19 Dec 2004 13:08:55 +0000 (13:08 +0000)]
* de.po: Update.

From-SVN: r92378

19 years agobitmap_allocator.h: Make doxygen style comments for internal functions and classes.
Dhruv Matani [Sun, 19 Dec 2004 11:17:40 +0000 (11:17 +0000)]
bitmap_allocator.h: Make doxygen style comments for internal functions and classes.

2004-12-19  Dhruv Matani  <dhruvbird@gmx.net>

* include/ext/bitmap_allocator.h: Make doxygen style comments for
internal functions and classes.

From-SVN: r92376

19 years agoallocator.html: Correct link.
Dhruv Matani [Sun, 19 Dec 2004 11:04:48 +0000 (11:04 +0000)]
allocator.html: Correct link.

2004-12-19  Dhruv Matani  <dhruvbird@gmx.net>

* docs/html/20_util/allocator.html: Correct link.
* docs/html/ext/ballocator_doc.txt: Remove.
* docs/html/ext/ballocator_doc.html: Add.

From-SVN: r92375

19 years agoi386.md (SSEINT16): New.
Richard Henderson [Sun, 19 Dec 2004 08:07:19 +0000 (00:07 -0800)]
i386.md (SSEINT16): New.

        * config/i386/i386.md (SSEINT16): New.
        (movv16qi, movv8hi, movv4si, movv2di): Compress via macros.
        (movv16qi_internal, movv8hi_internal, movv4si_internal,
        movv2di_internal): Compress via macros.  Add SSE zero alternative.
        Fix pure SSE alternatives to use 'x' instead of 'Y'.
        (MMXINT8): New.
        (movv8qi, movv4hi, movv2si, movv8qi_internal, movv4hi_internal,
        movv2si_internal): Compress via macros.
        (SSEPUSH, MMXPUSH): New.
        (pushv18qi, pushv8hi, pushv4si, pushv2di, pushti, pushv4sf, pushv2df,
        pushv8qi, pushv4hi, pushv2si, pushv2sf): Compress via macros.

From-SVN: r92374

19 years agore PR middle-end/16417 (crappy code (gcc.c-torture/compile/20020210-1.c) in arguments...
Richard Henderson [Sun, 19 Dec 2004 04:42:14 +0000 (20:42 -0800)]
re PR middle-end/16417 (crappy code (gcc.c-torture/compile/20020210-1.c) in arguments causes ICE)

        PR middle-end/16417
        * c-decl.c (store_parm_decls): Clarify get_pending_sizes insertion
        comment.
        * c-objc-common.c (c_cannot_inline_tree_fn): Remove pending sizes
        checks.
        * c-tree.h (struct lang_decl): Remove pending_sizes.
        * function.c: Include tree-gimple.h
        (assign_parm_setup_reg): Remove callee-copies code.
        (gimplify_parm_type, gimplify_parameters): New functions.
        (expand_pending_sizes): Remove.
        (expand_function_start): Don't call it.
        * gimplify.c (gimplify_expr): Examine DECL_VALUE_EXPR for PARM_DECL.
        (gimplify_body): Add do_parms argument.  Use gimplify_parameters.
        (gimplify_function_tree): Setup cfun.  Update gimplify_body call.
        * tree-gimple.h (gimplify_body): Update decl.
        * tree-inline.c (initialize_inlined_parameters): Update gimplify_body
        call.
        * tree.h (gimplify_parameters): Declare.
        * Makefile.in (function.o): Depend on TREE_GIMPLE_H.

From-SVN: r92373

19 years agoc-decl.c (finish_struct): Add DECL_EXPR for variable sized structures seen inside...
Richard Henderson [Sun, 19 Dec 2004 04:07:54 +0000 (20:07 -0800)]
c-decl.c (finish_struct): Add DECL_EXPR for variable sized structures seen inside functions.

        * c-decl.c (finish_struct): Add DECL_EXPR for variable sized
        structures seen inside functions.

From-SVN: r92371

19 years agoc-decl.c (grokdeclarator): Save variable array size before subtracting 1, rather...
Richard Henderson [Sun, 19 Dec 2004 03:51:36 +0000 (19:51 -0800)]
c-decl.c (grokdeclarator): Save variable array size before subtracting 1, rather than after.

        * c-decl.c (grokdeclarator): Save variable array size before
        subtracting 1, rather than after.

From-SVN: r92370

19 years agoDaily bump.
GCC Administrator [Sun, 19 Dec 2004 00:16:18 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r92368

19 years agore PR middle-end/15486 (-fdata-sections moves common vars to .bss)
Eric Botcazou [Sat, 18 Dec 2004 21:49:55 +0000 (22:49 +0100)]
re PR middle-end/15486 (-fdata-sections moves common vars to .bss)

PR middle-end/15486
* varasm.c (asm_emit_uninitialised): Return early if
a custom section is requested.
(assemble_variable): Revert 2002-03-15 patch.

From-SVN: r92365

19 years agore PR tree-optimization/18800 (ivopt missed)
Zdenek Dvorak [Sat, 18 Dec 2004 20:22:52 +0000 (21:22 +0100)]
re PR tree-optimization/18800 (ivopt missed)

        PR tree-optimization/18800
        * params.def (PARAM_IV_ALWAYS_PRUNE_CAND_SET_BOUND): New parameter.
        * tree-ssa-loop-ivopts.c (struct iv_ca): Add n_cands field.
        (ALWAYS_PRUNE_CAND_SET_BOUND): New macro.
        (iv_ca_set_no_cp, iv_ca_set_cp, iv_ca_new): Update n_cands field.
        (iv_ca_delta_join, iv_ca_delta_reverse, iv_ca_n_cands, iv_ca_prune):
        New functions.
        (iv_ca_extend): Return number of candidates in the set.
        (try_add_cand_for): Add argument to iv_ca_extend calls.
        (try_improve_iv_set): Use iv_ca_prune.
        * doc/invoke.texi (iv-always-prune-cand-set-bound): Document.

From-SVN: r92363

19 years ago* stor-layout.c (layout_decl): Use unshare_expr, not unsave_expr.
Richard Henderson [Sat, 18 Dec 2004 20:19:37 +0000 (12:19 -0800)]
* stor-layout.c (layout_decl): Use unshare_expr, not unsave_expr.

From-SVN: r92362

19 years agore PR rtl-optimization/19001 (Loops with power of two step and variable bounds not...
Zdenek Dvorak [Sat, 18 Dec 2004 20:14:24 +0000 (21:14 +0100)]
re PR rtl-optimization/19001 (Loops with power of two step and variable bounds not unrolled)

PR rtl-optimization/19001
* loop-iv.c (iv_number_of_iterations): Record assumptions for loops
with power of two step to 'infinite' field.

From-SVN: r92361

19 years agoMakefile.in (stor-layout.o): Depend upon gt-stor-layout.h.
Roger Sayle [Sat, 18 Dec 2004 19:40:20 +0000 (19:40 +0000)]
Makefile.in (stor-layout.o): Depend upon gt-stor-layout.h.

* Makefile.in (stor-layout.o): Depend upon gt-stor-layout.h.
(tree-ssa-propagate.o): Depend upon gt-tree-ssa-propagate.h.
(tree-ssa-operands.o): Depend upon gt-tree-ssa-operands.h.
(tree-mudflap.o): Depend upon gt-tree-mudflap.h.
(expr.o): Depend upon gt-expr.h.
(regclass.o): Depend upon gt-regclass.h.
(bitmap.o): Depend upon gt-bitmap.h.
(lists.o): Depend upon gt-lists.h.

(cfgexpand.o): Don't depend upon gt-tree-cfg.h.

(GTFILES): Remove fold-const.c.
(gt-stmt.h, gt-fold-const.h, gt-input.h, gt-tree-ssa-ccp.h):
Remove rules.

From-SVN: r92360

19 years agostor-layout.c (layout_decl): Unshare size expressions copied from the type.
Richard Henderson [Sat, 18 Dec 2004 19:18:48 +0000 (11:18 -0800)]
stor-layout.c (layout_decl): Unshare size expressions copied from the type.

        * stor-layout.c (layout_decl): Unshare size expressions copied
        from the type.

From-SVN: r92359

19 years agofold-const.c (multiple_of_p): Handle BIT_AND_EXPR when BOTTOM is a power of two.
Richard Henderson [Sat, 18 Dec 2004 19:03:49 +0000 (11:03 -0800)]
fold-const.c (multiple_of_p): Handle BIT_AND_EXPR when BOTTOM is a power of two.

        * fold-const.c (multiple_of_p): Handle BIT_AND_EXPR when
        BOTTOM is a power of two.

From-SVN: r92358

19 years agotree-nested.c (save_tmp_var): New.
Richard Henderson [Sat, 18 Dec 2004 18:59:04 +0000 (10:59 -0800)]
tree-nested.c (save_tmp_var): New.

        * tree-nested.c (save_tmp_var): New.
        (struct walk_stmt_info): Add is_lhs.
        (walk_stmts) <MODIFY_EXPR>: Be more accurate with setting of
        val_only; set is_lhs.
        (convert_nonlocal_reference): Use save_tmp_var when is_lhs;
        clear is_lhs when appropriate.
        (convert_local_reference): Likewise.

From-SVN: r92357

19 years agoieee754-sf.S (floatdisf): Fix label definition in FPA compatibility code.
Richard Earnshaw [Sat, 18 Dec 2004 18:45:35 +0000 (18:45 +0000)]
ieee754-sf.S (floatdisf): Fix label definition in FPA compatibility code.

* arm/ieee754-sf.S (floatdisf): Fix label definition in FPA
compatibility code.

From-SVN: r92356

19 years agoMakefile.in (top_builddir): Set to `.'.
H.J. Lu [Sat, 18 Dec 2004 16:43:38 +0000 (16:43 +0000)]
Makefile.in (top_builddir): Set to `.'.

2004-12-18  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in (top_builddir): Set to `.'.
(OUTPUT_OPTION): Removed.
(LIBTOOL): New.
(LTLIBOBJS): New.
(EXTRA_LTOFILES): New.
(FLAGS_TO_PASS): Add EXTRA_LTOFILES.
(all): Remove stamp-picdir.
(LTCOMPILE): New.
(.c.lo): New rule.
(REQUIRED_LTOFILES): New.
(CONFIGURED_LTOFILES): New.
($(TARGETLIB)): Check .libs for PIC object files. Depend on
$(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
(stamp-picdir): Completely removed.
(maint-missing): Pass $(REQUIRED_LTOFILES)
$(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
$(CONFIGURED_OFILES)
(maint-buildall): Depend on $(REQUIRED_LTOFILES)
$(CONFIGURED_LTOFILES).
(mostlyclean): Also remove *.lo .libs.
Run "make maint-deps".

* aclocal.m4: Include ../libtool.m4.

* config.table: Don't check --enable-shared.

* configure.ac (AC_PROG_LIBTOOL): Add.
(AC_PROG_CC_C_O): Removed.
(OUTPUT_OPTION): Removed.
(NO_MINUS_C_MINUS_O): Removed.
(ltpexecute): New substitute.
(LIBOBJS): Cleanup.
* configure: Regenerated.

* maint-tool: Updated for .lo/libtool.

From-SVN: r92353

19 years agoifcvt.c (total_bb_rtx_cost): Rename function to cheap_bb_rtx_cost_p.
Roger Sayle [Sat, 18 Dec 2004 15:26:32 +0000 (15:26 +0000)]
ifcvt.c (total_bb_rtx_cost): Rename function to cheap_bb_rtx_cost_p.

* ifcvt.c (total_bb_rtx_cost): Rename function to cheap_bb_rtx_cost_p.
Take a max_cost argument to avoid scanning large blocks, by returning
a Boolean instead of a total.  Include the cost of a "fstp %st(0)"
instruction required to pop dead values off of a register stack.

From-SVN: r92352

19 years agore PR middle-end/18548 (Miscompiles code generated by Gambit-C Scheme->C compiler)
Roger Sayle [Sat, 18 Dec 2004 14:38:44 +0000 (14:38 +0000)]
re PR middle-end/18548 (Miscompiles code generated by Gambit-C Scheme->C compiler)

PR middle-end/18548
* expr.c (expand_expr_real_1) <MAX_EXPR>: Ensure that target, op0
and op1 are all registers (or constants) before expanding the RTL
comparison sequence [to avoid reg_overlap_mentioned (target, op1)].

* gcc.dg/max-1.c: New test case.

From-SVN: r92351

19 years agore PR rtl-optimization/16968 (loop optimizer miscompilation)
Eric Botcazou [Sat, 18 Dec 2004 07:55:42 +0000 (07:55 +0000)]
re PR rtl-optimization/16968 (loop optimizer miscompilation)

PR rtl-optimization/16968
* loop.c (scan_loop): Stop scanning the loop for movable
insns as soon as an optimization barrier is encountered.

From-SVN: r92348

19 years agore PR middle-end/18897 (/usr/ccs/bin/ld: Unsatisfied symbols: putchar (first referenc...
Zack Weinberg [Sat, 18 Dec 2004 06:38:24 +0000 (06:38 +0000)]
re PR middle-end/18897 (/usr/ccs/bin/ld: Unsatisfied symbols: putchar (first referenced in build/gengenrtl.o) (data))

PR 18897
* toplev.c (compile_file): Call process_pending_assemble_externals
just before targetm.asm_out.file_end.

From-SVN: r92347

19 years agoDaily bump.
GCC Administrator [Sat, 18 Dec 2004 00:16:43 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r92343

19 years agoMAINTAINERS: Move myself to OS Port Maintainers for windows, cygwin, mingw.
Danny Smith [Fri, 17 Dec 2004 23:05:30 +0000 (23:05 +0000)]
MAINTAINERS: Move myself to OS Port Maintainers for windows, cygwin, mingw.

* MAINTAINERS: Move myself to OS Port Maintainers for windows,
cygwin, mingw.

From-SVN: r92340

19 years agotree-optimize.c (init_tree_optimization_passes): Run pass_late_warn_uninitialized...
Diego Novillo [Fri, 17 Dec 2004 22:20:33 +0000 (22:20 +0000)]
tree-optimize.c (init_tree_optimization_passes): Run pass_late_warn_uninitialized before the last DCE run.

tree-optimization/18501
* tree-optimize.c (init_tree_optimization_passes): Run
pass_late_warn_uninitialized before the last DCE run.

testsuite/ChangeLog:

* gcc.dg/pr18501.c: New test.
* gcc.dg/uninit-5.c: XFAIL.
* gcc.dg/uninit-9.c: XFAIL.

From-SVN: r92337

19 years agoi386.c (x86_64_reg_class_name): Re-indent.
Richard Henderson [Fri, 17 Dec 2004 21:40:39 +0000 (13:40 -0800)]
i386.c (x86_64_reg_class_name): Re-indent.

        * config/i386/i386.c (x86_64_reg_class_name): Re-indent.
        (classify_argument, examine_argument, construct_container,
        merge_classes): Remove prototypes.
        (type_natural_mode): Split out from ...
        (function_arg): ... here.
        (gen_reg_or_parallel): Remove alt_mode argument.  Update callers.
        Use orig_mode unless it's BLKmode.
        (construct_container): Add orig_mode argument.  Update callers.
        Use gen_reg_or_parallel for SSE registers.
        (ix86_function_value): Use type_natural_mode.
        (ix86_gimplify_va_arg): Likewise.
        (ix86_hard_regno_mode_ok): Always accept all SSE, MMX, 3DNOW modes in
        SSE registers; always accept all MMX, 3DNOW modes in MMX registers.
        * config/i386/i386.h (VALID_SSE2_REG_MODE): Don't include
        VALID_MMX_REG_MODE.
        * config/i386/i386.md (attribute mode): Add V1DF.
        (movsi_1): Use 'x' instead of 'Y' constraints.
        (movsi_1_nointernunit, movdi_2, movdi_1_rex64): Likewise.
        (movdi_1_rex64_nointerunit): Likewise.
        (movdf_nointeger, movdf_integer): Likewise.  Handle SSE1.
        (movsf_1, movsf_1_nointerunit): Line up constraint alternatives.
        (swapsf): Use fp_register_operand, don't disable for TARGET_SSE.
        (swapdf): Likewise.
        (swapxf): Enable only for TARGET_80387.
        (movv2sf, movv2sf_internal, pushv2sf): Enable for MMX.
        (movtf): Remove double-check for TARGET_64BIT.
        (movv2df_internal): Enable for SSE1.
        (movv8hi_internal, movv16qi_internal): Likewise.
        (movv2df, movv8hi, movv16qi): Likewise.
        (pushv2di, pushv8hi, pushv16qi, pushv4si): Likewise.
        (pushdi2_rex64, movv4sf_internal, movv4si_internal, movv2di_internal,
        movv8qi_internal, movv4hi_internal, movv2sf_internal,
        movv2df_internal, movv8hi_internal, movv16qi_internal,
        movti_internal): Add leading '*' to name.

From-SVN: r92336

19 years agoc-decl.c (diagnose_mismatched_decls): Accept mismatched function types: void with...
Dale Johannesen [Fri, 17 Dec 2004 20:05:34 +0000 (20:05 +0000)]
c-decl.c (diagnose_mismatched_decls): Accept mismatched function types: void with previous implicit int.

2004-12-17  Dale Johannesen  <dalej@apple.com>

* c-decl.c (diagnose_mismatched_decls):  Accept mismatched
function types: void with previous implicit int.

From-SVN: r92329

19 years agostabs-1.m: Allow assembly label to begin with a dot ('.').
Ziemowit Laski [Fri, 17 Dec 2004 19:32:51 +0000 (19:32 +0000)]
stabs-1.m: Allow assembly label to begin with a dot ('.').

[gcc/testsuite/ChangeLog]
2004-12-17  Ziemowit Laski  <zlaski@apple.com>

        * objc.dg/stabs-1.m: Allow assembly label to begin
        with a dot ('.').

From-SVN: r92328

19 years agoinit.c (build_zero_init): max_index is the number of elements, minus 1.
Steven Bosscher [Fri, 17 Dec 2004 17:10:49 +0000 (17:10 +0000)]
init.c (build_zero_init): max_index is the number of elements, minus 1.

* init.c (build_zero_init): max_index is the number of
elements, minus 1.

From-SVN: r92323

19 years ago20041213-1.c: Move...
Jakub Jelinek [Fri, 17 Dec 2004 16:05:57 +0000 (17:05 +0100)]
20041213-1.c: Move...

* gcc.c-torture/execute/20041213-1.c: Move...
* gcc.c-torture/execute/ieee/20041213-1.c: ...to here.

From-SVN: r92318

19 years agofix typoed PR number
Nathan Sidwell [Fri, 17 Dec 2004 16:02:12 +0000 (16:02 +0000)]
fix typoed PR number

From-SVN: r92317

19 years agore PR c++/17821 (Poor diagnostic for using . instead of ->)
Nathan Sidwell [Fri, 17 Dec 2004 15:58:04 +0000 (15:58 +0000)]
re PR c++/17821 (Poor diagnostic for using . instead of ->)

cp:
PR c++/17821
* class.c (add_method): Do not push conversion operators into a
binding level.

* cp-tree.h (CLASSTYPE_PRIMARY_TEMPLATE_TYPE): Reformat.
* error.c (dump_decl): <TYPE_DECL case> Remove extraneous braces.
testsuite:
PR c++/17821
* g++.dg/lookup/conv-5.C: New.

From-SVN: r92316

19 years agore PR libgcj/15001 ([3.4 only] Using JNI with interpreter and interface methods yield...
Andrew Haley [Fri, 17 Dec 2004 15:13:44 +0000 (15:13 +0000)]
re PR libgcj/15001 ([3.4 only] Using JNI with interpreter and interface methods yields SIGSEGV)

2004-12-10  Andrew Haley  <aph@redhat.com>

        PR java/15001
        * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
        abstract methods by name.

From-SVN: r92315

19 years agore PR java/18931 (Java bytecode ICE in except.c remove_unreachable_regions)
Andrew Haley [Fri, 17 Dec 2004 15:09:11 +0000 (15:09 +0000)]
re PR java/18931 (Java bytecode ICE in except.c remove_unreachable_regions)

2004-12-17  Andrew Haley  <aph@redhat.com>

        PR java/18931
        * typeck.c (convert): Use a CONVERT_EXPR when converting to
        BOOLEAN_TYPE or CHAR_TYPE.
        (convert_to_boolean, convert_to_char) : Remove.
        * convert.h (convert_to_boolean, convert_to_char) : Remove.
        * expr.c (expand_load_internal): Do type conversion if type is not
        as required.

From-SVN: r92314

19 years agos390.c (s390_gimplify_va_arg): Set alias set to s390_sr_alias_set.
Andreas Krebbel [Fri, 17 Dec 2004 13:18:00 +0000 (13:18 +0000)]
s390.c (s390_gimplify_va_arg): Set alias set to s390_sr_alias_set.

2004-12-17  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.c (s390_gimplify_va_arg): Set alias set to
s390_sr_alias_set.

From-SVN: r92313

19 years agore PR target/17603 (cpowf and cpowl give wrong results)
Jan Beulich [Fri, 17 Dec 2004 08:53:58 +0000 (08:53 +0000)]
re PR target/17603 (cpowf and cpowl give wrong results)

2004-12-17  Jan Beulich  <jbeulich@novell.com>

PR target/17603
* config/i386/i386.c (enum x86_64_reg_class): Define
X86_64_COMPLEX_X87_CLASS.
(x86_64_reg_class_names): Add name for X86_64_COMPLEX_X87_CLASS.
(merge_classes): Handle X86_64_COMPLEX_X87_CLASS.
(classify_argument): XCmode is X86_64_COMPLEX_X87_CLASS.
(examine_argument): X86_64_COMPLEX_X87_CLASS requires two
registers when dealing with a return value.
(construct_container): Handle X86_64_COMPLEX_X87_CLASS.
Eliminate impossible case of two X87/X87UP pairs (this now is
being expressed by a single COMPLEX_X87).
(x86_libcall_value): XCmode gets returned in st0/st1.

From-SVN: r92312

19 years agotree.c (type_contains_placeholder_1): Always return false for VECTOR_TYPE if its...
Steven Bosscher [Fri, 17 Dec 2004 08:17:01 +0000 (08:17 +0000)]
tree.c (type_contains_placeholder_1): Always return false for VECTOR_TYPE if its TREE_TYPE does not contain a placeholder.

* tree.c (type_contains_placeholder_1): Always return false
for VECTOR_TYPE if its TREE_TYPE does not contain a placeholder.

From-SVN: r92310

19 years ago* config/i386/i386.md (extendsfdf2, *extendsfdf2_1,
Uros Bizjak [Fri, 17 Dec 2004 06:28:59 +0000 (07:28 +0100)]
* config/i386/i386.md (extendsfdf2, *extendsfdf2_1,

*extendsfdf2_1_sse_only): Unify enable constraint with
respect to TARGET_SSE2, TARGET_80387, TARGET_SSE_MATH
and TARGET_MIX_SSE_I387.
(*extendsfdf2_i387): New insn pattern.
(*extendsfdf2_1): Rename to *extendsfdf2_mixed. Fix
register constraint for operand 0.
(*extendsfdf2_1_sse_only): Rename to *extendsfdf2_sse.
(*extend{s,d}fxf2_1): Rename to *extend{s,d}fxf2_i387.

From-SVN: r92308

19 years agostabs-1.m: New test.
Ziemowit Laski [Fri, 17 Dec 2004 02:50:33 +0000 (02:50 +0000)]
stabs-1.m: New test.

[gcc/testsuite/ChangeLog]
2004-12-16  Ziemowit Laski  <zlaski@apple.com>

        * objc.dg/stabs-1.m: New test.

From-SVN: r92302

19 years agovisibility-c.c: Change compile to assemble for the test.
Andrew Pinski [Fri, 17 Dec 2004 00:54:49 +0000 (00:54 +0000)]
visibility-c.c: Change compile to assemble for the test.

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

        * gcc.dg/visibility-c.c: Change compile to
        assemble for the test.

From-SVN: r92293