OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years ago * config/i386/i386.c (ix86_expand_vector_move): Tidy.
rth [Thu, 23 Dec 2004 10:20:04 +0000 (10:20 +0000)]
    * config/i386/i386.c (ix86_expand_vector_move): Tidy.
        (ix86_expand_vector_move_misalign): New.
        (ix86_misaligned_mem_ok): Remove.
        (TARGET_VECTORIZE_MISALIGNED_MEM_OK): Remove.
        * config/i386/i386-protos.h: Update.
        * config/i386/i386.md (SSEMODEI): Rename from SSEINT16.
        (MMXMODEI): Rename from MMXINT8.
        (SSEMODE, MMXMODE, movmisalign<mode>): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92543 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/16405
mmitchel [Thu, 23 Dec 2004 08:14:33 +0000 (08:14 +0000)]
PR c++/16405
* gimplify.c (gimplify_modify_expr_rhs): Handle
INDIRECT_REF/ADDR_EXPR combinations.

PR c++/16405
* g++.dg/opt/temp1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92539 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/alpha/alpha.c (alpha_expand_mov): Split out ...
rth [Thu, 23 Dec 2004 08:08:59 +0000 (08:08 +0000)]
    * config/alpha/alpha.c (alpha_expand_mov): Split out ...
        (alpha_expand_movmisalign): ... misaligned vector support.
        (TARGET_VECTORIZE_MISALIGNED_MEM_OK): Remove.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.md (VEC): New macro.
        (movv8qi, movv4hi, movv2si): Compress with VEC.
        (movv8qi_fix, movv4hi_fix, movv2si_fix): Likewise.
        (movv8qi_nofix, movv4hi_nofix, movv2si_nofix): Likewise.
        (movmisalign<mode>): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92538 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * optabs.h (OTI_movmisalign, movmisalign_optab): New.
rth [Thu, 23 Dec 2004 07:58:41 +0000 (07:58 +0000)]
    * optabs.h (OTI_movmisalign, movmisalign_optab): New.
        * optabs.c (init_optabs): Create it.
        * genopinit.c (optabs): Initialize it.
        * expr.c (expand_expr_real_1) <MISALIGNED_INDIRECT_REF>: Use it.
        * tree-vectorizer.c (vect_supportable_dr_alignment): Likewise.
        * target-def.h (TARGET_VECTORIZE_MISALIGNED_MEM_OK): Remove.
        * target.h (vectorize.misaligned_mem_ok): Remove.
        * targhooks.c (default_vect_misaligned_mem_ok): Remove.
        * doc/md.texi (movmisalign): New.
        * doc/tm.texi (TARGET_VECTORIZE_MISALIGNED_MEM_OK): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92537 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/emmintrin.h (_mm_loadh_pd): Don't cast pointer arg
rth [Thu, 23 Dec 2004 07:49:24 +0000 (07:49 +0000)]
    * config/i386/emmintrin.h (_mm_loadh_pd): Don't cast pointer arg
        to __v2si.
        (_mm_storeh_pd, _mm_loadl_pd, _mm_storel_pd): Likewise.
        * config/i386/i386.c (ix86_init_mmx_sse_builtins): Use double* or
        const double* for __builtin_ia32_loadhpd, __builtin_ia32_loadlpd,
        __builtin_ia32_storehpd, __builtin_ia32_storelpd.
        (ix86_expand_builtin): Update to match.
        (ix86_expand_vector_init): Use sse2_loadlpd.
        * config/i386/i386.md (vec_setv2df): Use sse2_loadlpd, sse2_loadhpd.
        (vec_extractv2df): Use sse2_storelpd, sse2_storehpd.
        (sse2_storehpd, sse2_loadhpd, sse2_storelpd, sse2_loadlpd): New.
        (sse2_movhpd): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92536 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR target/18751
