Commit Graph

63546 Commits

Author SHA1 Message Date
Paolo Carlini
509228203e streambuf_iterator.h (istreambuf_iterator::_M_get): Slightly tweak for clarity (also leads to measurably better code).
2004-11-14  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get):
	Slightly tweak for clarity (also leads to measurably better code).

From-SVN: r90636
2004-11-14 22:54:24 +00:00
Dorit Naishlos
fceb80bf94 * gcc.dg/vect/vect-78.c: Now vectorized on powerpc*.
From-SVN: r90635
2004-11-14 22:42:16 +00:00
Kazu Hirata
4924302529 * cfgrtl.c: Fix a comment typo.
From-SVN: r90632
2004-11-14 21:25:37 +00:00
Dorit Naishlos
f7f021251d re PR tree-optimization/18400 (wrong unrolling after vectorization due to invalid loop->nb_iterations)
2004-11-14  Dorit Naishlos  <dorit@il.ibm.com>

        PR tree-opt/18400
        * gcc.dg/vect/pr18400.c: New test.

2004-11-14  Dorit Naishlos  <dorit@il.ibm.com>
            Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/18425
        * gcc.dg/vect/pr18425.c: New test.

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

From-SVN: r90631
2004-11-14 20:44:52 +00:00
Stan Shebs
594a51febe Basic ABI changes for passing structs by value in 64-bit Darwin.
* config/rs6000/rs6000.c (rs6000_darwin64_abi): New flag.
        (rs6000_override_options): Set it for 64-bit Darwin.
        (rs6000_parse_abi_options): Add testing options to change it.
        (rs6000_return_in_memory): Test whether the type is one
        that can be passed in registers.
        (darwin64_function_arg_advance): New.
        (function_arg_advance): Call it, plus add recursion depth
        argument and test when counting off arguments.
        (rs6000_darwin64_function_arg): New.
        (function_arg): Call it.
        (setup_incoming_varargs): Add argument to function_arg_advance.
        (rs6000_darwin64_function_value): New.
        (rs6000_function_value): Call it.
        * config/rs6000/rs6000.h (FUNCTION_ARG_ADVANCE): Pass depth arg.
        * config/rs6000/rs6000-protos.h: Update decl of
        function_arg_advance.

From-SVN: r90629
2004-11-14 20:28:58 +00:00
Andrew Pinski
1e1b864906 re PR target/17279 (internal compiler error with 128 bit integers)
2004-11-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/17279
        * c-common.c (c_common_nodes_and_builtins): Ask the back-end if we
        support TImode before adding __int128_t and __uint128_t types.

From-SVN: r90627
2004-11-14 10:54:18 -08:00
Dorit Naishlos
d6f6ef21b2 re PR tree-optimization/18400 (wrong unrolling after vectorization due to invalid loop->nb_iterations)
PR tree-opt/18400
        * tree-vectorizer.c (make_loop_iterate_ntimes): Set loop->nb_iterations.
        (vect_transform_loop_bound): Set loop->nb_iterations.

From-SVN: r90626
2004-11-14 18:30:36 +00:00
Dorit Naishlos
4951c3fd4c re PR tree-optimization/18425 (ICE in vector.tcc when -ftree-vectorize enabled)
2004-11-14  Dorit Naishlos  <dorit@il.ibm.com>
            Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/18425
        * tree-vectorize.c (vect_build_loop_niters): Do not insert
        NULL into the instruction stream. Initialize new_bb to NULL.
        (vect_update_ivs_after_vectorizer): Likewise.
        (vect_gen_niters_for_prolog_loop): Likewise.

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

From-SVN: r90625
2004-11-14 18:25:33 +00:00
Zdenek Dvorak
9beeb4ee4c re PR tree-optimization/18431 (Code for arrays and pointers are not the same)
PR tree-optimization/18431
	* tree-flow.h (stmt_references_memory_p): Declare.
	* tree-ssa-loop-im.c (stmt_cost): Use stmt_references_memory_p.
	* tree-ssa.c (stmt_references_memory_p): New function.

