Commit Graph

62651 Commits

Author SHA1 Message Date
Mark Mitchell d6b4201fab re PR c++/17042 (Duplicated symbol in assembly output)
PR c++/17042
	* decl.c (declare_global_var): Use the return value from pushdecl.

	PR c++/14667
	* parser.c (cp_parser_simple_declaration): Do not diagnose invalid
	type names if we have already found a valid type.
	(cp_parser_member_declaration): Likewise.

	PR c++/17852
	* parser.c (cp_parser_member_specification_opt): Handle
	CPP_PRAGMA.

	PR c++/17042
	* g++.dg/init/dso_handle1.C: New test.

	PR c++/17852
	* g++.dg/parse/pragma1.C: New test.

	PR c++/14667
	* g++.dg/parse/typedef6.C: New test.

From-SVN: r89119
2004-10-15 21:18:07 +00:00
Mark Mitchell de3fe73c4f re PR c++/17042 (Duplicated symbol in assembly output)
PR c++/17042
	* decl.c (declare_global_var): Use the return value from pushdecl.

	PR c++/14667
	* parser.c (cp_parser_simple_declaration): Do not diagnose invalid
	type names if we have already found a valid type.
	(cp_parser_member_declaration): Likewise.

	PR c++/17852
	* parser.c (cp_parser_member_specification_opt): Handle
	CPP_PRAGMA.

	PR c++/17042
	* g++.dg/init/dso_handle1.C: New test.

	PR c++/17852
	* g++.dg/parse/pragma1.C: New test.

	PR c++/14667
	* g++.dg/parse/typedef6.C: New test.

From-SVN: r89118
2004-10-15 21:11:50 +00:00
Aldy Hernandez 7832e66155 * gcc.c-torture/execute/ieee/ieee.exp: Disable on powerpc-*-*spe.
From-SVN: r89113
2004-10-15 19:25:59 +00:00
Aldy Hernandez b2df7d08b1 rs6000.h (FUNCTION_ARG_REGNO_P): FPRs are only available for TARGET_FPRS.
* config/rs6000/rs6000.h (FUNCTION_ARG_REGNO_P): FPRs are only
	available for TARGET_FPRS.
	(FUNCTION_VALUE_REGNO_P): Same.

From-SVN: r89112
2004-10-15 18:50:55 +00:00
Geoffrey Keating 7088c6e474 invoke.texi (RS/6000 and PowerPC Options): Document -maltivec in same style as other ISA options.
* doc/invoke.texi (RS/6000 and PowerPC Options): Document
	-maltivec in same style as other ISA options.

