Commit Graph

63735 Commits

Author SHA1 Message Date
David Edelsohn 23ba09f070 fixed some missed bits in the last commit.
From-SVN: r91027
2004-11-22 15:29:25 -05:00
Daniel Berlin 46b483a7c8 tree-ssa.c (verify_ssa): SSA_OP_ALL_USES should be SSA_OP_ALL_USES | SSA_OP_ALL_KILLS for verification...
2004-11-22 Daniel Berlin  <dberlin@dberlin.org>

        * tree-ssa.c (verify_ssa): SSA_OP_ALL_USES should be
	SSA_OP_ALL_USES | SSA_OP_ALL_KILLS for verification purposes.

From-SVN: r91026
2004-11-22 20:28:01 +00:00
David Edelsohn ad630bef66 rs6000.c (rs6000_return_in_memory): Test TARGET_ALTIVEC_ABI.
2004-11-22  David Edelsohn  <edelsohn@gnu.org>
	    Fariborz Jahanian  <fjahanian@apple.com>

	* config/rs6000/rs6000.c (rs6000_return_in_memory): Test
	TARGET_ALTIVEC_ABI.
	(function_arg_boundary): Align 8 to 16 byte vectors like SPE.
	Align 16 byte and larger vectors like Altivec.
	(function_arg_advance): Pass any 16 byte vector like Altivec vector.
	(function_arg): Same.
	(rs6000_pass_by_references): Test TARGET_ALTIVEC_ABI.

Co-Authored-By: Fariborz Jahanian <fjahanian@apple.com>

From-SVN: r91025
2004-11-22 15:25:31 -05:00
Andrew Pinski 478e209287 re PR tree-optimization/18572 (Bus error compiling makegpr.adb on Mac OS X 10.3)
2004-11-22  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/18572
        * tree-sra.c (scalarize_init): Unshare the rhs before gimplifying
        it.

From-SVN: r91024
2004-11-22 12:02:16 -08:00
Richard Henderson 65c844e23d function.c (assign_parm_setup_block): Revert 11-13 change to forcably re-mode a (possibly BLKmode) hard register.
* function.c (assign_parm_setup_block): Revert 11-13 change to
        forcably re-mode a (possibly BLKmode) hard register.

From-SVN: r91023
2004-11-22 10:55:05 -08:00
Eric Botcazou bf02e7fa52 ffi.c (ffi_prep_closure): Align doubles and 64-bit integers on a 8-byte boundary.
* src/sparc/ffi.c (ffi_prep_closure): Align doubles and 64-bit integers
	on a 8-byte boundary.
	* src/sparc/v8.S (ffi_closure_v8): Reserve frame space for
	arguments.

From-SVN: r91022
2004-11-22 18:35:16 +00:00
Eric Botcazou 167a1354b3 * config/sparc/sparc.c (mem_min_alignment): Check MEM_ALIGN.
From-SVN: r91021
2004-11-22 18:32:26 +00:00
David Edelsohn 4e596a097d power4.md: Remove delay between dispatch and issue associated with dispatch group slots 3...
* config/rs6000/power4.md: Remove delay between dispatch and issue
	associated with dispatch group slots 3 and 4.
	* config/rs6000/power5.md: Same.

From-SVN: r91020
2004-11-22 12:19:09 -05:00
Jeff Law 9ff3d2dea0 cfg.c (cached_make_edge): Use find_edge rather than an inlined variant.
* cfg.c (cached_make_edge): Use find_edge rather than an inlined
        variant.
        * cfgbuild.c (make_edges): Likewise.
        * cfghooks.c (can_duplicate_block_p): Likewise.
        * cfgloop.c (loop_latch_edge): Likewise.
        * cfgloopmanip.c (force_single_succ_latches): Likewise.
        * cfgrtl.c (rtl_flow_call_edges_add): Likewise.
        * predict.c (predict_loops, propagate_freq): Likewise.
        * tracer.c (tail_duplicate): Likewise.
        * tree-cfg.c (disband_implicit_edges): Likewise.
        (tree_forwarder_block_p, tree_flow_call_edges_add): Likewise.