From-SVN: r90624
2004-11-14 18:04:25 +00:00
Eric Botcazou
3021a627c5 alias-1.c: Remove dg-warning on the SPARC.
* gcc.dg/tls/alias-1.c: Remove dg-warning on the SPARC.
	Guard with dg-require-alias and dg-require-visibility.

From-SVN: r90623
2004-11-14 16:52:48 +00:00
Andreas Schwab
fd3fe0a11b Makefile.in (lambda-code.o, [...]): Depend on $(EXPR_H).
* Makefile.in (lambda-code.o, tree-loop-linear.o): Depend on
	$(EXPR_H).

From-SVN: r90621
2004-11-14 16:24:28 +00:00
Kazu Hirata
daa956d01f * cselib.c, expr.c: Fix comment typos.
From-SVN: r90620
2004-11-14 13:05:19 +00:00
Kazu Hirata
c1dc94c40a c-common.c (walk_stmt_tree): Remove.
* c-common.c (walk_stmt_tree): Remove.
	* c-common.h: Remove the corresponding prototype.

From-SVN: r90619
2004-11-14 12:55:15 +00:00
Kazu Hirata
29eb4ac9ad c-common.c (walk_stmt_tree): Remove.
* c-common.c (walk_stmt_tree): Remove.
	* c-common.h: Remove the corresponding prototype.

From-SVN: r90618
2004-11-14 12:53:30 +00:00
Eric Botcazou
6b870fa9f4 * g++.dg/other/packed1.C: UnXFAIL on SPARC, PA, MIPS and PowerPC.
From-SVN: r90617
2004-11-14 11:28:14 +00:00
Giovanni Bajo
d6b75f7070 * g++.dg/expr/unary1.C, g++.dg/expr/unary2.C: New tests.
From-SVN: r90616
2004-11-14 10:58:50 +00:00
Kriang Lerdsuwanakij
e34b09225a re PR c++/17344 (completely wacky error with matching template template classes and default arguments)
PR c++/17344
	* pt.c (coerce_template_parms): Only emit error message about
	invalid template argument when TF_ERROR.

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

From-SVN: r90615
2004-11-14 10:57:00 +00:00
Hans-Peter Nilsson
18ccc7e0e3 * gcc_update (touch_files): Explicitly pass --no-print-directory.
From-SVN: r90614
2004-11-14 06:31:00 +00:00
Richard Henderson
27e29549a0 calls.c (precompute_register_parameters): Force all PARALLELs into pseudo registers.
* calls.c (precompute_register_parameters): Force all PARALLELs
        into pseudo registers.
        (load_register_parameters): Copy PARALLELs into hard registers.
        * function.c (assign_parm_setup_block): Copy PARALLELS into
        pseudo registers.  Do emit_group_store in conversion_insns.
        * expr.c (emit_group_load_1): Rename from emit_group_load, take
        tmps as an argument.  Move final copy loop ...
        (emit_group_load): ... here.  New function.
        (emit_group_load_into_temps, emit_group_move_into_temps): New.
        * expr.h: Declare them.

From-SVN: r90613
2004-11-13 22:22:56 -08:00
Kazu Hirata
eaf0dc0254 tree-cfg.c, [...]: Replace TREE_CHAIN with PHI_CHAIN where appropriate.
* tree-cfg.c, tree-if-conv.c, tree-ssa-loop-ivopts.c,
	tree-ssa-loop-manip.c, tree-vectorizer.c: Replace TREE_CHAIN
	with PHI_CHAIN where appropriate.

From-SVN: r90611
2004-11-14 04:08:11 +00:00
Dale Johannesen
88957e792d tree-flow.h (bsi_commit_one_edge_insert): Remove name from prototype.
2004-11-13  Dale Johannesen  <dalej@apple.com>

        * tree-flow.h (bsi_commit_one_edge_insert):  Remove name from prototype.
        (tree_block_label):  Ditto.
        (flush_pending_stmts):  Ditto.
        (insert_edge_copies):  Ditto.
        (expr_invariant_in_loop_p):  Ditto.
        (TDF_USE_OPS):  Parenthesize definition.
        (TDF_USE_VOPS):  Ditto.