amodra [Thu, 23 Dec 2004 07:34:45 +0000 (07:34 +0000)]
PR target/18751
* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Return
false for anything larger than 32 bits in 32-bit code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92535 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.md (btsq, btrq, btcq): Fix modes.
rth [Thu, 23 Dec 2004 07:23:31 +0000 (07:23 +0000)]
    * config/i386/i386.md (btsq, btrq, btcq): Fix modes.
        (bt peepholes): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92534 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * varasm.c (force_const_mem): Call set_mem_align.
rth [Thu, 23 Dec 2004 07:13:05 +0000 (07:13 +0000)]
    * varasm.c (force_const_mem): Call set_mem_align.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92533 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/predicates.md (sse_comparison_operator): Fix
rth [Thu, 23 Dec 2004 06:18:22 +0000 (06:18 +0000)]
    * config/i386/predicates.md (sse_comparison_operator): Fix
        typo in ieee test.
        (arith_or_logical_operator): Downcase codes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92532 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR target/18511
kkojima [Thu, 23 Dec 2004 04:53:48 +0000 (04:53 +0000)]
PR target/18511
* reload1.c (emit_output_reload_insns): Check if OLD is a hard
register before calling regno_clobbered_p.
* reload.c: Update comment for regno_clobbered_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92531 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.c (override_options): Respect user disable of
rth [Thu, 23 Dec 2004 03:49:04 +0000 (03:49 +0000)]
    * config/i386/i386.c (override_options): Respect user disable of
        fancy 387 math, sse, mmx.
        (construct_container): Generate error if we need an sse regster
        and sse has been disabled.
        * config/i386/i386.h (TARGET_SWITCHES): Disabling sse also disables
        later sse generations.  Disabling mmx also disables 3dnow.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92530 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-22 Daniel Berlin <dberlin@dberlin.org>
dberlin [Thu, 23 Dec 2004 02:50:24 +0000 (02:50 +0000)]
2004-12-22  Daniel Berlin  <dberlin@dberlin.org>

* tree-inline.c (struct inline_data): Remove inlined_fns.
(expand_call_inline): Remove dead code setting
inlined_fns.
(optimize_inline_calls): Remove dead code setting DECL_INLINED_FNS.
* tree.h (struct tree_decl): Remove inlined_fns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92529 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/18733
giovannibajo [Thu, 23 Dec 2004 01:49:39 +0000 (01:49 +0000)]
PR c++/18733
* pt.c (check_explicit_specialization): Use special logic to validate
befriended specializations.

PR c++/18733
* g++.dg/template/friend33.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92527 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-browser.c: Remove obsolete #ifdef HOST_EBCDIC code.
sayle [Thu, 23 Dec 2004 01:22:18 +0000 (01:22 +0000)]
* tree-browser.c: Remove obsolete #ifdef HOST_EBCDIC code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92525 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Thu, 23 Dec 2004 00:16:26 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92523 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agofix overlong line
amodra [Thu, 23 Dec 2004 00:15:17 +0000 (00:15 +0000)]
fix overlong line

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92520 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR target/18896
amodra [Thu, 23 Dec 2004 00:10:45 +0000 (00:10 +0000)]
PR target/18896
* function.c (split_complex_args): Set DECL_ARTIFICIAL and DECL_IGNORED_P
for real and imaginary parts if the parm is addressable.
(assign_parms_unsplit_complex): If parm addressable, save real
and imaginary parts to a stack temp.  Pass assign_parm_data_all.
(assign_parms): Adjust assign_parms_unsplit_complex call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92519 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-22 Daniel Berlin <dberlin@dberlin.org>
dberlin [Wed, 22 Dec 2004 22:32:15 +0000 (22:32 +0000)]
2004-12-22  Daniel Berlin  <dberlin@dberlin.org>