From-SVN: r91019
2004-11-22 10:14:00 -07:00
Fariborz Jahanian 169c5767ef Fixing the testc case.
From-SVN: r91018
2004-11-22 17:06:13 +00:00
Nick Clifton 18b0f6cc7a sbitmap.c (sbitmap_union_of_preds): Remove redundant initialisation of 'e'.
From-SVN: r91017
2004-11-22 16:39:22 +00:00
Kazu Hirata 907109016b re PR rtl-optimization/18599 (Quadratic behavior in copyprop_hardreg_forward)
PR rtl-optimization/18599
	* regrename.c (copyprop_hardreg_forward): Speed up by putting
	BB_VISITED flags on basic blocks as we process them.

From-SVN: r91016
2004-11-22 15:18:50 +00:00
Nathan Sidwell f96bc21354 altivec.md (VI_char): New mode attribute.
* config/rs6000/altivec.md (VI_char): New mode attribute.
	(addv16qi3, addv8hi3, addv4ai3): Replace with ...
	(add<mode>3): ... this.
	(subv16qi3, subv8hi3, subv4ai3): Replace with ...
	(sub<mode>3): ... this.
	(smaxv16qi3, smaxv8hi3, smaxv4ai3): Replace with ...
	(smax<mode>3): ... this.
	(sminv16qi3, sminv8hi3, sminv4ai3): Replace with ...
	(smin<mode>3): ... this.
	(umaxv16qi3, umaxv8hi3, umaxv4ai3): Replace with ...
	(umax<mode>3): ... this.
	(uminv16qi3, uminv8hi3, uminv4ai3): Replace with ...
	(umin<mode>3): ... this.
	(andv16qi3, andv8hi3, andv4ai3): Replace with ...
	(and<mode>3): ... this.
	(iorv16qi3, iorv8hi3, iorv4ai3): Replace with ...
	(ior<mode>3): ... this.
	(xorv16qi3, xorv8hi3, xorv4ai3): Replace with ...
	(xor<mode>3): ... this.
	(andv16qi3, andv8hi3, andv4ai3): Replace with ...
	(and<mode>3): ... this.
	(iorv16qi3, iorv8hi3, iorv4ai3): Replace with ...
	(ior<mode>3): ... this.
	(altivec_vnor): Replace with ...
	(altivec_nor<mode>): ... this.
	(one_cmplv16qi2, one_cmplv8hi2, one_complv4ai2): Replace with ...
	(one_cmpl<mode>2): ... this.
	(altivec_vandc): New expander.
	(*andc<mode>3): New insn.
	* config/rs6000/rs6000.c (bdesc_2arg): Adjust for new insn names.