From-SVN: r90610
2004-11-14 03:35:13 +00:00
David Edelsohn
6ca4177cf2 aix51.h (ASM_CPU_SPEC): Add 970 and G5.
* config/rs6000/aix51.h (ASM_CPU_SPEC): Add 970 and G5.
        * config/rs6000/aix52.h (ASM_CPU_SPEC): Same.
        * config/rs6000/t-aix52 (BOOT_LDFLAGS): Define.

From-SVN: r90609
2004-11-13 22:32:11 -05:00
Joseph Myers
6716ecbcfd i386.c (override_options): Move loop to set default tuning to correct place.
* config/i386/i386.c (override_options): Move loop to set default
	tuning to correct place.

From-SVN: r90606
2004-11-14 00:38:32 +00:00
GCC Administrator
f7b62acd2a Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90604.2
2004-11-14 00:16:19 +00:00
GCC Administrator
6b7fd2f5e8 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90603.2
2004-11-14 00:16:13 +00:00
Eric Botcazou
fa1dedd871 cast1.C: Run only on ILP32.
* g++.dg/parse/cast1.C: Run only on ILP32.
	* g++.old-deja/g++.mike/p784.C: Likewise.

From-SVN: r90601
2004-11-13 23:33:20 +00:00
Zak Kipling
e8112eacf7 re PR target/18300 (Infinite loop when passing object with 3+ base classes by value)
PR target/18300
        * config/i386/i386.c (classify_argument): Fix infinite loop when
        passing object with 3 or more base classes by value.

From-SVN: r90600
2004-11-13 15:09:08 -08:00
Eric Botcazou
595163db43 md.texi (constraints): Mention that it is useless when the two alternatives are strictly identical.
* doc/md.texi (constraints) <% modifier>: Mention that it is
	useless when the two alternatives are strictly identical.

From-SVN: r90598
2004-11-13 22:28:46 +00:00
Richard Henderson
4e36f613a3 expmed.c (extract_split_bit_field): Temporarily disable call to extract_force_align_mem_bit_field.
* expmed.c (extract_split_bit_field): Temporarily disable call to
        extract_force_align_mem_bit_field.

From-SVN: r90597
2004-11-13 14:10:47 -08:00
Kazu Hirata
1f83835576 c-cppbuiltin.c, [...]: Fix comment typos.
* c-cppbuiltin.c, cgraph.c, domwalk.h, except.c, gimplify.c,
	lambda-code.c, postreload.c, predict.c, tree-sra.c,
	tree-ssa-loop-manip.c, tree.c: Fix comment typos.

From-SVN: r90596
2004-11-13 21:11:04 +00:00
Kazu Hirata
e28d0cfbfb bitmap.c, [...]: Fix comment formatting.
* bitmap.c, bitmap.h, expmed.c, tree-cfg.c: Fix comment
	formatting.

From-SVN: r90595
2004-11-13 20:48:45 +00:00
Joseph Myers
68f674e990 inclhack.def (hpux_maxint, [...]): Remove.
* inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
	svr4__p, undefine_null): Remove.
	* fixincl.x: Regenerate.
	* tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
	* tests/base/sys/param.h: Remove.
	* tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
	tests/base/sys/limits.h: Update.

From-SVN: r90594
2004-11-13 20:41:01 +00:00
Kelley Cook
ae8cacc6fd install.texi (automake): Correctly document that everything now will use automake 1.9.3.
2004-11-13  Kelley Cook  <kcook@gcc.gnu.org>

	* doc/install.texi (automake): Correctly document that everything now
	will use automake 1.9.3.

From-SVN: r90593
2004-11-13 20:14:21 +00:00
Hans-Peter Nilsson
85407c3fc7 re PR target/18347 (mmix-knuth-mmixware testsuite failure: gcc.dg/uninit-C.c)
PR target/18347
	* config/mmix/mmix.c (mmix_function_outgoing_value): Handle
	TImode.  Sorry for other non-complex larger-than-64-bit modes.
	* config/mmix/mmix.h (MIN_UNITS_PER_WORD): Do not define.

From-SVN: r90592
2004-11-13 19:52:55 +00:00
Kelley Cook
993bcda188 install.texi (automake): Document that everything now uses 1.9.
2004-11-13  Kelley Cook  <kcook@gcc.gnu.org>

	* doc/install.texi (automake): Document that everything now uses 1.9.

