1. 15 Dec, 2005 5 commits
  2. 14 Dec, 2005 25 commits
  3. 13 Dec, 2005 10 commits
    • c-common.c (c_common_truthvalue_conversion): Generalise warning for addresses… · 690a704a
      c-common.c (c_common_truthvalue_conversion): Generalise warning for addresses converted to booleans; not just function addresses.
      
      	* c-common.c (c_common_truthvalue_conversion): Generalise warning
      	for addresses converted to booleans; not just function addresses.
      	* c-typeck.c (build_binary_op): Warn for address comparisons which
      	can never be NULL (eg. func == NULL or &var == NULL).
      	* common.opt (Walways-true): New option.
      	* c-opts.c (c_common_handle_option): Set it with -Wall.
      	* doc/invoke.texi: Document it.
      testsuite/
      	* gcc.dg/warn-addr-cmp.c: New test.
      
      From-SVN: r108489
      Ben Elliston committed
    • fpgnulib.c (__unordsf2, [...]): New functions. · 383eca9c
      2005-12-13  Paul Brook  <paul@codesourcery.com>
      
      	* config/m68k/fpgnulib.c (__unordsf2, __unorddf2, __unordxf2,
      	__floatunsidf, __floatunsisf, __floatunsixf): New functions.
      
      From-SVN: r108487
      Paul Brook committed
    • t-mt (crti.o, crtn.o): Add multilib options. · c3d7c86d
      	* config/mt/t-mt (crti.o, crtn.o): Add multilib options.
      	(EXTRA_MULTILIB_PARTS): Define.
      
      From-SVN: r108481
      Nathan Sidwell committed
    • PR rtl-optimization/20070 / part1 · 7d22e898
      	PR rtl-optimization/20070 / part1
      	* flow.c (update_life_info): If PROP_POST_REGSTACK is set, call
      	count_or_remove_death_notes with kill == -1.
      	(mark_set_1): Don't add REG_DEAD / REG_UNUSED notes for stack
      	registers if PROP_POST_REGSTACK is set.
      	(mark_used_reg): Likewise.
      	(count_or_remove_death_notes): If kill is -1, don't remove REG_DEAD /
      	REG_UNUSED notes for stack regs.
      	* cfgcleanup.c (condjump_equiv_p): Change parameters and processing
      	to match rtx_equiv_p machinery.  Change caller.
      	(outgoing_edges_match): Likewise.
      	(try_crossjump_to_edge): Use struct_equiv_block_eq
      	instead of flow_find_cross_jump.
      	* basic-block.h (PROP_POST_REGSTACK, STRUCT_EQUIV_START): Define.
      	(STRUCT_EQUIV_RERUN, STRUCT_EQUIV_FINAL): Likewise.
      	(STRUCT_EQUIV_NEED_FULL_BLOCK, STRUCT_EQUIV_MATCH_JUMPS): Likewise.
      	(STRUCT_EQUIV_MAX_LOCAL): Likewise.
      	(struct struct_equiv_checkpoint, struct equiv_info): Likewise.
      	(insns_match_p): Update prototype.
      	(flow_find_cross_jump): Remove prototype.
      	(struct_equiv_block_eq, struct_equiv_init): Declare.
      	(rtx_equiv_p, condjump_equiv_p): Likewise.
      	* struct-equiv.c: Include reload.h.
      	(IMPOSSIBLE_MOVE_FACTOR): Define.
      	(assign_reg_reg_set, struct_equiv_make_checkpoint): New functions.
      	(struct_equiv_improve_checkpoint): Likewise.
      	(struct_equiv_restore_checkpoint, rtx_equiv_p): Likewise.
      	(set_dest_equiv_p, set_dest_addr_equiv_p, struct_equiv_init): Likewise.
      	(struct_equiv_merge, find_dying_input): Likewise.
      	(resolve_input_conflict, note_local_live): Likewise.
      	(death_notes_match_p): Change parameters and processing
      	to match rtx_equiv_p machinery.  Change caller.
      	(insns_match_p): Likewise.
      	(flow_find_cross_jump): Replace with:
      	(struct_equiv_block_eq).
      
      	Back out this change:
      	2005-03-07  Kazu Hirata  <kazu@cs.umass.edu>
                * recog.c (verify_changes): Make it static.
                * recog.h: Remove the corresponding prototype.
      
      From-SVN: r108480
      J"orn Rennecke committed
    • rtlhooks.c (gen_lowpart_general): Handle SUBREGs of floating point values. · 80e6edb0
      	* rtlhooks.c (gen_lowpart_general): Handle SUBREGs of floating point
      	values.
      
      From-SVN: r108479
      J"orn Rennecke committed
    • t-mt (MULTILIB_OPTIONS): Add ms2 · ce9d5668
      	* config/mt/t-mt (MULTILIB_OPTIONS): Add ms2
      	(MULTILIB_DIRNAMES): Add ms2.  Prefix ms1 dirs with 'ms1'.
      	* config/mt/mt.c (ms1_final_prescan): Use TARGET_MS2,
      	TARGET_MS1_64_001 appropriately.
      	(ms1_machine_reorg): Use TARGET_MS2.
      
      From-SVN: r108477
      Nathan Sidwell committed
    • trans-expr.c (gfc_conv_substring): Use fold_build2 and build_int_cst. · 93fc8073
      2005-12-13  Richard Guenther  <rguenther@suse.de>
      
      	* trans-expr.c (gfc_conv_substring): Use fold_build2 and
      	build_int_cst.
      
      From-SVN: r108476
      Richard Guenther committed
    • re PR java/25366 (ICE in do_resolve_class) · 65260edb
      2005-12-13  Andrew Haley  <aph@redhat.com>
      
              PR java/25366
              PR java/25368
              * class.c (maybe_layout_super_class): Update current_class before
              calling do_resolve_class.
      
      From-SVN: r108474
      Andrew Haley committed
    • re PR libfortran/24991 (gfortran build fails with - error:gthr-default.h: No… · 78fdb6d2
      re PR libfortran/24991 (gfortran build fails with - error:gthr-default.h: No such file or directory)
      
      	PR libfortran/24991
      	* acinclude.m4 (LIBGFOR_CHECK_PRAGMA_WEAK): Rename to...
      	(LIBGFOR_GTHREAD_WEAK): ... this.  Define SUPPORTS_WEAK rather
      	than HAVE_PRAGMA_WEAK.  Define GTHREAD_USE_WEAK to 0 on hosts
      	that shouldn't use weak in gthr.h.
      	* configure.ac: Use LIBGFOR_GTHREAD_WEAK instead of
      	LIBGFOR_CHECK_PRAGMA_WEAK.
      	* config.h.in: Regenerated.
      	* configure: Regenerated.
      	* io/io.h (SUPPORTS_WEAK): Don't define here.
      
      	* intrinsics/ftell.c (ftell, FTELL_SUB): Add unlock_unit call.
      	* intrinsics/fget.c (fgetc, fputs): Likewise.
      	* intrinsics/tty.c (ttynam): Likewise.
      
      From-SVN: r108471
      Jakub Jelinek committed
    • Update. · f767c88d
      From-SVN: r108465
      Jakub Jelinek committed