OSDN Git Service

pf3gnuchains/gcc-fork.git
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

19 years ago * tree-nested.c (save_tmp_var): New.
rth [Sat, 18 Dec 2004 18:59:04 +0000 (18:59 +0000)]
    * 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.

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

19 years ago* arm/ieee754-sf.S (floatdisf): Fix label definition in FPA
rearnsha [Sat, 18 Dec 2004 18:45:35 +0000 (18:45 +0000)]
* arm/ieee754-sf.S (floatdisf): Fix label definition in FPA
compatibility code.

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

19 years ago2004-12-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 18 Dec 2004 16:43:38 +0000 (16:43 +0000)]
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.

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

19 years ago * ifcvt.c (total_bb_rtx_cost): Rename function to cheap_bb_rtx_cost_p.
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.
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.

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

19 years ago PR middle-end/18548
sayle [Sat, 18 Dec 2004 14:38:44 +0000 (14:38 +0000)]
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.

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

19 years ago PR rtl-optimization/16968
ebotcazou [Sat, 18 Dec 2004 07:55:42 +0000 (07:55 +0000)]
PR rtl-optimization/16968
* loop.c (scan_loop): Stop scanning the loop for movable
insns as soon as an optimization barrier is encountered.

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

19 years ago PR 18897
zack [Sat, 18 Dec 2004 06:38:24 +0000 (06:38 +0000)]
PR 18897
* toplev.c (compile_file): Call process_pending_assemble_externals
just before targetm.asm_out.file_end.

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

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

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

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

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

19 years ago tree-optimization/18501
dnovillo [Fri, 17 Dec 2004 22:20:33 +0000 (22:20 +0000)]
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.

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

19 years ago * config/i386/i386.c (x86_64_reg_class_name): Re-indent.
rth [Fri, 17 Dec 2004 21:40:39 +0000 (21:40 +0000)]
    * 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.

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

19 years ago2004-12-17 Dale Johannesen <dalej@apple.com>
dalej [Fri, 17 Dec 2004 20:05:34 +0000 (20:05 +0000)]
2004-12-17  Dale Johannesen  <dalej@apple.com>

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

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

19 years ago[gcc/testsuite/ChangeLog]
zlaski [Fri, 17 Dec 2004 19:32:51 +0000 (19:32 +0000)]
[gcc/testsuite/ChangeLog]
2004-12-17  Ziemowit Laski  <zlaski@apple.com>

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

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