From-SVN: r90591
2004-11-13 19:11:37 +00:00
Mike Stump
0e8f8feadd Fix typo, html is generated in the build directory, not the source directory.
From-SVN: r90590
2004-11-13 17:29:03 +00:00
Mike Stump
b48cf92f95 Unify html generation with other frontends.
From-SVN: r90589
2004-11-13 17:27:49 +00:00
Bernd Schmidt
61a5fa2998 * gcc.c-torture/execute/20041113-1.c: New test.
From-SVN: r90588
2004-11-13 17:13:37 +00:00
Bernd Schmidt
32fab725bc cse.c (cse_insn): Stores in a libcall sequence can invalidate previous loads.
* cse.c (cse_insn): Stores in a libcall sequence can invalidate
	previous loads.

From-SVN: r90587
2004-11-13 17:11:02 +00:00
Scott Robert Ladd
04e8180850 Fixed missing space in ChangeLog entry
From-SVN: r90586
2004-11-13 17:08:27 +00:00
Scott Robert Ladd
1537532b79 Added self as write-after-approval maintainer
From-SVN: r90585
2004-11-13 17:03:37 +00:00
Mike Stump
6b66a9554f Revert Index->Manual Index until --no-split is removed...
From-SVN: r90584
2004-11-13 17:00:09 +00:00
Kelley Cook
3c374d9134 Makefile.am: Define ACLOCAL_AMFLAGS.
2004-11-13  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.am: Define ACLOCAL_AMFLAGS.
	* acinclude.m4: Remove unnecessary sinclude.
	* aclocal.m4, Makefile.in, configure: Regenerate (autoreconf 1.9.3).

From-SVN: r90583
2004-11-13 16:38:04 +00:00
Kazu Hirata
3872a0aee4 * tree.h: Fix a comment typo.
From-SVN: r90582
2004-11-13 15:38:38 +00:00
Kazu Hirata
74f4f95c2b * tree.h: Fix a comment typo.
From-SVN: r90581
2004-11-13 15:33:36 +00:00
Steven Bosscher
d67fb775b3 cse.c (CHEAP_REGNO): Redefine using REGNO_PTR_FRAME_P and HARD_REGISTER_NUM_P.
* cse.c (CHEAP_REGNO): Redefine using REGNO_PTR_FRAME_P and
	HARD_REGISTER_NUM_P.

	* cselib.c (new_cselib_val): Make comment correct and more detailed.
	* flow.c (mark_set_1): Likewise.

	* except.c (duplicate_eh_region_1, duplicate_eh_region_2,
	duplicate_eh_regions): Remove.
	* except.h (duplicate_eh_regions): Remove prototype.
	* integrate.c (get_label_from_map, copy_rtx_and_substitute,
	global_const_equiv_varray): Remove.
	* integrate.h (get_label_from_map, copy_rtx_and_substitute,
	global_const_equiv_varray, set_label_in_map): Remove prototypes,
	extern declaration, and #define.
	(MAYBE_EXTEND_CONST_EQUIV_VARRAY, SET_CONST_EQUIV_DATA): Remove.
	(struct inline_remap): Remove.
	* varray.c (struct element): Remove entry for const_equiv_data.
	* varray.h (struct const_equiv_data): Remove.
	(enum varray_data_enum) <VARRAY_DATA_CONST_EQUIV>: Remove.
	(union varray_data_tag) <const_equiv>: Remove.
	(VARRAY_CONST_EQUIV_INIT, VARRAY_CONST_EQUIV,
	VARRAY_PUSH_CONST_EQUIV, VARRAY_TOP_CONST_EQUIV): Remove.

	* regstack.c (record_label_references): Remove unused function.

	* rtl.def (VALUE): Update comment.
	(LABEL_REF): Remove unused operand 2.
	* rtl.h (struct rtx_def): Update for removed accessor macros.
	(XCADVFLAGS, INSN_DEAD_CODE_P, LINE_NUMBER, CONTAINING_INSN,
	REG_LOOP_TEST_P): Remove.
	(ADDR_DIFF_VEC_FLAGS, CSELIB_VAL_PTR, LABEL_NEXTREF): Add comments.
	* web.c (entry_register): Don't copy REG_LOOP_TEST_P.
	* doc/rtl.texi (INSN_DEAD_CODE_P, REG_LOOP_TEST_P): Remove.

