OSDN Git Service

* gcc.dg/intmax_t-1.c: Remove mmix-*-* from dg-error statement.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index ff5e202..308be61 100644 (file)
@@ -1,3 +1,211 @@
+2005-10-12  Richard Henderson  <rth@redhat.com>
+
+       PR c/24255
+       * tree.h (DECL_TRANSPARENT_UNION): Remove.
+       * function.c (assign_parm_find_data_types): Don't support it.
+       * print-tree.c (print_node): Likewise.
+       * c-common.c (handle_transparent_union_attribute): Likewise.
+       Use build_duplicate_type.
+       * tree-inline.c (remap_type_1): Split out of remap_type;
+       properly remap aggregate fields.
+       (build_duplicate_type): New.
+       * doc/extend.texi (Variable Attributes): Remove documentation
+       for transparent_union.
+
+2005-10-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR target/24284
+       * config/sparc/sparc.c (gen_stack_pointer_inc): Build by hand.
+       (gen_stack_pointer_dec): Likewise.
+
+2005-10-12  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       PR middle-end/21275
+       PR middle-end/21766
+       * target.h (struct gcc_target): Add valid_dllimport_attribute_p
+       target hook.
+       (struct cxx): Add adjust_class_at_definition target hook.
+       * target-def.h: (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): New define,
+       defaulting to hook_bool_tree_true. Add to TARGET_INITIALIZER
+       (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): New define, defaulting to 
+       hook_void_tree. Add to TARGET_CXX.
+       * tree.h (struct decl_with_vis): Rename non_addr_const_p field to
+       dllimport_flag.
+       (DECL_NON_ADDR_CONSTANT_P): Replace with DECL_DLLIMPORT_P macro.
+       * tree.c (merge_dllimport_decl_attributes): Check DECL_DLLIMPORT_P
+       instead of attribute. Check for dllexport override.  Warn if
+       inconsistent dll linkage. Don't lose old dllimport if decl has
+       had address referenced.   Tweak lookup of dllimport atribute.  
+       (handle_dll_attribute): Check targetm.valid_dllimport_attribute_p
+       for target specific rules.  Don't add dllimport attribute if
+       DECL_DECLARED_INLINE_P.  Set DECL_DLLIMPORT_P when adding
+       dllimport attribute. 
+       (staticp): Replace DECL_NON_ADDR_CONSTANT_P with DECL_DLLIMPORT_P.
+       * varasm.c (initializer_constant_valid_p): Replace
+       DECL_NON_ADDR_CONSTANT_P with DECL_DLLIMPORT_P
+
+       PR target/21801
+       PR target/23589
+       * config.gcc (i[34567]86-*-cygwin*): Add winnt-cxx.o to 
+       'cxx_target_objs', winnt-stubs,o to 'extra_objs'.
+       (i[34567]86-*-mingw32*): Likewise.
+
+       * doc/tm.texi (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): Document.
+       (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Document.
+                       
+       * config/i386/winnt.c (i386_pe_dllimport_p): Factor out
+       C++-specific code. Change return value to bool. 
+       (i386_pe_dllimport_p): Likewise.
+       (associated_type): Simplify and make language-independent
+       (i386_pe_encode_section_info): Replace override of ambiguous
+       dllimport symbol refs with a gcc_assert.
+       (i386_pe_valid_dllimport_attribute_p): Define.
+       * config/i386/winnt-cxx.c: New file. Define C++ versions of
+       i386_pe_type_dllimport_p, i386_pe_type_dllexport_p,
+       i386_pe_adjust_class_at_definition.
+       * config/i386/winnt-stubs.c: New file. Define stub versions of
+       lang-specific functions.
+       * config/i386/i386-protos.h: Declare winnt-[cxx|stubs].c functions
+       i386_pe_type_dllimport_p, i386_pe_type_dllexport_p, 
+       i386_pe_adjust_class_at_definition.
+       (i386_pe_valid_dllimport_attribute_p): Declare. 
+       * config/i386/cygming.h (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Define.
+       (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): Define.
+       * config/i386/t-cygming: Add rules for winnt-cxx.o, winnt-stubs.o.
+
+       PR target/19704
+       * config/i386/i386.c (ix86_function_ok_for_sibcall): Replace test for
+       dllimport attribute with test of DECL_DLLIMPORT_P.
+
+2005-10-12  Adrian Straetling <straetling@de.ibm.com>
+
+       * combine.c (make_extraction): Correct offset computation.
+
+2005-10-12  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/t-linux (LIMITS_H_TEST): Define.
+
+2005-10-12  Richard Henderson  <rth@redhat.com>
+
+       PR rtl-opt/23324
+       * cfgexpand.c (add_alias_set_conflicts): Use objects_must_conflict_p.
+
+2005-10-12  Richard Guenther  <rguenther@suse.de>
+
+       * Makefile.in (CGRAPH_H): Depend on $(TREE_H).
+
+2005-10-12  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/19964
+       * stor-layout.c (place_field): Set DECL_FIELD_OFFSET and
+       DECL_FIELD_BIT_OFFSET of FIELD_DECLs, even if they have an invalid
+       type.
+
+2005-10-12  Richard Guenther  <rguenther@suse.de>
+
+       PR c++/23799
+       * varasm.c (output_constant): Correct typo from previous
+       patch by DJ.
+
+2005-10-11  Ian Lance Taylor  <ian@airs.com>
+
+       PR rtl-optimization/13931
+       * combine.c: Revert patch of 2003-05-14, and:
+       (try_combine): Only set elim_i1 and elim_i2 if the destination is
+       completely killed in the appropriate insn.
+       (distribute_notes): Don't skip multiple hard register test for
+       elim_i1 and elim_i2.
+
+2005-10-11  Richard Henderson  <rth@redhat.com>
+
+       PR c/24255
+       * c-typeck.c (convert_for_assignment): Use build_constructor_single
+       to initialize a transparent union instead of a nop_expr.
+
+2005-10-11  Richard Henderson  <rth@redhat.com>
+
+       * Makefile.in (tree-ssa-dce.o): Depend on SCEV_H.
+       * tree-ssa-dce.c: Include tree-scalar-evolution.h.
+       (tree_ssa_dce_loop): Call scev_reset.
+
+       PR tree-opt/24300
+       * Makefile.in (tree-ssa-dce.o): Depend on CFGLOOP_H.
+       * tree-ssa-dce.c: Include cfgloop.h.
+       (tree_ssa_dce_loop, pass_dce_loop): New.
+       * tree-pass.h (pass_dce_loop): Declare it.
+       * passes.c (init_optimization_passes): Use it.
+
+2005-10-11  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR middle-end/24263 
+       * convert.c (convert_to_real): Revert 2005-10-05 patch.
+       Only apply the optimization for rounding builtins if the inner
+       cast is also an extension.
+
+2005-10-11  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR tree-opt/23946
+       * tree-ssa-ccp.c (execute_fold_all_builtins): Call
+       mark_new_vars_to_rename instead of update_stmt.
+
+2005-10-11  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * config/bfin/crti.s (__init, __fini): Renamed from _init, _fini.
+
+2005-10-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/i386/i386.md (movsi_1, movdi_1_rex64): Use mmxadd type
+       for setting MMX register to 0 rather than mmx.
+
+2005-10-10  Steve Ellcey  <sje@cup.hp.com>
+
+       PR target/12098
+       * configure.ac: Move gas check from mips specific case to common case.
+       Do check for GNU as for mips*-*-* and *-*-hpux* targets.
+       * configure: Regenerate
+       * doc/install.texi: Update.
+
+2005-10-10  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR target/24284
+       * config/sparc/sparc.c (sparc_expand_prologue): Remove bogus PATTERN.
+
+2005-10-10  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * gcc.c (do_spec_1): Accept numeric characters in file name
+       suffixes.
+
+2005-10-10  Nick Clifton  <nickc@redhat.com>
+
+       * config/arm/arm.c: Remove extraneous whitespace.  Remove comment
+       describing the deleted arm_gen_rotated_half_load function.
+
+2005-10-09  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.c (emit_fpu_switch): Set TREE_PUBLIC for
+       __fpscr_values.
+
+2005-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config.gcc (arm*-*-linux*): Remove redundant extra_parts and
+       gnu_ld assignments.
+       * config/arm/t-linux-eabi (LIB1ASMFUNCS)
+       (EXTRA_MULTILIB_PARTS): Define.
+       * config/arm/linux-elf.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC)
+       (STARTFILE_SPEC, ENDFILE_SPEC, CC1_SPEC)
+       (LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Move to...
+       * config/arm/uclinux-elf.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC)
+       (STARTFILE_SPEC, ENDFILE_SPEC, CC1_SPEC)
+       (LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): ... here.
+
+2005-10-09  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       PR tree-optimization/24226
+       * tree-cfg.c (remove_bb): Clean up unreachable loops.
+       * tree-flow.h (free_numbers_of_iterations_estimates_loop): Declare.
+       * tree-ssa-loop-niter.c (free_numbers_of_iterations_estimates_loop):
+       Export.
+
 2005-10-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        * config/sparc/gmon-sol2.c (internal_mcount): Mark as used.