OSDN Git Service

PR c/13519
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index db1d4f8..f3f622e 100644 (file)
@@ -1,3 +1,148 @@
+2004-06-06  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       PR c/13519
+       * c-typeck.c (composite_type, common_pointer_type): New functions.
+       (common_type): Split parts into composite_type and
+       common_pointer_type.  Ensure that arithmetic operations return
+       unqualified types without attributes.  Don't make composite type
+       of signed enum and compatible integer be unsigned.
+       (build_conditional_expr, build_binary_op): Use
+       common_pointer_type.
+       * c-decl.c (merge_decls): Use composite_type.
+       * c-tree.h (composite_type): Declare.
+
+2004-06-06  Stephane Carrez  <stcarrez@nerim.fr>
+
+       PR target/14457
+       * config/m68hc11/m68hc11.c (splitable_operand): New predicate.
+       * config/m68hc11/m68hc11-protos.h (splitable_operand): Declare.
+       * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register it.
+       (inhibit_libc): Must define.
+       * config/m68hc11/m68hc11.md ("movhi_const0"): Use splitable_operand.
+       ("*andhi3_gen", "iorhi3", "*iorhi3_gen"): Likewise.
+       ("xorhi3"): Likewise.
+
+2004-06-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in
+       always_inline pass.
+
+2004-06-05  David S. Miller  <davem@nuts.davemloft.net>
+
+       * config/sparc/linux.h (TARGET_C99_FUNCTIONS): Set.
+       * config/sparc/linux64.h (TARGET_C99_FUNCTIONS): Likewise.
+
+2004-06-05  Bernardo Innocenti  <bernie@develer.com>
+
+       * regclass.c (init_reg_sets): Check for missing registers in target
+       initializer macros FIXED_REGISTERS and CALL_USED_REGISTERS.
+
+2004-06-05  Zack Weinberg  <zack@codesourcery.com>
+
+       * Makefile.in (MKDEPS_H): New shorthand.
+       (c-opts.o): Update dependencies.
+       * c-opts.c: Include mkdeps.h.
+       (handle_deferred_opts): Use cpp_get_deps and deps_add_target,
+       not cpp_add_dependency_target.
+
+2004-06-05  Steven Bosscher  <stevenb@suse.de>
+
+       * config/v850/v850.c (v850_use_dfa_pipeline_interface): New.
+       * config/v850/v850.md: Convert to DFA scheduler description.
+
+2004-06-05  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       PR fortran/15478
+       * doc/install.texi: Document GMP as prerequisite. Document
+       --with-gmp and --with-gmp-dir configure options.
+       * fortran/gfortran.texi: Remove section "Compiling and testing",
+       remove TOC reference to it.
+
+2004-06-05  Graham Stott  <graham.stott@btinternet.com>
+
+       * combine.c(simplify_shift_const): Check shift amount is a
+       CONST_INT.
+
+2004-06-05  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * toplev.c (init_asm_output): Add explicit 'b' to mode when
+       opening asm_out_file.
+       * c-pch.c (c_common_write_pch): Remove unnecessary fflush before
+       reading asm_out_file. Replace fflush after reading asm_out_file
+       with fseek.
+       * hosthooks-def.h (HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY): Define
+       default and add to HOST_HOOKS_INITIALIZER.
+       * hosthooks.h (gt_pch_alloc_granularity): Declare hook function.
+       * ggc-common.c (default_gt_pch_alloc_granularity): New function.
+       (gt_pch_save): Use host_hooks.gt_pch_alloc_granularity
+       to set mmi.offset padding.
+        * config.gcc (i[34567]86-*-mingw32*): Set target_gtfiles to
+       $(srcdir)/config/i386/winnt.c.
+       (i[34567]86-*-pe | i[34567]86-*-cygwin*): Likewise.
+       (i[34567]86-*-uwin*): Likewise.
+       *i[34567]86-*-interix3*): Likewise.
+       * config.host (i[34567]86-*-mingw32*): Set out_host_hook_obj.
+       * config/i386/host-mingw32.c: New file.
+       * config/i386/x-mingw32: Add rule for host-mingw32.o.
+       * config/i386/winnt.c: (struct extern_list) Tag as GTY.
+       (extern_head): Likewise.
+       (struct export_list) Likewise.
+       (export_head): Likewise.
+       (i386_pe_record_external_function): Use ggc_alloc.
+       (i386_pe_record_exported_symbol): Likewise.
+       Include "gt-winnt.h" at end.
+       * doc/hostconfig.texi: Document
+       HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY.
+
+2004-06-04  Bernardo Innocenti  <bernie@develer.com>
+
+       * config/m68k/m68k.h: Remove comments copied over from tm.texi.
+       Rename 68000 and 68k to m68k for consistency in comments.  Remove
+       trailing whitespace before EOLs and before TABs.
+       (MAX_CODE_ALIGN): Remove unused macro.
+       (CALL_USED_REGISTERS): Reformat and add comments.
+
+2004-06-04  Frank Ch. Eigler  <fche@redhat.com>
+
+       * gcc.c (MFLIB_SPEC): Remove library references, to require users
+       to enumerate -lmudflap* and dependencies when linking.
+
+2004-06-04  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR target/15822
+       * dojump.c (do_jump): Fix uninitialized variable tcode1.
+
+2004-06-04  Jerry Quinn  <jlquinn@optonline.net>
+
+       * Makefile.in (insn-conditions.o): Back out removal of reload.h.
+       * genconditions.c (write_header): Back out removal of reload.h.
+
+2004-06-04  Jan Hubicka  <jh@suse.cz>
+
+       Re-apply hopefully fixed patch:
+       * i386.md (UNSPECV_EH_RETURN): Kill.
+       (eh_return): Use jump_insn.
+       (eh_return_si, eh_return_di): Change pattern to jump instruction.
+
+2004-06-04  Jeff Law  <law@redhat.com>
+
+       * cfgrtl.c (try_redirect_by_replacing_jump): Fix return value.
+
+2004-06-04  Steven Bosscher  <stevenb@suse.de>
+
+       * except.c (for_each_eh_region): New function.
+       * except.h (for_each_eh_region): Add a prototype for it.
+       * tree-cfg.c (update_eh_labels): New function, callback for
+       for_each_eh_region.
+       (label_for_bb): Make global static, unfortunately.
+       (cleanup_dead_labels): Also update label references for
+       exception regions.
+
+2004-06-03  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/mips/mips.c (struct irix_section_align_entry): Fix
+       GTY marker.
+
 2004-06-03  Geoffrey Keating  <geoffk@apple.com>
 
        * toplev.c (check_global_declarations): Don't ask for
        for TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY, with reversed sense.
        * config/darwin.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): Likewise.
        * doc/tm.texi (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): Rewrite
-       documentation to reflect the new macro name and to clarify its 
+       documentation to reflect the new macro name and to clarify its
        meaning.
-       
-2004-06-04  Steven Bosscher  <stevenb@suse.de>
+
+2004-06-03  Steven Bosscher  <stevenb@suse.de>
 
        * rtl.def (VAR_LOCATION): Make RTX_EXTRA.
 
        Update callers.
        Use new worklist.
        (process_ssa_edge_worklist): New function.
-       (tree_ssa_ccp): Move worklist processing core to 
+       (tree_ssa_ccp): Move worklist processing core to
        process_ssa_edge_worklist, and just call that for the two worklists.
 
 2004-06-03  Steven Bosscher  <stevenb@suse.de>