From-SVN: r90580
2004-11-13 14:18:04 +00:00
James A. Morrison
1136d30e65 re PR target/18230 (SPARC VIS instructions are not generated by GCC)
PR target/18230
	* gcc.dg/vect/tree-vect.h (check_vect): Add SPARC-specific test.
	* gcc.dg/vect/vect-2.c, gcc.dg/vect/vect-7.c, gcc.dg/vect/vect-9.c,
	gcc.dg/vect/vect-10.c, gcc.dg/vect/vect-12.c, gcc.dg/vect/vect-14.c,
	gcc.dg/vect/vect-15.c, gcc.dg/vect/vect-17.c, gcc.dg/vect/vect-18.c,
	gcc.dg/vect/vect-19.c, gcc.dg/vect/vect-20.c, gcc.dg/vect/vect-21.c,
	gcc.dg/vect/vect-22.c, gcc.dg/vect/vect-23.c, gcc.dg/vect/vect-24.c,
	gcc.dg/vect/vect-25.c, gcc.dg/vect/vect-26.c, gcc.dg/vect/vect-32.c,
	gcc.dg/vect/vect-33.c, gcc.dg/vect/vect-34.c, gcc.dg/vect/vect-35.c,
	gcc.dg/vect/vect-36.c, gcc.dg/vect/vect-37.c, gcc.dg/vect/vect-62.c,
	gcc.dg/vect/vect-63.c, gcc.dg/vect/vect-64.c, gcc.dg/vect/vect-65.c,
	gcc.dg/vect/vect-66.c, gcc.dg/vect/vect-67.c, gcc.dg/vect/vect-68.c,
	gcc.dg/vect/vect-69.c, gcc.dg/vect/vect-73.c, gcc.dg/vect/vect-75.c,
	gcc.dg/vect/vect-76.c, gcc.dg/vect/vect-78.c: Enable for
	SPARC.

From-SVN: r90579
2004-11-13 13:42:45 +00:00
James A. Morrison
893e18a5a1 re PR target/18230 (SPARC VIS instructions are not generated by GCC)
PR target/18230
	* config/sparc/sparc.c (sparc_rtx_costs): Handle the NAND vector
	patterns.
	* config/sparc/sparc.md (V64I): New macro for 64-bit modes.
	(V32I): New macro for 32-bit modes.
	(anddi3, anddi_sp32, anddi_sp64, and_not_di_sp32, and_not_di_sp64,
	iordi3, iordi3_sp32, iordi_sp64, or_not_di_sp32, or_not_di_sp64,
	xordi3, xordi3_sp32, xordi3_sp64, {AND, IOR, XOR} DI splitter,
	xor_not_di_sp32, xordi_not_di_sp64, one_cmpldi2, one_cmpldi_sp32,
	one_cmpldi_sp64): Use V64I instead of DI.
	(andsi3, andsi_sp32, andsi_sp64, and_not_si, iorsi3, or_not_si,
	xorsi3, xor_not_si, one_cmplsi2): Use V32I instead of SI.
	(addv2si3, addv4hi3, addv2hi3): Remove % modifier.
	(nandv64i_vis, nandv32i_vis): New patterns.

Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>

From-SVN: r90578
2004-11-13 13:25:09 +00:00
Mike Stump
9d65c5cb57 Makefile.in: Add html support.
* Makefile.in: Add html support.
        * java/Make-lang.in: Likewise.
        * fortran/Make-lang.in: Likewise.
        * treelang/Make-lang.in: Likewise.
        * doc/install.texi: Likewise.
        * doc/makefile.texi: Likewise.
        * doc/sourcebuild.texi: Likewise.

From-SVN: r90577
2004-11-13 07:35:55 +00:00
Mike Stump
251089a007 * Makefile.in (html): Add html generation support.
From-SVN: r90576
2004-11-13 07:33:27 +00:00