19 years ago * init.c (build_zero_init): max_index is the number of
steven [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.

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

19 years ago * gcc.c-torture/execute/20041213-1.c: Move...
jakub [Fri, 17 Dec 2004 16:05:57 +0000 (16:05 +0000)]
* gcc.c-torture/execute/20041213-1.c: Move...
* gcc.c-torture/execute/ieee/20041213-1.c: ...to here.

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

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

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

19 years agocp:
nathan [Fri, 17 Dec 2004 15:58:04 +0000 (15:58 +0000)]
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.

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

19 years ago2004-12-10 Andrew Haley <aph@redhat.com>
aph [Fri, 17 Dec 2004 15:13:44 +0000 (15:13 +0000)]
2004-12-10  Andrew Haley  <aph@redhat.com>

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

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

19 years ago2004-12-17 Andrew Haley <aph@redhat.com>
aph [Fri, 17 Dec 2004 15:09:11 +0000 (15:09 +0000)]
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.

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

19 years ago2004-12-17 Andreas Krebbel <krebbel1@de.ibm.com>
uweigand [Fri, 17 Dec 2004 13:18:00 +0000 (13:18 +0000)]
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.

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

19 years ago2004-12-17 Jan Beulich <jbeulich@novell.com>
jbeulich [Fri, 17 Dec 2004 08:53:58 +0000 (08:53 +0000)]
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.

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

19 years ago * tree.c (type_contains_placeholder_1): Always return false
steven [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.

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

19 years ago * config/i386/i386.md (extendsfdf2, *extendsfdf2_1,
uros [Fri, 17 Dec 2004 06:28:59 +0000 (06:28 +0000)]
* 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.

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

19 years ago[gcc/testsuite/ChangeLog]
zlaski [Fri, 17 Dec 2004 02:50:33 +0000 (02:50 +0000)]
[gcc/testsuite/ChangeLog]
2004-12-16  Ziemowit Laski  <zlaski@apple.com>

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

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

19 years ago2004-12-16 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 17 Dec 2004 00:54:49 +0000 (00:54 +0000)]
2004-12-16  Andrew Pinski  <pinskia@physics.uc.edu>

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

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

19 years ago2004-12-16 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 17 Dec 2004 00:25:16 +0000 (00:25 +0000)]
2004-12-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/19041
        * config/darwin.c (machopic_symbol_defined_p): Return false
        if the binds local and is a common symbol.

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

        PR target/19041
        * gcc.dg/visibility-c.c: New test.

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

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

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

19 years ago * config/i386/i386.md (extv, extzv, insv): Revalidate the
rth [Thu, 16 Dec 2004 23:18:03 +0000 (23:18 +0000)]
    * config/i386/i386.md (extv, extzv, insv): Revalidate the
        operand with ext_register_operand.

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

19 years ago * global.c: Fix a comment typo.
kazu [Thu, 16 Dec 2004 21:57:49 +0000 (21:57 +0000)]
* global.c: Fix a comment typo.

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

19 years ago * de.po: Update.
jsm28 [Thu, 16 Dec 2004 20:02:18 +0000 (20:02 +0000)]
* de.po: Update.

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

19 years ago PR tree-optimization/18707
ebotcazou [Thu, 16 Dec 2004 20:01:25 +0000 (20:01 +0000)]
PR tree-optimization/18707
* cfgloopmanip.c (create_preheader): Move the preheader
only if the latch was falling through to the header.

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

19 years agogcc
dannysmith [Thu, 16 Dec 2004 19:56:12 +0000 (19:56 +0000)]
gcc
PR target/18997
* config/i386/cygwin.h (GTHREAD_USE_WEAK): Define to 0.

libstdc++-v3
PR target/18997
* config/os/newlib/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK):
Define to 0 for __CYGWIN__.

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

19 years ago2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
amylaar [Thu, 16 Dec 2004 19:50:41 +0000 (19:50 +0000)]
2004-12-16  Andrew Stubbs  <andrew.stubbs@st.com>

* configure.in (sh64-*-*): Reenable gprof.
* configure: Regenerate.

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

19 years ago * simplify-rtx.c (simplify_replace_rtx): Do not blindly replace
aldyh [Thu, 16 Dec 2004 19:19:04 +0000 (19:19 +0000)]
* simplify-rtx.c (simplify_replace_rtx): Do not blindly replace
hard registers.

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

19 years ago2004-12-14 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 16 Dec 2004 19:14:29 +0000 (19:14 +0000)]
2004-12-14  H.J. Lu  <hongjiu.lu@intel.com>