From-SVN: r91015
2004-11-22 14:56:06 +00:00
Dorit Naishlos 618bb89c87 re PR tree-optimization/18536 (ICE: in emit_move_insn, at expr.c:2590 with -ftree-vectorize -msse2)
PR tree-opt/18536
        * tree-vectorizer.c (make_loop_iterate_ntimes): Use type of niters when
        creating iv instead of integer_type.
        (vect_build_loop_niters): Remove redundant code.
        (vect_transform_loop_bound): Removed (duplicates functionality of
        make_loop_iterate_ntimes.
        (vect_gen_niters_for_prolog_loop): Add documentation. Call
        lang_hooks.types.type_for_size to create a type of the required size.
        Use that type instead of integer_type. Remove redundant code.
        (vect_update_niters_after_peeling): Use type of niters instead of
        integer_type.
        (vect_transform_loop): Unify handling of known and unknown loop bound
        cases. Call make_loop_iterate_ntimes instead of
        vect_transform_loop_bound.

From-SVN: r91014
2004-11-22 13:55:05 +00:00
Andrew Pinski 9633a6ac62 re PR ada/17986 (Compile error for make.adb breaks bootstrap)
2004-11-22  Andrew Pinski  <pinskia@physics.uc.edu>

        PR ada/17986
        * ada-tree.h (lang_tree_node): Set chain_next to be the chain of the
        tree.

From-SVN: r91013
2004-11-22 05:50:41 -08:00
Andrew Pinski b6a4e96391 re PR target/18217 (Ada Bootstrap failures on powerpc-darwin with undefined symbol (__Unwind_fallback_frame_state_for))
2004-11-22  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/18217
        * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Move darwin-fallback.c to
        (LIB2ADDEH): Here.

From-SVN: r91012
2004-11-22 05:49:40 -08:00
Dorit Naishlos 2fa2d802da re PR tree-optimization/18544 (ICE with -ftree-vectorize)
PR tree-opt/18544
        * tree-vectorizer.c (vect_analyze_data_refs): Fail if memtag not found.

From-SVN: r91011
2004-11-22 13:41:57 +00:00
Kazuhiro Inaoka b94d4fe027 onfig.gcc: Use t-slibgcc-elf to build libgcc_s.so on m32r*linux.
config/m32r/t-linux (SHLIB_MAPFILES): Override to use m32r/libgcc-glibc.ver.
config/m32r/libgcc-glibc.ver: Add New file.

From-SVN: r91010
2004-11-22 12:34:37 +00:00
Nathan Sidwell 7932a3db21 bitmap.h (struct bitmap_obstack): New obstack type.
* bitmap.h (struct bitmap_obstack): New obstack type.
	(struct bitmap_head_def): Replace using_obstack with obstack
	pointer.
	(bitmap_default_obstack): New.
	(bitmap_initialize): Make inline, does not do allocation.
	(bitmap_release_memory): Remove.
	(bitmap_obstack_initialize, bitmap_obstack_release): Declare.
	(bitmap_obstack_alloc, bitmap_malloc_alloc, bitmap_gc_alloc,
	bitmap_obstack_free, bitmap_malloc_free): Declare.
	(BITMAP_OBSTACK_ALLOC, BITMAP_GGC_ALLOC, BITMAP_XMALLOC): Adjust.
	(BITMAP_FREE): Replace with ...
	(BITMAP_OBSTACK_FREE): ... this.
	(BITMAP_XFREE): Adjust.
	(BITMAP_INIT_ONCE): Remove.
	* bitmap.c (bitmap_obstack, bitmap_obstack_init, bitmap_free: Remove.
	(bitmap_default_obstack): New.
	(bitmap_elem_to_freelist): Adjust.
	(bitmap_element_allocate): Adjust. Break initialization into ...
	(bitmap_obstack_initialize): ... here.
	(bitmap_release_memory): Replace with ...
	(bitmap_obstack_release): ... this.
	(bitmap_obstack_alloc, bitmap_malloc_alloc, bitmap_gc_alloc,
	bitmap_obstack_free, bitmap_malloc_free): New.
	(bitmap_ior_and_compl, bitmap_ior_and_compl_into): Use
	bitmap_initialize.
	(bitmap_initialize): Move to bitmap.h.
	* gengtype.c (open_base_files): Add obstack.h to ifiles.
	* Makefile.in (BASIC_BLOCK_H, REGS_H): Add obstack.h.
	* basic-block.h (INIT_REG_SET): Allocate from reg_obstack.
	(INITIALIZE_REG_SET): Remove.
	(FREE_REG_SET): Use BITMAP_OBSTACK_FREE.
	(INIT_ONCE_REG_SET, MAX_REGNO_REG_SET): Remove.
	(flow_obstack): Do not declare.
	(reg_obstack): Declare.
	* regs.h: Include obstack.h.
	* tree-optimize.c (tree_rest_of_compilation): Initialize and
	release bitmap obstack here.
	* bb-reorder.c: #include regs, not basic-block.
	(fix_crossing_conditional_branches): Allocate regsets from
	reg_obstack.
	* bt-load.c: Do not inlude bitmap.h, sbitmap.h, basic-block.h or
	obstack.h.
	* caller-save.c: Include regs.h earlier.
	* cfg.c: Do not include basic-block.h or obstack.h.
	(reg_obstack): Define.
	* cfganal.c: Include obstack.h
	* cfgcleanyp.c: Do not include basic-block.h. Include regs.h
	earlier.
	* cfglayout.c: Do not include obstack.h.
	(flow_obstack): Remove declaration.
	(cfg_layout_duplicate_bb): Use reg_obstack.
	* cfgloop.c, cfgloopanal.c, cfgloopmanip.c: Include obstack.h.
	* cfgrtl.c (rtl_split_block): Use reg_obstack.
	(force_nonfallthru_and_redirect, rtl_split_edge): Likewise.
	(safe_insert_insn_on_edge): Use OBSTACK_ALLOC_REG_SET, adjust.
	(cfg_layout_split_edge): Use reg_obstack.
	* cse.c: Include regs.h earlier.
	* ddg.c: Do not include basic-block.h.
	* dominance.c: Inlude obstack.h.
	* flow.c (update_life_info): Use OBSTACK_ALLOC_REG_SET, adjust.
	(calculate_global_regs_live): Likewise.
	(allocate_bb_life_data): Use reg_obstack.
	(init_propagate_block_info): Use OBSTACK_ALLOC_REGSET.
	* global.c: Do not include basic-block.h.
	(build_insn_chain): Use OBSTACK_ALLOC_REG_SET, adjust.
	* graph.c: Include obstack.h.
	* haifa-sched.c: Do not include basic-block.h.
	* ifcvt.c: Use OBSTACK_ALLOC_REG_SET, adjust.
	* local-alloc.c: Do not include basic-block.h.
	* loop-init.c, loop-invariant.c: Include obstack.h.
	* loop-iv.c: Likewise.
	(simplify_using_initial_values): Use OBSTACK_ALLOC_REG_SET,
	adjust.
	* loop-unroll.c, loop-unswitch.c: Inlude obstack.h.
	* modulo-sched.c: Do not include basic-block.h.
	* passes.c (rest_of_handle_final): Do not call
	regset_release_memory.
	* ra-debug.c: Include regs.h earlier. Do not include
	basic-block.h.
	* recog.c (peephole2_optimize): Use OBSTACK_ALLOC_REG_SET, adjust.
	* regclass.c (init_reg_sets): Do not call INIT_ONCE_REG_SET.
	(allocate_reg_info): Do not call MAX_REGNO_REG_SET.
	(regset_release_memory): Remove.
	* resource.c: Do not include basic-block.h.
	* rtlanal.c: Do not include basic-block.h.
	* sbitmap.c: Include obstack.h.
	* sched-deps.c: Do not include basic-block.h.
	(reg_pending_sets_head, reg_pending_clobbers_head,
	reg_pending_uses_head): Remove.
	(init_deps_global): Use OBSTACK_ALLOC_REG_SET.
	* sched-ebb.c: Do not include basic-block.h.
	* sched-rgn.c: Likewise.
	* tree-if-conv.c (get_loop_body_in_if_conv_order): Use
	BITMAP_XFREE.
	* tree-outof-ssa.c (perform_edge_inserts): Use BITMAP_XFREE.
	* tree-sra.c (decide_instantiations): Adjust bitmap
	initialization.
	* tree-ssa-dce.c: Include obstack.h.
	* tree-ssa-pre.c (grand_bitmap_obstack): Make a bitmap_obstack.
	(value_insert_into_set_bitmap): Remove useless bitmap_clear.
	(bitmap_set_new): Likewise.
	(init_pre): Initialize bitmap obstack.
	(fini_pre): Release bitmap obstack.
	* tree-ssanames.c (ssa_names_to_rewrite): Make static.
	(marked_for_rewrite_p): ssa_names_to_rewrite is never NULL.
	(mark_for_rewrite, unmark_for_rewrite): Likewise.
	(marked_ssa_names): Likewise.
	(init_ssanames): Use BITMAP_XMALLOC.
	(fini_ssanames): Use BITMAP_XFREE.
	* web.c: Include obstack.h

From-SVN: r91009
2004-11-22 12:23:59 +00:00
Giovanni Bajo e99f332f05 re PR c++/18354 (expression "+1" not considered constant (as template parameter).)
PR c++/18354
	* typeck.c (build_unary_op) <CONVERT_EXPR, NEGATE_EXPR>: Unify code.
	Make sure the result is always a rvalue.

	PR c++/18354
	* g++.dg/template/nontype11.C: New test.

From-SVN: r91008
2004-11-22 12:15:53 +00:00
Nick Clifton 6cb70db4d9 sbitmap.c (sbitmap_union_of_preds): Set 'e' to the next edge predecessor in the first for-loop.
* sbitmap.c (sbitmap_union_of_preds): Set 'e' to the next edge predecessor in
the first for-loop.

From-SVN: r91007
2004-11-22 09:53:30 +00:00
Stan Shebs 8968965d59 better line breaks
From-SVN: r91004
2004-11-22 07:49:48 +00:00
Stan Shebs 8ff40a7446 rs6000.c: (rs6000_darwin64_function_arg): Add UNION_TYPE case.
* config/rs6000/rs6000.c: (rs6000_darwin64_function_arg): Add UNION_TYPE case.
        (function_arg): Move darwin test up, sniff mode first for efficiency, test
        for union type.

From-SVN: r91003
2004-11-22 07:24:54 +00:00
Dale Johannesen 31492595c6 darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Define.
2004-11-21  Dale Johannesen  <dalej@apple.com>

        * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION):  Define.

From-SVN: r91001
2004-11-22 06:46:04 +00:00
Jeff Law 609d9bedc8 tree-ssa.c (verify_use): Fix comment.
* tree-ssa.c (verify_use): Fix comment.
	(verify_phi_args): Check that the number of incoming edges matches
	the number of PHI arguments.  Check that each PHI argument is
	either an SSA_NAME or an invariant.  Coalesce tests for PHIs for
	dead or duplicated edges.  Clear e->aux earlier and avoid separate
	loop to clear e->aux and test for missed edges.
	(verify_ssa): Remove first walk over statements.  Move checking
	of PHI args into verify_phi_args.  Move checking of statements
	with aliased stores and V_MAY_DEFS into the remaining loop over
	the statements.  Register defs by walking through the formal
	SSA_NAME table.

From-SVN: r91000
2004-11-21 20:45:15 -07:00
Paolo Bonzini e8578da6ca Add Paolo Bonzini to vector ChangeLog.
From-SVN: r90999
2004-11-21 22:24:35 -05:00
Roger Sayle 6da285d241 re PR middle-end/18520 (ICE in emit_store_flag, at expmed.c:5081with -ffast-math)
PR middle-end/18520
	* dojump.c (compare_from_rtx): Clarify mode argument in function
	description.  Correct order of mode/cmp_mode arguments in call to
	simplify_relational_operation.  Check "tem" for COMPARISON_P.

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

From-SVN: r90997
2004-11-22 02:13:14 +00:00
Paolo Bonzini b693336bf3 re PR target/17836 (ABI breakage for 16-byte vectors (non-Altivec ABI & ISA))
PR target/17836
        * config/rs6000/rs6000.c (rs6000_return_in_memory): Return
        synthetic vectors in memory.
        (function_arg_boundary): Align large synthetic vectors.
        (rs6000_pass_by_reference): Pass synthetic vectors in memory.

From-SVN: r90995
2004-11-21 20:21:10 -05:00
GCC Administrator 7fb3dd8b75 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90993.2
2004-11-22 00:16:21 +00:00
GCC Administrator 0a31a038d2 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90992.2
2004-11-22 00:16:16 +00:00
Roger Sayle 743348ea53 inclhack.def (alpha_pthread_init): Fix technical problems with the last check-in caused by CVS variable substitution.
* inclhack.def (alpha_pthread_init): Fix technical problems with
	the last check-in caused by CVS variable substitution.
	* fixincl.x: Likewise.
	* tests/base/pthread.h: Likewise.

From-SVN: r90989
2004-11-21 23:01:44 +00:00
Nitin Yewale d23eb34146 Move from root of repository to intented place.
From-SVN: r90988
2004-11-21 22:54:00 +00:00
Jeff Law 763ea90493 cfg.c (update_bb_profile_for_threading): Do not rescale the successor probabilities if they are not going to change.
* cfg.c (update_bb_profile_for_threading): Do not rescale the
        successor probabilities if they are not going to change.  Pull
        division out of loop if we do need to rescale successor probabilities.

From-SVN: r90987
2004-11-21 13:41:37 -07:00
Michael Koch 926253eeca 2004-11-21 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/SocketChannelImpl.java
	(read): Only return 0 when no bytes for reading available in
	non-blocking mode.
	* java/nio/channels/SocketChannel.java:
	Added some missing @return tags.

From-SVN: r90986
2004-11-21 20:19:59 +00:00
Andreas Jaeger 7fe16580f0 stylesw.adb: Change Style_Check_Subprogram_Order to Style_Check_Order_Subprograms.
* stylesw.adb: Change Style_Check_Subprogram_Order to
	Style_Check_Order_Subprograms.

From-SVN: r90985
2004-11-21 21:06:10 +01:00
Michael Koch f146ac0af8 2004-11-21 Michael Koch <konqueror@gmx.de>
* java/beans/PropertyChangeSupport.java
	(propertyChangeSupportSerializedDataVersion): Made static.
	* java/beans/VetoableChangeSupport.java
	(propertyChangeSupportSerializedDataVersion): Likewise.

From-SVN: r90983
2004-11-21 19:05:16 +00:00
Roger Sayle 1fda9d7bbb inclhack.def (alpha_pthread_init): New fix.
* inclhack.def (alpha_pthread_init): New fix.
	* fixincl.x: Regenerate.
	* tests/base/pthread.h: Update for new test.

Co-Authored-By: Bruce Korb <bkorb@gnu.org>

From-SVN: r90981
2004-11-21 16:25:07 +00:00
Jeff Law db02564e0a tree-ssa-threadupdate.c (redirection_data_hash): Use the index of the destination block for the hash value rather than hashing a...
* tree-ssa-threadupdate.c (redirection_data_hash): Use the
        index of the destination block for the hash value rather than
        hashing a pointer.

From-SVN: r90980
2004-11-21 08:02:30 -07:00
Jonathan Wakely 20fff8cd7c basic_string.h, [...]: Doxygen fixes.
2004-11-19  Jonathan Wakely  <redi@gcc.gnu.org>

	* include/bits/basic_string.h, include/bits/locale_classes.h,
	include/bits/valarray_after.h, include/bits/valarray_before.h,
	include/ext/stdio_sync_filebuf.h, include/std/std_algorithm.h,
	include/std/std_functional.h, include/std/std_memory.h,
	include/std/std_numeric.h: Doxygen fixes.

From-SVN: r90979
2004-11-21 13:16:24 +00:00
Roger Sayle b10cf17380 * io/write.c (write_float, list_formatted_write): Fix indentation.
From-SVN: r90975
2004-11-21 05:08:14 +00:00
GCC Administrator 484d0bd6fe Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90973.2
2004-11-21 00:16:14 +00:00
GCC Administrator 2d15ef3625 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90972.2
2004-11-21 00:16:10 +00:00
Joseph Myers a4ab7973cf c-typeck.c (build_array_ref): Don't check for index == 0.
* c-typeck.c (build_array_ref): Don't check for index == 0.  Make
	checks for neither argument being an array or pointer (swapping
	the arguments if necessary), the array argument being a pointer to
	or array of functions and for -Wchar-subscripts warnings upfront.

testsuite:
	* gcc.dg/Wchar-subscripts-1.c, gcc.dg/array-8.c: New tests.
	* gcc.dg/pointer-arith-1.c, gcc.dg/pointer-arith-2.c,
	gcc.dg/pointer-arith-3.c, gcc.dg/pointer-arith-4.c: Update
	expected diagnostics.

From-SVN: r90969
2004-11-20 20:31:52 +00:00
Jeff Law 40806b8b8f regrename.c (copyprop_hardreg_forward): Only search for a previously processed block if...
* regrename.c (copyprop_hardreg_forward): Only search for a
        previously processed block if the current block only has one
        predecessor.

From-SVN: r90968
2004-11-20 13:18:49 -07:00
Eric Botcazou 7afc9b98cf re PR target/18580 (vectorizer failures (max, unaligned))
PR target/18580
	* gcc.dg/vect/vect-13.c, vect-27.c, vect-27a.c, vect-29.c,
	vect-29a.c, vect-48a.c, vect-56a.c, vect-72.c, vect-72a.c,
	vect-77.c, vect-77a.c: XFAIL on the SPARC.

From-SVN: r90967
2004-11-20 17:34:28 +00:00
Andrew Pinski 6a73fe755a Move Jeff's change to the correct place right Before Kazu's part1 of O(1) PHI
node change.

From-SVN: r90966
2004-11-20 08:26:58 -08:00
Eric Botcazou 21664a3ec0 * gcc.dg/vect/vect.exp (sparc*-*-*): Fix a couple of nits.
From-SVN: r90965
2004-11-20 16:14:35 +00:00
Eric Botcazou 3969c39f61 re PR libfortran/16135 (libfortran doesn't build, use of C99 types)
PR target/16135
	* acinclude.m4 (LIBGFOR_TARGET_ILP32): New check.
	* configure.ac: Include LIBGFOR_TARGET_ILP32.
	* configure: Regenerate.
	* config.h.in: Likewise.
	* libgfortran.h: Provide default definitions for C99 types
	on ILP32 targets that don't have them.

	PR target/17999
	* configure.ac: Check for snprintf.
	* configure: Regenerate.
	* config.h.in: Likewise.
	* intrinsics/date_and_time.c (date_and_time): Do not
	use snprinf if it is not available.
	* io/write.c (output_float): Likewise.

From-SVN: r90964
2004-11-20 13:15:17 +00:00
Kazu Hirata e7a531ae61 tree-ssa-threadupdate.c, [...]: Fix comment typos.
* tree-ssa-threadupdate.c, tree-vectorizer.c: Fix comment
	typos.
	* config/arm/arm.c: Follow spelling conventions.

From-SVN: r90963
2004-11-20 12:48:15 +00:00
Richard Earnshaw 2075b05db6 arm.c (arm_override_options): Use arm_ld_sched rather than testing a bit in tune_flags.
* arm.c (arm_override_options): Use arm_ld_sched rather than testing
a bit in tune_flags.
(const_double_needs_minipool): Likewise.  Split most of the code out
into ...
(arm_const_double_inline_cost): ... new function here.
* arm-protos.h (arm_const_double_inline_cost): Add prototype.
* arm.h (EXTRA_CONSTRAINT_STR_ARM): Add D[abc] constraints for double-
word constants of length 2, 3 and 4 insns respectively.
(CONSTRAINT_LEN): The 'D' prefix is a 2-letter constraint.
* arm.md (arm_movdi, movdf_soft_insn): Add alternatives for D[abc]
constraints.  Set insn lenghts accordingly.

From-SVN: r90962
2004-11-20 11:21:55 +00:00