* tree.h (DECL_PTA_ALIASVAR): Dead.
(struct tree_decl): Remove alias_var field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92515 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * system.h (IN_RANGE): Restore HOST_WIDE_INT cast.
nathan [Wed, 22 Dec 2004 22:06:35 +0000 (22:06 +0000)]
* system.h (IN_RANGE): Restore HOST_WIDE_INT cast.
* tree.h (IS_EXPR_CODE_CLASS): Do not use IN_RANGE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92511 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * rtti.c (emit_support_tinfos): Avoid using C99 semantics.
mmitchel [Wed, 22 Dec 2004 21:32:33 +0000 (21:32 +0000)]
* rtti.c (emit_support_tinfos): Avoid using C99 semantics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92504 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.md (truncdfsf2): Don't create stack temp when
rth [Wed, 22 Dec 2004 19:07:44 +0000 (19:07 +0000)]
    * config/i386/i386.md (truncdfsf2): Don't create stack temp when
        using sse math only.  Use truncdfsf2_with_temp.
        (truncdfsf2_with_temp): New.
        (truncdfsf_fast_i387): Rename from truncdfsf2_noop.  Add memory
        output alternative.
        (truncdfsf_mixed): Rename from truncdfsf2_1_sse.  Compress duplicate
        alternatives.
        (truncdfsf_fast_sse): Rename from truncdfsf2_2.  Remove f alternative.
        (truncdfsf2_3, truncdfsf2_sse_only): Remove.
        (truncdfsf_i387): Rename from truncdfsf2_1.  Compress duplicates.
        (truncdfsf_fast_mixed): New.
        (truncdfsf splitters): Remove all except the 387 load/store split.
        (truncxfsf2_1, truncxfdf2_1): Unify enable constraint with
        respect to TARGET_SSE2, TARGET_80387, TARGET_SSE_MATH and
        TARGET_MIX_SSE_I387.
        (*truncxf{s,d}f2_1): Rename to *truncxf{s,d}f2_mixed.
        (truncxf{s,d}f2_noop) Rename to truncxf{d,s}f2_i387_noop.
        (*truncxf{s,d}f2_i387): New patterns.
        (*truncxf{s,d}f2_2): Rename to *truncxf{s,d}f2_i387_1.
        (truncxf{s,d}f2, fmod{s,d}f3, drem{s,d}f3, log1p{s,d}f2,
        rint{s,d}f2, floor{s,d}f2, ceil{s,d}f2, btrunc{s,d}f2,
        nearbyint{s,d}f2): Use renamed patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92498 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
rth [Wed, 22 Dec 2004 18:51:24 +0000 (18:51 +0000)]
2004-12-22  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

        * trans.c (mark_visited): Set TYPE_SIZES_GIMPLIFIED.

2004-12-22  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

        * tree.h (TYPE_SIZES_GIMPLIFIED): New.
        * function.c (gimplify_parm_type): Don't gimplify type if already done.
        * gimplify.c (gimplify_decl_expr): Likewise.
        (gimplify_type_sizes): Set TYPE_SIZES_GIMPLIFIED.  Examine nested
        array types.

2004-12-22  Richard Henderson  <rth@redhat.com>

        * gimplify.c (eval_save_expr): Remove.
        (gimplify_one_sizepos): Unshare expr before gimplifying.
        * stor-layout.c (variable_size): Revert 2004-12-19 change.
        (layout_decl): Revert 2004-12-18 change.
        (layout_type): Revert 2004-12-21 change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92495 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-sra.c (type_can_be_decomposed_p): Reject variable sized types.
rth [Wed, 22 Dec 2004 18:43:44 +0000 (18:43 +0000)]
    * tree-sra.c (type_can_be_decomposed_p): Reject variable sized types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92494 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-22 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 22 Dec 2004 18:40:52 +0000 (18:40 +0000)]