PR other/18508
* config/alpha/t-osf4 (SHLIB_LINK): Use `.backup' as the suffix
to back up the existing shared library.
* config/arm/t-netbsd (SHLIB_LINK): Likewise.
* config/mips/t-slibgcc-irix (SHLIB_LINK): Likewise.
* config/pa/t-hpux-shlib (SHLIB_LINK): Likewise.
* config/sh/t-linux (SHLIB_LINK): Likewise.
* config/t-libunwind-elf (SHLIBUNWIND_LINK): Likewise.
* config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
* config/t-slibgcc-elf-ver (SHLIB_LINK): Likewise.
* config/t-slibgcc-sld (SHLIB_LINK): Likewise.

* config/i386/t-nwld (SHLIB_LINK): Don't use the temporary
file.

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

19 years ago* trans-intrinsic.c (build_fixbound_expr): Clarify comment, fix
tobi [Thu, 16 Dec 2004 19:10:18 +0000 (19:10 +0000)]
* trans-intrinsic.c (build_fixbound_expr): Clarify comment, fix
comment typo.

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

19 years ago PR middle-end/18493
sayle [Thu, 16 Dec 2004 17:52:02 +0000 (17:52 +0000)]
PR middle-end/18493
* gcc.dg/switch-8.c: New test case.

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

19 years ago * Makefile.in (MD_DEPS, s-mddeps): New.
rth [Thu, 16 Dec 2004 17:31:58 +0000 (17:31 +0000)]
    * Makefile.in (MD_DEPS, s-mddeps): New.
        (s-config, s-conditions, s-flags, s-codes, s-constants, s-emit,
        s-recog, s-opinit, s-extract, s-peep, s-attr, s-attrtab, s-output,
        s-preds): Depend on MD_DEPS instead of md_file.
        (genobjnames): Add genmddeps.o
        (build/genmddeps, build/genmddeps.o): New.
        (mostlyclean): Remove mddeps.mk.
        * genmddeps.c: New file.
        * gensupport.c (include_callback): New.
        (process_include): Call it.
        * gensupport.h (include_callback): Declare.

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

19 years ago * local-alloc.c (block_alloc): Replace IN_RANGE with simple
nathan [Thu, 16 Dec 2004 16:48:23 +0000 (16:48 +0000)]
* local-alloc.c (block_alloc): Replace IN_RANGE with simple
comparison.

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

19 years ago2004-12-16 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 16 Dec 2004 15:00:37 +0000 (15:00 +0000)]
2004-12-16  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/type_traits: Implement add_const, add_volatile,
and add_cv.
* testsuite/tr1/4_metaprogramming/const_volatile_modifications/
add_const.cc: New.
* testsuite/tr1/4_metaprogramming/const_volatile_modifications/
add_cv.cc: Likewise.
* testsuite/tr1/4_metaprogramming/const_volatile_modifications/
add_volatile.cc: Likewise.

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

19 years ago * doc/c-tree.texi (CONSTRUCTOR): Mention RANGE_EXPRs.
nathan [Thu, 16 Dec 2004 14:17:24 +0000 (14:17 +0000)]
* doc/c-tree.texi (CONSTRUCTOR): Mention RANGE_EXPRs.

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

19 years ago2004-12-16 Mark Dettinger <dettinge@de.ibm.com>
uweigand [Thu, 16 Dec 2004 12:31:32 +0000 (12:31 +0000)]
2004-12-16  Mark Dettinger  <dettinge@de.ibm.com>

* config/s390/s390.c (struct processor_costs): Two new fields:
madbr, maebr.
(s390_rtx_costs): Added handling of multipy and add in SFmode.
More precise values for cost of multiply and add.

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

19 years ago2004-12-16 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 16 Dec 2004 11:35:56 +0000 (11:35 +0000)]
2004-12-16  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/type_traits: Implement is_function.
(struct __sfinae_types, struct __is_function_helper): New.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_object/is_object.cc: New.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_object/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_function/is_function.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_function/typedefs.cc: Likewise.

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

19 years agocp:
nathan [Thu, 16 Dec 2004 11:04:09 +0000 (11:04 +0000)]
cp:
PR c++/18905
* cp-tree.h (integral_constant_value): Declare.
* call.c (null_ptr_cst_p): Use integral_constant_value, not
decl_constant_value.
(convert_like_real): Likewise.
* class.c (check_bitfield_decl): Likewise.
* cvt.c (ocp_convert): Likewise.
(convert): Remove unnecessary decl_constant_value call.
* decl.c (compute_array_index_type): Use integral_constant_value,
not decl_constant_value.
(build_enumerator): Likewise.
* decl2.c (grokfield): Likewise.
* init.c (decl_constant_value): Simplify.
(integral_constant_value): New.
* pt.c (fold_decl_constant_value): Use integral_constant_value,
remove subsequent check.
(tsubst): Use integral_constant_value, not decl_constant_value.
(tsubst_copy, unify): Likewise.
* typeck.c (decay_conversion): Likewise.
(build_compound_expr): Remove unnecessary decl_constant_value
calls.
(build_static_cast_1, build_reinterpret_cast_1):
(convert_for_assignment): Remove comment about not calling
decl_constant_value.
testsuite:
PR c++/18905
* g++.dg/template/init4.C: New.
* g++.dg/opt/static3.C: Enable optimizer.

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

19 years ago * g++.dg/other/complex1.C: New test.
ebotcazou [Thu, 16 Dec 2004 10:16:24 +0000 (10:16 +0000)]
* g++.dg/other/complex1.C: New test.

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

19 years ago PR target/19028
rth [Thu, 16 Dec 2004 09:42:46 +0000 (09:42 +0000)]
    PR target/19028
        * config/i386/i386.md (sse compare splitter): Test for SF and DFmode
        explicitly instead of using VALID_SSE_REG_MODE.

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

19 years ago PR target/19005
rth [Thu, 16 Dec 2004 09:40:31 +0000 (09:40 +0000)]
    PR target/19005
        * config/i386/i386.md (swaphi_1): Swap with swaphi_2, allow with
        optimize_size.
        (swapqi_1): Rename from swapqi.  Enable only for no partial reg
        stall and optimize_size.
        (swapqi_2): New.
        (swaphi_1, swaphi_2, swapqi_1): Add athlon_decode.
        (swapsi, swaphi_1, swaphi_2, swapqi_1, swapdi): Remove modrm override.

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

19 years ago * config/i386/i386.md (*floathisf2_i387, *floathidf2_i387):
uros [Thu, 16 Dec 2004 09:34:07 +0000 (09:34 +0000)]
* config/i386/i386.md (*floathisf2_i387, *floathidf2_i387):
Also enable for TARGET_MIX_SSE_I387.

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

19 years ago * config/i386/i386.md (sqrt{s,d}f2_1, sqrt{s,d}f2_1_sse_only,
uros [Thu, 16 Dec 2004 09:29:57 +0000 (09:29 +0000)]
* config/i386/i386.md (sqrt{s,d}f2_1, sqrt{s,d}f2_1_sse_only,
sqrt{s,d}f2_i387): Unify enable constraint with respect to
TARGET_SSE, TARGET_SSE2, TARGET_USE_FANCY_MATH_387,
TARGET_SSE_MATH and TARGET_MIX_SSE_I387.
(sqrt{s,d}f2_1): Rename to *sqrt{s,d}f2_mixed.
(sqrt{s,d}f2_1_sse_only): Rename to *sqrt{s,d}f2_sse.
(sqrt{s,d}f2_i387): Rename to *sqrt{s,d}f2_i387.
(*sqrtextendsfdf2): Also enable for TARGET_MIX_SSE_I387.
(*sqrtextend?f?f2): Rename to *sqrtextendsfdf2_i387.

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

19 years ago * config/i386/i386.md (*fop_?f_comm_{,sse,nosse},
uros [Thu, 16 Dec 2004 06:35:57 +0000 (06:35 +0000)]
* config/i386/i386.md (*fop_?f_comm_{,sse,nosse},
*fop_?f_1_{,sse,nosse}, *fop_{d,x}f_{2,3,4,5,6}): Unify enable
constraint with respect to TARGET_80387, TARGET_SSE, TARGET_SSE2,
TARGET_SSE_MATH and TARGET_MIX_SSE_I387.
(*fop_?f_{comm,1}): Rename to *fop_?f_{comm,1}_mixed.
(*fop_?f_{comm,1}_nosse): Rename to *fop_?f_{comm,1}_i387.
(*fop_{d,x}f_{2,3,4,5,6}): Rename to *fop_{d,x}f_{2,3,4,5,6}_i387.

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

19 years ago[gcc/objc/ChangeLog]
zlaski [Thu, 16 Dec 2004 01:10:38 +0000 (01:10 +0000)]
[gcc/objc/ChangeLog]
2004-12-15  Ziemowit Laski  <zlaski@apple.com>

* objc-act.c (build_private_template): Change to return 'void'; do
not set ivar_context, uprivate_record or objc_instance_type.
(objc_comptypes, gen_type_name_0): For types 'id' and 'Class',
retrieve protocol list from the pointee rather than the pointer itself;
check TYPE_HAS_OBJC_INFO(...) precondition before accessing
TYPE_OBJC_PROTOCOL_LIST.
(objc_get_protocol_qualified_type): For types 'id' and 'Class',
construct a variant of the pointee as well as the pointer, and
store protocol information in the former.  When creating variants
of RECORD_TYPEs, clone their TYPE_LANG_SPECIFIC fields and propagate
TYPE_OBJC_INTERFACE information.
(objc_declare_class): If a TYPE_DECL is looked up, retrieve the
underlying RECORD_TYPE to check for presence of TYPE_OBJC_INTERFACE;
for newly-created RECORD_TYPEs, create a tentative TYPE_OBJC_INTERFACE
holding an IDENTIFIER_NODE.
(objc_finish_message_expr): Check TYPE_HAS_OBJC_INFO(...) before
accessing TYPE_OBJC_PROTOCOL_LIST; Use TYPE_OBJC_INTERFACE instead
of calling lookup_interface(); allow for TYPE_OBJC_INTERFACE holding
an IDENTIFIER_NODE (meaning a @class forward-declaration only).
(objc_is_public): Check TYPE_OBJC_INTERFACE instead of calling
lookup_interface().
(continue_class): For @implementations, set ivar_context,
uprivate_record and objc_instance_type, for @interfaces, call
build_private_template().
(encode_pointer): Check TYPE_HAS_OBJC_INFO(...) before accessing
TYPE_OBJC_INTERFACE.
(objc_types_are_equivalent): Check TYPE_HAS_OBJC_INFO(...) before
accessing TYPE_OBJC_PROTOCOL_LIST.
* objc-act.h (OBJC_INFO_SLOT_ELTS, TYPE_OBJC_INFO, INIT_TYPE_OBJC_INFO,
DUP_TYPE_OBJC_INFO, ALLOC_OBJC_TYPE_LANG_SPECIFIC,
SIZEOF_OBJC_TYPE_LANG_SPECIFIC): New macros.
(TYPE_OBJC_INTERFACE): Replaces TREE_STATIC_INSTANCE and now points
to an actual @interface; stored in TYPE_LANG_SPECIFIC(...).
(TYPE_OBJC_PROTOCOL_LIST): Replaces TYPE_PROTOCOL_LIST; stored in
TYPE_LANG_SPECIFIC(...).
(TREE_STATIC_INSTANCE, TYPE_PROTOCOL_LIST): Delete.
(IS_ID, IS_CLASS, IS_PROTOCOL_QUALIFIED_UNTYPED, IS_SUPER,
TYPED_OBJECT): Check for POINTER_TYPE rather than POINTER_TYPE_P;
adjust for use of TYPE_OBJC_INTERFACE and TYPE_OBJC_PROTOCOL_LIST
instead of TREE_STATIC_INSTANCE and TYPE_PROTOCOL_LIST.

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

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

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

19 years ago2004-12-15 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 15 Dec 2004 23:50:26 +0000 (23:50 +0000)]
2004-12-15  H.J. Lu  <hongjiu.lu@intel.com>

PR target/18153
* configure.ac: Define HAVE_LD_STATIC_DYNAMIC if linker supports
-Bstatic/-Bdynamic option.
* config.in: Regenerated.
* configure: Likewise.

* gcc.c (init_spec): Pass -Bstatic/-Bdynamic to ld for static
-lunwind if possible.

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

19 years ago * be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
jsm28 [Wed, 15 Dec 2004 22:44:28 +0000 (22:44 +0000)]
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
sv.po, tr.po: Update.

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

19 years ago * fr.po: Update.
jsm28 [Wed, 15 Dec 2004 22:29:31 +0000 (22:29 +0000)]
* fr.po: Update.

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

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

* cfgloop.c (flow_loops_dump): Don't print out levels.
(flow_loops_find): Don't set loop->levels.
(flow_loops_level_compute): Make void.
* cfgloop.h (struct loops): Remove levels member.
Add comment about loops in parray possibly being NULL.

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

19 years ago* reload.c (SMALL_REGISTER_CLASS_P): New.
aoliva [Wed, 15 Dec 2004 20:22:26 +0000 (20:22 +0000)]
* reload.c (SMALL_REGISTER_CLASS_P): New.
(push_secondary_reload, find_reusable_reload, find_reloads): Use
it instead of testing only the class size.

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

19 years ago* scanner.c (skip_fixed_comments): Fix typo in comment preceding
tobi [Wed, 15 Dec 2004 19:15:40 +0000 (19:15 +0000)]
* scanner.c (skip_fixed_comments): Fix typo in comment preceding
function.

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

19 years ago PR c++/17972
ebotcazou [Wed, 15 Dec 2004 19:14:55 +0000 (19:14 +0000)]
PR c++/17972
* tree-inline.c (expand_call_inline): Set TREE_SIDE_EFFECTS
on the STMT_EXPR wrapping up the inlined body.

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

19 years agofortran/
tobi [Wed, 15 Dec 2004 18:55:57 +0000 (18:55 +0000)]
fortran/
PR fortran/18993
* match.c (gfc_match_if): Don't explicitly skip optional whitespace.
(gfc_match_nullify): Make sure that ')' is in front of the end of
statement.

testsuite/
PR fortran/18993
* gfotran.dg/nullify_1.f: New test.

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

19 years ago2004-12-15 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Wed, 15 Dec 2004 17:59:51 +0000 (17:59 +0000)]
2004-12-15  Vladimir Makarov  <vmakarov@redhat.com>
            Steven Bosscher  <stevenb@suse.de>
PR middle end/17340

* global.c: Update comments in a few places.
(check_earlyclobber): Return true if there are early clobber
classes.
        (calculate_local_reg_bb_info): Do not try to mark earlyclobber
regs if there are none.
(bb_info, allocate_bb_info, free_bb_info, modify_reg_pav,
make_accurate_live_analysis): Rename pavin, pavout to live_pavin,
live_pavout.
(modify_bb_reg_pav): Remove.
(calculate_reg_pav): Use code from modify_bb_reg_pav.
(temp_bitmap): New variable.
(calculate_reg_pav): Allocate/deallocate temp_bitmap.

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

19 years ago PR target/19010
rth [Wed, 15 Dec 2004 17:41:58 +0000 (17:41 +0000)]
    PR target/19010
        * config/i386/i386.c (ix86_must_pass_in_stack): Don't return true
        for TImode vectors.
        (gen_reg_or_parallel): New.
        (function_arg): Use it.
        (ix86_hard_regno_mode_ok): Test SSE1 and SSE2 separately,
        MMX and 3DNOW separately.
        (ix86_rtx_costs): Simplify FLOAT_EXTEND case.
        (ix86_vector_mode_supported_p): Test SSE1 and SSE2 separately.
        * config/i386/i386.h (VALID_SSE2_REG_MODE): Move SSE2 cases from ...
        (VALID_SSE_REG_MODE): ... here.

        * gcc.target/i386/i386.exp: New harness.
        * gcc.target/i386/vect-args.c: New.

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

19 years ago * xcoffout.c (xcoffout_declare_function): Change strncpy to memcpy.
dje [Wed, 15 Dec 2004 16:01:55 +0000 (16:01 +0000)]
    * xcoffout.c (xcoffout_declare_function): Change strncpy to memcpy.

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

19 years ago * gcc.dg/20040813-1.c: Skip for *-*-aix*.
dje [Wed, 15 Dec 2004 15:54:48 +0000 (15:54 +0000)]
    * gcc.dg/20040813-1.c: Skip for *-*-aix*.

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

19 years ago PR c++/18825
lerdsuwa [Wed, 15 Dec 2004 15:21:11 +0000 (15:21 +0000)]
PR c++/18825
* pt.c (instantiate_class_template): Set input_location for
friend function.
(tsubst_friend_function): Don't set input_location here.
Make sure the context is complete if necessary.

* g++.dg/template/friend32.C: New test.

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