1. 13 Mar, 2005 5 commits
    • re PR target/18251 (unable to find a register to spill in class `POINTER_REGS') · 6bbaec09
      	PR target/18251
      	* config/avr/avr.md (movmemhi): Rewrite as RTL loop.
      	(*movmemqi_insn): Delete.
      	(*movmemhi): Delete.
      
      From-SVN: r96365
      Andy Hutchinson committed
    • builtins.c (fold_builtin_classify): Take decomposed arguments of CALL_EXPR. · 5cb08bab
      	* builtins.c (fold_builtin_classify): Take decomposed
      	arguments of CALL_EXPR.
      	(fold_builtin_1): Update a call to fold_builtin_classify.
      
      From-SVN: r96364
      Kazu Hirata committed
    • re PR c/20402 (gcc.dg/noncompile/920923-1.c ICE) · 67c2939d
      	PR c/20402
      	* c-parser.c (c_parser_struct_or_union_specifier): Don't fall
      	through into call to parser_xref_tag after parse error.
      	(c_parser_struct_declaration): Consistently return NULL_TREE on
      	error.
      
      testsuite:
      	* gcc.dg/noncompile/920923-1.c: Detail expected diagnostics for
      	new parser.
      
      From-SVN: r96363
      Joseph Myers committed
    • In gcc/ada/ 2005-03-12 Daniel Berlin <dberlin@dberlin.org> · c75ab022
      In gcc/ada/
      2005-03-12  Daniel Berlin <dberlin@dberlin.org>
      
      	* misc.c (gnat_post_options): Turn off structural
      	aliasing for now.
      In gcc/
      2005-03-12  Daniel Berlin  <dberlin@dberlin.org>
      
      	* tree-flow-inline.h (ref_contains_array_ref): New function.
      	(lookup_subvars_for_var): Ditto.
      	(get_subvars_for_var): Ditto.
      	(var_can_have_subvars): Ditto.
      
      	* tree-flow.h (mem_tag_kind): Add STRUCT_FIELD.
      	(struct subvar): New type.
      
      	* tree-dfa.c (okay_component_ref_for_subvars): New function.
      
      	* tree-optimize.c (init_tree_optimization_passes): Call
      	pass_create_structure_vars.
      
      	* tree-ssa-alias.c: Include vec.h.
      	(init_alias_info): Don't auto-clear call clobbered on struct-field
      	tags.
      	(compute_flow_insensitive_aliasing): Handle subvars.
      	(group_aliases): Handle STRUCT_FIELD aliases.
      	(setup_pointers_and_addressables): Ditto.
      	Don't mark variables non-addressable if they still have
      	addressable subvars.
      	Also mark subvars addressable when the real variable is marked
      	addressable.
      	(add_pointed_to_var): Try to prune the pointed-to set by only
      	pointing to subvars when possible.
      	Otherwise, make sure we set addresses_needed and pt_vars to
      	properly include subvars.
      	(bitpos_of_field): New function.
      	(push_fields_onto_fieldstack): Ditto.
      	(get_or_create_used_part_for): Ditto.
      	(create_overlap_variables_for): Ditto.
      	(find_used_portions): Ditto.
      	(create_structure_vars): Ditto.
      	(pass_create_structure_vars): New structure.
      
      	* tree-ssa-operands.c (finalize_ssa_v_must_defs): Remove assert.
      	(get_expr_operands): Handle subvars.  Also try to turn
      	COMPONENT_REF accesses into must-defs now that we can accurately
      	portray it.
      	(note_addressable): Try to only mark as addressable those subvars
      	we know a COMPONENT_REF touches.
      	(overlap_subvar): New function.
      
      	* tree-vect-analyze.c (vect_object_analysis): Add new parameter.
      	Handle subvar storing.
      	(vect_address_analysis): Update caller of vect_object_analysis.
      
      	* tree-vect-transform.c (vect_create_data_ref_ptr): Copy subvars.
      
      	* tree-vectorizer.h (struct _stmt_vec_info): Add subvars member.
      	(STMT_VINFO_SUBVARS): New macro.
      
      	* common.opts: add flag_tree_salias.
      
      	* opts.c (decode_options): flag_tree_salias defaults to on.
      
      	* doc/invoke.texi: Document fdump-tree-svars and -ftree-salias.
      
      	* doc/tree-ssa.texi: Document structural alias analysis.
      
      From-SVN: r96362
      Daniel Berlin committed
    • Daily bump. · 23845f02
      From-SVN: r96360
      GCC Administrator committed
  2. 12 Mar, 2005 28 commits
  3. 11 Mar, 2005 7 commits
    • re PR rtl-optimization/20306 (FP complex modes moved via GPRs) · c6506442
              PR rtl-optimization/20306
              * expr.c (emit_move_complex): Set try_int false if mode is
              MODE_COMPLEX_FLOAT and mov_optab exists for inner mode.  Only try
              emit_block_move if try_int is true.
      
      From-SVN: r96312
      David Edelsohn committed
    • libjava.exp (libjava_init): Use the same target check for Darwin. · a96cf763
      2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* testsuite/lib/libjava.exp (libjava_init): Use the same target
      	check for Darwin.
      	(libjava_arguments): Likewise.
      
      	* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
      	(gcj_jni_test_one): Likewise.
      	(gcj_jni_invocation_compile_c_to_binary): Likewise.
      	Add flags to keep the Darwin linker quiet.
      	(gcj_jni_invocation_test_one): Use the same target check for Darwin.
      	Add -liconv for Darwin.
      
      From-SVN: r96311
      Andreas Tobler committed
    • re PR target/20415 (Vector init builtin produces invalid instruction pshufw) · f817d5d4
              PR target/20415
              * config/i386/mmx.md (vec_dupv4hi): Fix predicate.
              * config/i386/i386.c (ix86_expand_vector_init_duplicate): Update
              to match.
      
      From-SVN: r96304
      Richard Henderson committed
    • Main.java (main): Handle '-p'. · 558b8548
      libjava:
      	* gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
      	(usage): Document '-p'.
      	* Makefile.in: Rebuilt.
      	* Makefile.am (dbexecdir): New variable.
      	(db_name): Likewise.
      	(dbexec_DATA): Likewise.
      	($(db_name)): New target.
      	(AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
      	* java/lang/natRuntime.cc (insertSystemProperties): Set default
      	system database.
      gcc/java:
      	* gcj.texi (Invoking gcj-dbtool): Document 'gcj-dbtool -p'.
      	(libgcj Runtime Properties): Document the default .db.
      
      From-SVN: r96303
      Tom Tromey committed
    • mips.h (mips_fix_vr4130_string): Declare. · 0ac40e7a
      	* config/mips/mips.h (mips_fix_vr4130_string): Declare.
      	(TARGET_FIX_VR4130): New macro.
      	(TARGET_OPTIONS): Add -mfix-vr4130.
      	(ISA_HAS_MACCHI): New macro.
      	(ASM_SPEC): Add -mfix-vr4130.
      	* config/mips/mips.c (mips_fix_vr4130_string): New variable.
      	(override_options): Handle mips_fix_vr4130_string.
      	(mips_avoid_hazards): Clear all_noreorder_p
      	if we're working around VR4130 errata and the macc alternatives
      	are not available.
      	* config/mips/mips.md (mfhilo_<mode>): Turn into a define_expand.
      	(*mfhilo_<mode>, *mfhilo_<mode>_macc): New insns.
      	* config/mips/vr.h (DEFAULT_VR_ARCH): Set to mfix-vr4130.
      	(MULTILIB_DEFAULTS): Remove leading "march=".
      	(DRIVER_SELF_SPECS): Likewise.  Make -mfix-vr4130 imply -march=vr4130
      	if no architecture option is given.
      	* config/mips/t-vr (MULTILIB_OPTIONS): Use -mfix-vr4130 for the
      	VR4130 multilibs.
      	(MULTILIB_MATCHES): Map -march=vr4130 to the -mfix-vr4130 multilibs.
      	* doc/invoke.texi: Document -mfix-vr4130.
      
      From-SVN: r96301
      Richard Sandiford committed
    • mips.c (override_options): Only warn about -mint64 deprecation if TARGET_INT64. · 266c6b40
      	* config/mips/mips.c (override_options): Only warn about -mint64
      	deprecation if TARGET_INT64.
      
      From-SVN: r96299
      Richard Sandiford committed
    • builtin-attrs.def (ATTR_NONNULL_LIST, [...]): New "nonnull" attribute lists… · 74124c73
      builtin-attrs.def (ATTR_NONNULL_LIST, [...]): New "nonnull" attribute lists which are non-specific regarding the nonnull...
      
      	* builtin-attrs.def (ATTR_NONNULL_LIST, ATTR_NOTHROW_NONNULL,
      	ATTR_CONST_NOTHROW_NONNULL, ATTR_PURE_NOTHROW_NONNULL,
      	ATTR_MALLOC_NOTHROW_NONNULL): New "nonnull" attribute lists which
      	are non-specific regarding the nonnull parameter positions.
      	(ATTR_NONNULL_1_2, ATTR_NONNULL_1_4, ATTR_NOTHROW_NONNULL_1_2,
      	ATTR_NOTHROW_NONNULL_1_4, ATTR_CONST_NOTHROW_NONNULL_1,
      	ATTR_PURE_NOTHROW_NONNULL_1, ATTR_PURE_NOTHROW_NONNULL_1_2,
      	ATTR_MALLOC_NOTHROW_NONNULL_1): Delete.
      
      	* builtins.def: Use the non-specific "nonnull" attibute lists.
      
      From-SVN: r96298
      Kaveh R. Ghazi committed