From-SVN: r89111
2004-10-15 18:46:52 +00:00
Ranjit Mathew a1402da35c parse.y (parse_warning_context): Remove ATTRIBUTE_PRINTF_2 and rename parameter 'msg' to 'msgid' in function...
* parse.y (parse_warning_context): Remove ATTRIBUTE_PRINTF_2 and
	rename parameter 'msg' to 'msgid' in function declaration.
	(issue_warning_error_from_context): Likewise.
	(yyerror): Rename parameter 'msg' to 'msgid'.
	(all over): Use new quoting style for diagnostics.

	* check-init.c: Use %<, %> and %q for quoting in diagnostics,
	if possible, else convert `foo' to 'foo'.
	* class.c: Likewise.
	* decl.c: Likewise.
	* expr.c: Likewise.
	* jcf-io.c: Likewise.
	* jcf-parse.c: Likewise.
	* lang.c: Likewise.
	* lex.c: Likewise.
	* parse.h: Likewise.

From-SVN: r89110
2004-10-15 18:43:10 +00:00
Steve Ellcey e68a07e8d5 struct-layout-1_generate.c (switchfiles): Use -fno-common when on HPPA HP-UX platforms.
* gcc.dg/compat/struct-layout-1_generate.c (switchfiles):  Use
	-fno-common when on HPPA HP-UX platforms.

From-SVN: r89107
2004-10-15 17:22:41 +00:00
Jon Grimm eff41b9f95 host-linux.c (TRY_EMPTY_VM_SPACE): Add __powerpc__ definition.
2004-10-15  Jon Grimm <jgrimm2@us.ibm.com>

        * config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __powerpc__
        definition.

From-SVN: r89106
2004-10-15 13:22:02 -04:00
Jakub Jelinek 1ebfb3cf38 struct-layout-1.h: Don't include complex.h nor stdint.h.
other/16820
	* gcc.dg/compat/struct-layout-1.h: Don't include complex.h nor
	stdint.h.
	* gcc.dg/compat/struct-layout-1_x1.h (TX): Cast to long instead of
	uintptr_t.

From-SVN: r89105
2004-10-15 17:02:58 +00:00
Andrew Haley b08fd659ae Makefile.am (nat_files, [...]): New.
2004-10-15  Andrew Haley  <aph@redhat.com>

        * Makefile.am (nat_files, xlib_nat_files): New.
        * Makefile.in: Regenerate.

From-SVN: r89104
2004-10-15 17:01:19 +00:00
Kazu Hirata 10a351590f boehm.c, [...]: Update copyright.
* boehm.c, builtins.c, java-except.h, jcf-io.c, jcf-path.c,
	jcf.h, lang-specs.h, lex.c, lex.h, resource.c, win32-host.c:
	Update copyright.

From-SVN: r89100
2004-10-15 14:55:00 +00:00
Kazu Hirata 80c48076bf * dump.c, g++spec.c, repo.c: Update copyright.
From-SVN: r89098
2004-10-15 14:49:30 +00:00
Kazu Hirata f30278e8b4 bitmap.c, [...]: Update copyright.
* bitmap.c, bitmap.h, builtin-attrs.def, cfglayout.h,
	collect2.h, conflict.c, coretypes.h, coverage.h, errors.h,
	gcc.h, gcov-dump.c, gen-protos.c, gencheck.c, gencodes.c,
	genconstants.c, gengenrtl.c, genmodes.c, genpeep.c,
	gensupport.h, graph.h, gthr-gnat.c, gthr-gnat.h, gthr-posix.c,
	gthr-posix.h, hard-reg-set.h, hwint.h, integrate.h, libgcc2.c,
	lists.c, machmode.def, mips-tdump.c, opts.h, params.c,
	predict.def, predict.h, protoize.c, reload.h, resource.h,
	rtl-error.c, sbitmap.c, sbitmap.h, sreal.c, tlink.c,
	tree-dump.h, tree-inline.h, unwind-dw2-fde.c, unwind-dw2.c,
	unwind-sjlj.c, value-prof.h: Update copyright.

From-SVN: r89097
2004-10-15 14:47:12 +00:00
Kazu Hirata 06b6044526 * decl.c: Fix a comment typo.
From-SVN: r89095
2004-10-15 14:39:24 +00:00
Kazu Hirata ed8b755833 * pointer-set.c, tree-vectorizer.c: Fix comment typos.
From-SVN: r89094
2004-10-15 14:36:32 +00:00
Andrew Pinski db3a95196c [multiple changes]
2004-10-13  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/16301
        * name-lookup.c (parse_using_directive): If we have a
        error_mark_node, do not set the decl namespace associations
        on it.

2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/16301
        * g++.dg/lookup/strong-using-4.C: New test.

From-SVN: r89093
2004-10-15 07:30:21 -07:00
Andrew Pinski f0602b16b7 re PR middle-end/16567 (Nested function and variable-sized structure ICE)
2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/16567
        * gcc.c-torture/compile/nested-1.c: New test.

From-SVN: r89092
2004-10-15 06:49:02 -07:00
Paolo Carlini 0d6b41f2dd bitmap_allocator.h: Qualify ::operator delete.
2004-10-15  Paolo Carlini  <pcarlini@suse.de>

	* include/ext/bitmap_allocator.h: Qualify ::operator delete.
	* src/bitmap_allocator.cc: Likewise.
	* src/mt_allocator.cc: Use ::operator delete, not delete,
	consistently with ::operator new.

	* include/ext/bitmap_allocator.h (deallocate): Check for null
	pointer.
	* testsuite/ext/bitmap_allocator/check_deallocate_null.cc: New.
	* testsuite/testsuite_allocator.h (check_deallocate_null): Add test.

From-SVN: r89089
2004-10-15 10:54:57 +00:00
Dorit Naishlos 31246b8f0d vect-44.c: xfail on i?86-*-*...
* testsuite/gcc.dg/vect/vect-44.c: xfail on i?86-*-*, x86_64-*-*,
        and mipsisa64*-*-* (until support for misaligned loads is added).
        * testsuite/gcc.dg/vect/vect-50.c: Likewise.
        * testsuite/gcc.dg/vect/vect-52.c: Likewise.
        * testsuite/gcc.dg/vect/vect-54.c: Likewise.
        * testsuite/gcc.dg/vect/vect-58.c: Likewise.
        * testsuite/gcc.dg/vect/vect-60.c: Likewise.
        * testsuite/gcc.dg/vect/vect-80.c: Likewise.

From-SVN: r89088
2004-10-15 09:45:45 +00:00
Paolo Bonzini ad643a75f7 re PR other/17991 (Two-process fixincludes broken: pz_mn_name_pat undefined)
2004-08-14  Paolo Bonzini  <bonzini@gnu.org>

        PR other/17991

	* Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
	Update copyright year.
	* fixfixes.c (main): Call initialize_opts from fixopts.c.
	* fixincl.c (initialize): Call initialize_opts from fixopts.c,
	do not include code for parsing options (environment vars).
	(fix_with_system): Use a search path for applyfix, so that you
	can run the test suite with two-process fixincludes.
	* fixopts.c: New file.
	* configure.ac: Add --enable-twoprocess.  Export ac_exeext
	to config.h.  Default to --enable-twoprocess for MinGW32.
	* config.h.in: Regenerate.
	* configure: Regenerate.

From-SVN: r89087
2004-10-15 07:58:38 +00:00
Diego Novillo e26ce7eddf tree-optimize.c (execute_one_pass): Stop timer right after executing the pass.
* tree-optimize.c (execute_one_pass): Stop timer right after
	executing the pass.

From-SVN: r89086
2004-10-15 01:00:37 -04:00
Mark Mitchell 745d26d9ac re PR c++/17976 (Calls the dtor twice)
PR c++/17976
	* decl.c (cp_finish_decl): Do not call expand_static_init more
	than once for a single variable.

	PR c++/17976
	* g++.dg/init/dtor3.C: New test.

From-SVN: r89081
2004-10-15 04:18:01 +00:00
Andrew Pinski 53e782e542 revert: re PR middle-end/17967 (Expand is considered slower? (remove_useless_stmts is considered part of expand))
2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        Revert:
        2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>
        PR middle-end/17967
        Revert:
                * tree-cfg.c (remove_usless_stmts_cond):  Fold statement.
                (remove_useless_stmts_1):  Fold trees we know how to fold.

From-SVN: r89080
2004-10-14 21:15:43 -07:00
David Edelsohn d2ab3e372b configure.ac: Add .machine power4 directive when testing for mfcr field.
* configure.ac: Add .machine power4 directive when testing for
        mfcr field.
        * configure: Regenerate.

From-SVN: r89076
2004-10-14 22:26:15 -04:00
Geoffrey Keating 9d948a40e2 * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Don't define.
From-SVN: r89075
2004-10-15 01:28:31 +00:00
Andrew Pinski eaddbc3379 tree-vectorizer.c (vect_transform_loop): Declare vectorization_factor always.
2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-vectorizer.c (vect_transform_loop): Declare vectorization_factor
        always.

From-SVN: r89074
2004-10-14 17:35:21 -07:00
GCC Administrator 28233fb67d Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r89072.2
2004-10-15 00:16:48 +00:00
GCC Administrator 964630c97e Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r89071.2
2004-10-15 00:16:44 +00:00
Ben Elliston 38db57bfb3 * gcc.dg/ppc-stackalign-1.c: Set dg-options to {}.
From-SVN: r89068
2004-10-15 10:04:54 +10:00
Daniel Jacobowitz a6645c18e9 rs6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS for 'f' if !TARGET_FPRS.
* config/rs6000/rs6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS
	for 'f' if !TARGET_FPRS.

From-SVN: r89067
2004-10-14 23:47:14 +00:00
Richard Henderson 0ba6c56d92 re PR debug/14492 (loc_descriptor_from_tree, in dwarf2out.c:9031)
PR debug/14492
        * dwarf2out.c (loc_descriptor_from_tree): Handle FIX_*_EXPR.

From-SVN: r89066
2004-10-14 16:30:18 -07:00
Richard Henderson 559f2da552 re PR c/17023 (ICE with nested functions in parameter declaration)
PR c/17023
        * c-decl.c (store_parm_decls_oldstyle): Care for parameter type
        as error_mark_node.
        * c-parse.in (compstmt_primary_start): Check cur_stmt_list non-null
        instaed of current_function_decl non-null.

From-SVN: r89063
2004-10-14 16:20:58 -07:00
Matt Austern 0c58f841a5 Speed up walk_tree by introducing a special-purpose hash table.
* pointer-set.c: New file, special-purpose hash table.
	* pointer-set.h: New file.
	* tree.h (struct pointer_set_t): Declare as opaque type.
	(tree_walk): Last argument is pointer_set_t* now.
	* tree-inline.c (WALK_SUBTREE): Convert from htab to pset.
	(walk_type_fields):
	(walk_tree): Convert from htab_t to pointer_set_t for keeping
	track of which nodes have already been visited.
	(walk_tree_without_duplicates): Convert from htab_t to pointer_set_t.
	* cgraphunit.c (cgraph_create_edges): Likewise.
	(cgraph_characterize_statics_local): Likewise.
	* tree-dfa.c (collect_dfa_stats): Likewise.
	* langhooks-def.h (lhd_tree_inlining_walk_subtrees): Last arg is
	pointer_set_t* now.
	* langhooks.c (lhd_tree_inlining_walk_subtrees): Likewise.
	* langhooks.h (struct lang_hooks_for_tree_inlining): Last arg type
	of walk_subtrees is pointer_set_t* now.
	* Makefile.in (OBJS-common): add pointer-set.o
	(tree-inline.o): Depends on pointer-set.h
	(tree-dfa.o): Likewise
	(cgraphunit.o): Likewise
	* cp/Make-lang.in (pt.o): depends on pointer-set.h
	* cp/cp-tree.h (cp_walk_subtrees): Last argument is pointer_set_t* now.
	* cp/pt.c (struct pair_fn_data): Use pointer_set_t, not htab_t
	(for_each_template_parm): Convert from htab_t to pointer_set_t.
	* cp/tree.c (cp_walk_subtrees): Last argument is pointer_set_t* now.
	* java/lang.c (java_tree_inlining_walk_subtrees): Last arg is struct
	pointer_set_t* now.

From-SVN: r89062
2004-10-14 23:15:29 +00:00
Benjamin Kosnik 5d1b2a1e42 mt_allocator.h (__mt_alloc::deallocate): Check for null pointer.
2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/ext/mt_allocator.h (__mt_alloc::deallocate): Check for
	null pointer.
	* include/ext/pool_allocator.h (debug_allocator::deallocate):
	Check pointer value.
	* include/ext/debug_allocator.h (debug_allocator::deallocate):
	Throw exceptions, don't abort.
	* include/ext/array_allocator.h
	(array_allocator_base::deallocate): Remove unused parameters.
	* testsuite/testsuite_allocator.h (check_deallocate_null): New.
	* testsuite/ext/mt_allocator/check_deallocate_null.cc: New.
	* testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: New.
	* testsuite/ext/array_allocator/check_deallocate_null.cc: New.
	* testsuite/ext/debug_allocator/check_deallocate_null.cc: New.
	* testsuite/ext/malloc_allocator/check_deallocate_null.cc: New.
	* testsuite/ext/new_allocator/check_deallocate_null.cc: New.
	* testsuite/ext/pool_allocator/check_deallocate_null.cc: New.

	* testsuite/testsuite_allocator.h (check_new): Add instance argument.
	* testsuite/ext/array_allocator/check_new.cc: New.

From-SVN: r89060
2004-10-14 23:03:26 +00:00
Geoffrey Keating c4e18b1c3e darwin.h (ASM_SPEC): Delete.
2004-10-14  Geoffrey Keating  <geoffk@apple.com>

	* config/rs6000/darwin.h (ASM_SPEC): Delete.
	(TARGET_ASM_FILE_START): Define.
	* config/darwin.h (ASM_SPEC): Define.
	* config/rs6000/t-darwin (TARGET_LIBGCC2_CFLAGS): Don't supply
	-mlong-double-128, it's the default.  Update comment about reason
	for force_cpusubtype_ALL.
	* config/rs6000/darwin-vecsave.asm: Supply .machine.
	* config/rs6000/darwin-world.asm: Likewise.
	* config/rs6000/rs6000.c (rs6000_darwin_file_start): New.
	(symbolic_operand): Delete #if 0ed code.

Index: testsuite/ChangeLog
2004-10-14  Geoffrey Keating  <geoffk@apple.com>

	* gcc.dg/darwin-misaligned.c: Don't supply -force_cpusubtype_ALL.
	* gcc.dg/macho-lo-sum.c: Likewise.

From-SVN: r89059
2004-10-14 22:30:47 +00:00
Andrew Pinski b77aa1f774 stmt.c (add_case_node): Make sure that we have integer constant before calling tree_int_cst_compare.
2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        * stmt.c (add_case_node): Make sure that we have integer
        constant before calling tree_int_cst_compare.

From-SVN: r89058
2004-10-14 15:01:45 -07:00
Andrew Pinski 4965c1630e re PR middle-end/17967 (Expand is considered slower? (remove_useless_stmts is considered part of expand))
2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/17967
        Revert:
                * tree-cfg.c (remove_usless_stmts_cond):  Fold statement.
                (remove_useless_stmts_1):  Fold trees we know how to fold.

From-SVN: r89057
2004-10-14 15:00:04 -07:00
Paolo Carlini cff1f8d41e bitmap_allocator.h (bitmap_allocator::_Alloc_block): Rename __unused to __M_unused.
2004-10-14  Paolo Carlini  <pcarlini@suse.de>

	* include/ext/bitmap_allocator.h (bitmap_allocator::_Alloc_block):
	Rename __unused to __M_unused.

From-SVN: r89056
2004-10-14 21:44:13 +00:00
Benjamin Kosnik 1f042340f1 headers.cc: Add includes, compile only.
2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/ext/headers.cc: Add includes, compile only.
	* testsuite/ext/hash_map.cc: Move to...
	* testsuite/ext/hash_map/1.cc: ...here.
	* testsuite/ext/14648.cc: Move to...
	* testsuite/ext/hash_map/14648.cc: ...here.
	* testsuite/ext/hash_map/instantiate.cc: Add.
	* testsuite/ext/hash_set.cc: Move to...
	* testsuite/ext/hash_set/1.cc: ...here.
	* testsuite/ext/hash_set_explicit_instantiation.cc: Move to...
	* testsuite/ext/hash_set/instantiate.cc: ...here.
	* testsuite/ext/hash_check_construct_destroy.cc: Move to...
	* testsuite/ext/hash_set/check_construct_destroy.cc: ...here.
	* testsuite/ext/slist_check_construct_destroy.cc: Move to...
	* testsuite/ext/slist/check_construct_destroy.cc: ...here.
	* testsuite/ext/slist_explicit_instantiation.cc: Move to...
	* testsuite/ext/slist/instantiate.cc: ...here.

From-SVN: r89054
2004-10-14 21:34:52 +00:00
Benjamin Kosnik 11aaaa84ae mt_allocator.h: Tweaks.
2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/ext/mt_allocator.h: Tweaks.
	* src/mt_allocator.cc: Same.

From-SVN: r89052
2004-10-14 21:05:24 +00:00
Ulrich Weigand ed67425158 jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
* jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
	ffi_raw_call if FFI_NATIVE_RAW_API is not defined.

From-SVN: r89051
2004-10-14 20:36:37 +00:00
Joseph Myers b419bac764 eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS), [...]): Disallow -m64.
* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS),
	config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow
	-m64.

testsuite:
	* gcc.dg/ppc-spe64-1.c: New test.

From-SVN: r89048
2004-10-14 20:49:34 +01:00
Ulrich Weigand d58005c7d6 reload.c (find_reloads): When reloading a PLUS with constant operand...
* reload.c (find_reloads): When reloading a PLUS with constant
	operand, make sure the constant is pushed to the constant pool
	if required.
	* config/s390/s390.c (s390_secondary_input_reload_class): Remove
	reload bug workaround.
	(s390_expand_plus_operand): Likewise.

From-SVN: r89047
2004-10-14 18:32:04 +00:00
David Edelsohn 3020563ae2 opts.c (common_handle_option): Do not enable flag_speculative_prefetching for -fprofile-generate/use.
* opts.c (common_handle_option): Do not enable
        flag_speculative_prefetching for -fprofile-generate/use.

From-SVN: r89046
2004-10-14 14:29:17 -04:00
Devang Patel 0ecf0d5f41 tree-if-conv.c (process_phi_nodes): Process latch block.
* tree-if-conv.c (process_phi_nodes): Process latch block.
       (combine_blocks): Process latch block and update loop structure.

       * gcc.dg/pr17635.c : New test.

From-SVN: r89045
2004-10-14 11:19:47 -07:00
Dhruv Matani 1399eca190 bitmap_allocator.h: Clean-up add/remove functions.
2004-10-14  Dhruv Matani  <dhruvbird@gmx.net>

	* ext/bitmap_allocator.h: Clean-up add/remove functions.
	* src/bitmap_allocator.cc: New file. Contains the out-of-line
	function definitions, static initialization of variables, and
	explicit instantiations needed for the allocator.
	* src/Makefile.am: Add.
	* src/Makefile.in: Regenerate.
	* config/linker.map.gnu: Add the necessary symbols.

From-SVN: r89042
2004-10-14 17:52:18 +00:00
Olga Golovanevsky a023975e42 2004-10-14 Olga Golovanevsky <olga@il.ibm.com>
* tree-vectorizer.c (vect_generate_tmps_on_preheader):
        (vect_update_ivs_after_vectorizer):
        (vect_transform_for_unknown_loop_bound):
        (tree_duplicate_loop_to_edge):
        (allocate_new_names):
        (rename_use_op):
        (rename_def_op):
        (rename_variables_in_bb):
        (free_new_names):
        (rename_variables_in_loop):
        (copy_phi_nodes):
        (update_phis_for_duplicate_loop):
        (update_phi_nodes_for_guard):
        (make_loop_iterate_ntimes):
        (tree_duplicate_loop_to_edge_cfg):
        (add_loop_guard):
        (vect_analyze_loop_with_symbolic_num_of_iters):
        (verify_loop_for_duplication):
        (vect_gen_niters_for_prolog_loop):
        (vect_update_niters_after_peeling):
        (vect_update_inits_of_dr):
        (vect_update_inits_of_drs):
        (vect_build_loop_niters):
        (vect_do_peeling_for_alignment): New functions.
        (vect_transform_loop): Add unknown and known but indivisible loop
        bound support; add peeling for unalignment support.
        (vect_analyze_loop_form): Support symbolic number of iterations.
        (vect_transform_loop_bound): New input parameter.
        (vect_get_loop_niters): Change input parameter type.
        (new_loop_vec_info): LOOP_VINFO_NITERS is tree now.
        (vectorizable_store): Allow unaligned access.
        (vectorize_loops): Add rewrite_into_loop_closed_ssa.
        (vect_analyze_data_refs_alignment): Allowed one unaligned
        store.
        * tree-vectorizer.h (LOOP_VINFO_NITERS_KNOWN_P): Redefined
        to use tree.
        (LOOP_VINFO_INT_NITERS): New macro.
        (MAX_NUMBER_OF_UNALIGNED_DATA_REFS): New define.
        (do_peeling_for_alignment):
        (unaligned_drs): New members of _loop_vec_info.
        (LOOP_DO_PEELING_FOR_ALIGNMENT): New macro.

From-SVN: r89040
2004-10-14 17:21:35 +00:00
Ranjit Mathew 7238c5ec25 tree.h (TREE_STRING_POINTER): Wrap in "const char *".
* tree.h (TREE_STRING_POINTER): Wrap in "const char *".
	(struct tree_string): Remove "const" qualifier for "str".

From-SVN: r89039
2004-10-14 16:44:43 +00:00
Ira Rosen 322ae40b1a tree-vectorizer.c (vect_analyze_data_refs): Call vect_get_base_and_bit_offset to get memory tag for array ref.
2004-10-14  Ira Rosen  <irar@il.ibm.com>

        * tree-vectorizer.c (vect_analyze_data_refs): Call
        vect_get_base_and_bit_offset to get memory tag for array ref.
        (vect_create_addr_base_for_vector_ref): Remove redundant checks.

From-SVN: r89038
2004-10-14 16:39:07 +00:00
Andrew Haley 180a373d0d interpret.cc (_Jv_InterpMethod::run): Initialize _Jv_StartOfInterpreter.
2004-10-13  Andrew Haley  <aph@redhat.com>

        * interpret.cc (_Jv_InterpMethod::run): Initialize
        _Jv_StartOfInterpreter.
        (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
        (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
        * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
        _Unwind_FindEnclosingFunction to discover whether PC is within the
        interpreter.

From-SVN: r89037
2004-10-14 15:21:13 +00:00