2004-12-22  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/type_traits_fwd.h: New, forward declarations.
* include/tr1/type_traits: Clean-up.
* include/Makefile.am: Add.
* include/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92493 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/18464
mmitchel [Wed, 22 Dec 2004 18:00:39 +0000 (18:00 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92491 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92490 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in (install-common): Remove special-case code for when
mmitchel [Wed, 22 Dec 2004 17:22:59 +0000 (17:22 +0000)]
* Makefile.in (install-common): Remove special-case code for when
SPECS is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92489 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agogcc/
jbeulich [Wed, 22 Dec 2004 08:41:43 +0000 (08:41 +0000)]
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*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92488 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* config/mips/t-linux64: Remove code that messed with $(SPECS).
aoliva [Wed, 22 Dec 2004 06:02:15 +0000 (06:02 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92487 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/18378
mmitchel [Wed, 22 Dec 2004 03:34:55 +0000 (03:34 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92486 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * decl.c (define_label): Use POP_TIMEVAR_AND_RETURN.
reichelt [Wed, 22 Dec 2004 02:38:15 +0000 (02:38 +0000)]
* decl.c (define_label): Use POP_TIMEVAR_AND_RETURN.
* name-lookup.c (pushdecl_class_level): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92485 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92484 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92479 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-21 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Tue, 21 Dec 2004 21:20:02 +0000 (21:20 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92470 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * objc.dg/stabs-1.m: Allow section name to be quoted and
ebotcazou [Tue, 21 Dec 2004 21:02:05 +0000 (21:02 +0000)]
* objc.dg/stabs-1.m: Allow section name to be quoted and
assembly label to begin with '.LL'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92469 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gimplify.c (eval_save_expr): New.
rth [Tue, 21 Dec 2004 19:27:08 +0000 (19:27 +0000)]
    * gimplify.c (eval_save_expr): New.
        (gimplify_one_sizepos): Use it.
        * stor-layout.c (layout_type): Unshare TYPE_MIN/MAX_VALUE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92468 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc.dg/vect/vect.exp
janis [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92467 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * lib/target-supports.exp
janis [Tue, 21 Dec 2004 18:03:31 +0000 (18:03 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92466 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agocp:
nathan [Tue, 21 Dec 2004 17:54:25 +0000 (17:54 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92464 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92463 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-21 David O'Brien <obrien@FreeBSD.org>
obrien [Tue, 21 Dec 2004 17:34:18 +0000 (17:34 +0000)]
2004-12-21  David O'Brien  <obrien@FreeBSD.org>
* config/freebsd-spec.h:  Use KSE pthread lib for -pthread.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92462 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agocp:
nathan [Tue, 21 Dec 2004 17:28:35 +0000 (17:28 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92461 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-21 James A. Morrison <phython@gcc.gnu.org>
phython [Tue, 21 Dec 2004 17:07:06 +0000 (17:07 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92460 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-19 James A. Morrison <phython@gcc.gnu.org>
phython [Tue, 21 Dec 2004 17:01:08 +0000 (17:01 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92459 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.c (x86_sse_split_regs): Rename from
rth [Tue, 21 Dec 2004 16:46:04 +0000 (16:46 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92458 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.c (x86_sse_partial_regs_for_cvtsd2ss): Remove.
rth [Tue, 21 Dec 2004 16:06:50 +0000 (16:06 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92457 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92456 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * expr.c (emit_group_load_1): Return the source if the move
ebotcazou [Tue, 21 Dec 2004 07:49:58 +0000 (07:49 +0000)]
* expr.c (emit_group_load_1): Return the source if the move
is a regular move between complex values.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92455 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/18683
sayle [Tue, 21 Dec 2004 03:18:47 +0000 (03:18 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92453 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/18683
sayle [Tue, 21 Dec 2004 01:37:35 +0000 (01:37 +0000)]
PR middle-end/18683
* function.c (pop_function_context_from): Don't reset reg_renumber.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92452 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
tromey [Tue, 21 Dec 2004 01:03:55 +0000 (01:03 +0000)]
* java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
Re-enable duplicate class registration error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92447 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
tromey [Tue, 21 Dec 2004 01:01:08 +0000 (01:01 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92446 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR java/15001
tromey [Tue, 21 Dec 2004 00:49:45 +0000 (00:49 +0000)]
PR java/15001
* testsuite/libjava.jni/iface.c: New file.
* testsuite/libjava.jni/iface.out: New file.
* testsuite/libjava.jni/iface.java: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92445 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92443 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/18776
ebotcazou [Mon, 20 Dec 2004 23:04:37 +0000 (23:04 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92440 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92439 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Mon, 20 Dec 2004 22:32:39 +0000 (22:32 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92437 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in (install-common): Do not install the specs file
mmitchel [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92433 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Mon, 20 Dec 2004 21:07:13 +0000 (21:07 +0000)]
2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92430 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR rtl-optimization/18942
rakdver [Mon, 20 Dec 2004 20:48:53 +0000 (20:48 +0000)]
PR rtl-optimization/18942
* simplify-rtx.c (simplify_relational_operation_1): Simplify
x + cst1 == cst2 to x == cst2 - cst1.  Made static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92429 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/19044
austern [Mon, 20 Dec 2004 20:11:41 +0000 (20:11 +0000)]
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92428 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR tree-optimization/19080
dnovillo [Mon, 20 Dec 2004 18:18:37 +0000 (18:18 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92423 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92420 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-20 Andrew Haley <aph@redhat.com>
aph [Mon, 20 Dec 2004 13:35:25 +0000 (13:35 +0000)]
2004-12-20  Andrew Haley  <aph@redhat.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92419 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.md (sse2_movsd): Remove ix86_binary_operator_ok
rth [Mon, 20 Dec 2004 11:48:42 +0000 (11:48 +0000)]
    * config/i386/i386.md (sse2_movsd): Remove ix86_binary_operator_ok
        check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92416 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agogcc/
steven [Mon, 20 Dec 2004 11:26:47 +0000 (11:26 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92415 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-20 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 20 Dec 2004 11:26:24 +0000 (11:26 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92414 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.c (ix86_init_mmx_sse_builtins): Use
rth [Mon, 20 Dec 2004 10:57:12 +0000 (10:57 +0000)]
    * config/i386/i386.c (ix86_init_mmx_sse_builtins): Use
        long_long_integer_type_node in building V2DI_type_node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92413 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/emmintrin.h: Use __vector_size__ instead of vector_size.
rth [Mon, 20 Dec 2004 10:55:11 +0000 (10:55 +0000)]
    * config/i386/emmintrin.h: Use __vector_size__ instead of vector_size.
        * config/i386/mmintrin.h, config/i386/xmmintrin.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92412 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/md.texi (Expander Definitions): Use @emph instead of @strong
bje [Mon, 20 Dec 2004 09:50:21 +0000 (09:50 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92411 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAdd the missing ChangeLog entry.
hjl [Mon, 20 Dec 2004 05:14:34 +0000 (05:14 +0000)]
Add the missing ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92409 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-19 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 20 Dec 2004 04:01:20 +0000 (04:01 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92406 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-19 Dale Johannesen <dalej@apple.com>
dalej [Mon, 20 Dec 2004 03:11:52 +0000 (03:11 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92405 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92402 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * defaults.h (ASM_OUTPUT_INTERNAL_LABEL): New macro.
mmitchel [Mon, 20 Dec 2004 02:08:57 +0000 (02:08 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92401 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92399 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-19 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 19 Dec 2004 21:57:28 +0000 (21:57 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92392 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR 18067
rth [Sun, 19 Dec 2004 21:08:33 +0000 (21:08 +0000)]
    PR 18067
        * stor-layout.c (variable_size): Force creation of a SAVE_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92389 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/19068
sayle [Sun, 19 Dec 2004 20:11:15 +0000 (20:11 +0000)]
PR middle-end/19068
* g++.dg/opt/max1.C: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92388 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.c (ix86_split_to_parts): Use an array with
steven [Sun, 19 Dec 2004 20:10:41 +0000 (20:10 +0000)]
* config/i386/i386.c (ix86_split_to_parts): Use an array with
four elements for decoding a CONST_DOUBLE on 64 bits targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92387 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92385 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/m68k/m68kemb.h (TARGET_OS_CPP_BUILTINS): Remove redundant
bernie [Sun, 19 Dec 2004 19:24:38 +0000 (19:24 +0000)]
* config/m68k/m68kemb.h (TARGET_OS_CPP_BUILTINS): Remove redundant
definition of mc68000, already present in TARGET_CPU_CPP_BUILTINS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92384 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-18 Daniel Berlin <dberlin@dberlin.org>
dberlin [Sun, 19 Dec 2004 19:00:35 +0000 (19:00 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92381 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * libgfortran.h (itoa): Rename to gfc_itoa.
aaronwl [Sun, 19 Dec 2004 18:54:00 +0000 (18:54 +0000)]
* libgfortran.h (itoa): Rename to gfc_itoa.
* io/write.c (itoa): Same.
* runtime/environ.c (itoa): Same.
* runtime/error.c (itoa): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92380 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-19 Kelley Cook <kcook@gcc.gnu.org>
kcook [Sun, 19 Dec 2004 16:26:06 +0000 (16:26 +0000)]
2004-12-19  Kelley Cook  <kcook@gcc.gnu.org>

* include/config.h.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92379 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92378 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-19 Dhruv Matani <dhruvbird@gmx.net>
paolo [Sun, 19 Dec 2004 11:17:40 +0000 (11:17 +0000)]
2004-12-19  Dhruv Matani  <dhruvbird@gmx.net>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92376 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-12-19 Dhruv Matani <dhruvbird@gmx.net>
paolo [Sun, 19 Dec 2004 11:04:48 +0000 (11:04 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92375 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.md (SSEINT16): New.
rth [Sun, 19 Dec 2004 08:07:19 +0000 (08:07 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92374 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/16417
rth [Sun, 19 Dec 2004 04:42:14 +0000 (04:42 +0000)]
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92373 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-decl.c (finish_struct): Add DECL_EXPR for variable sized
rth [Sun, 19 Dec 2004 04:07:54 +0000 (04:07 +0000)]
    * c-decl.c (finish_struct): Add DECL_EXPR for variable sized
        structures seen inside functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92371 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92370 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92368 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/15486
ebotcazou [Sat, 18 Dec 2004 21:49:55 +0000 (21:49 +0000)]
PR middle-end/15486
* varasm.c (asm_emit_uninitialised): Return early if
a custom section is requested.
(assemble_variable): Revert 2002-03-15 patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92365 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR tree-optimization/18800
rakdver [Sat, 18 Dec 2004 20:22:52 +0000 (20:22 +0000)]
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92363 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92362 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR rtl-optimization/19001
rakdver [Sat, 18 Dec 2004 20:14:24 +0000 (20:14 +0000)]
PR rtl-optimization/19001
* loop-iv.c (iv_number_of_iterations): Record assumptions for loops
with power of two step to 'infinite' field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92361 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in (stor-layout.o): Depend upon gt-stor-layout.h.
sayle [Sat, 18 Dec 2004 19:40:20 +0000 (19:40 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92360 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * stor-layout.c (layout_decl): Unshare size expressions copied
rth [Sat, 18 Dec 2004 19:18:48 +0000 (19:18 +0000)]
    * stor-layout.c (layout_decl): Unshare size expressions copied
        from the type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92359 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * fold-const.c (multiple_of_p): Handle BIT_AND_EXPR when
rth [Sat, 18 Dec 2004 19:03:49 +0000 (19:03 +0000)]
    * fold-const.c (multiple_of_p): Handle BIT_AND_EXPR when
        BOTTOM is a power of two.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92358 138bc75d-0d04-0410-961f-82ee72b054a4