1. 01 Jun, 2005 9 commits
    • errors.h (warning, [...]): Add printf attribute. · 474b650e
      	* errors.h (warning, error, fatal, internal_error): Add printf
      	attribute.
      	* genmodes.c (make_vector_mode): Fix format arguments.
      
      From-SVN: r100421
      Kaveh R. Ghazi committed
    • basic-block.h, [...]: Don't include errors.h and include toplev.h if necessary. · 4c714dd4
      	* basic-block.h, bb-reorder.c, c-gimplify.c, config/darwin.c,
      	config/rs6000/rs6000-c.c, dominance.c, gimple-low.c, gimplify.c,
      	lambda-code.c, lambda-trans.c, tree-browser.c, tree-cfg.c,
      	tree-chrec.c, tree-data-ref.c, tree-dfa.c, tree-eh.c,
      	tree-if-conv.c, tree-into-ssa.c, tree-loop-linear.c,
      	tree-mudflap.c, tree-nomudflap.c, tree-outof-ssa.c,
      	tree-pretty-print.c, tree-scalar-evolution.c, tree-sra.c,
      	tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-dce.c, tree-ssa-dom.c,
      	tree-ssa-dse.c, tree-ssa-forwprop.c, tree-ssa-live.c,
      	tree-ssa-operands.c, tree-ssa-phiopt.c, tree-ssa-pre.c,
      	tree-ssa-propagate.c, tree-ssa-sink.c, tree-ssa-threadupdate.c,
      	tree-ssa-uncprop.c, tree-ssa.c, tree-vect-analyze.c,
      	tree-vect-transform.c, tree-vectorizer.c, vec.c: Don't include
      	errors.h and include toplev.h if necessary.
      
      	* rtl.c, varray.c: If we're compiling as a GENERATOR_FILE, include
      	errors.h otherwise include toplev.h.
      
      	* Makefile.in: Update dependencies.
      
      ada:
      	* misc.c: Don't include errors.h.
      
      fortran:
      	* fortran/trans-decl.c: Don't include errors.h.
      	* fortran/Make-lang.in: Updates dependencies.
      
      java:
      	* java/verify-glue.c: Don't include errors.h and include toplev.h.
      	* java/Make-lang.in: Updates dependencies.
      
      treelang:
      	* treelang/lex.l, treelang/parse.y: Don't include errors.h and
      	include toplev.h.
      	* treelang/Make-lang.in: Updates dependencies.
      
      From-SVN: r100420
      Kaveh R. Ghazi committed
    • * config/i386/cygming.h (NO_PROFILE_COUNTERS): Define. · d68c2f42
      From-SVN: r100419
      Danny Smith committed
    • Index: ChangeLog · a9c9d3fa
      2005-05-31  Geoffrey Keating  <geoffk@geoffk.org>
      
      	* config/rs6000/rs6000.md (sync_boolcshort_internal): New.
      	* config/rs6000/rs6000.c (rs6000_emit_sync): Shift count must
      	be complemented for big-endian.  Mask for AND must be rotated,
      	not shifted.  Handle short operands with NOT on the memory
      	operation.
      
      Index: testsuite/ChangeLog
      2005-05-31  Geoffrey Keating  <geoffk@geoffk.org>
      
      	* lib/target-supports.exp
      	(check_effective_target_sync_char_short): New.
      	* gcc.dg/sync-2.c: New.
      
      From-SVN: r100418
      Geoffrey Keating committed
    • c-objc-common.c (c_tree_printer): Check flag before hashtable. · f991abd1
      2005-05-30  Daniel Berlin  <dberlin@dberlin.org>
      
      	* c-objc-common.c (c_tree_printer): Check flag before hashtable.
      	Use DECL_DEBUG_EXPR and SET_DECL_DEBUG_EXPR.
      	* dwarf2out.c (dwarf2out_var_location): Ditto.
      	* toplev.c (default_tree_printer): Ditto.
      	* tree-outof-ssa.c (create_temp): Ditto.
      	* tree-sra.c (instantiate_element): Ditto.
      	* var-tracking.c (track_expr_p): Ditto.
      	* tree.c (struct tree_map): New structure.
      	(debug_expr_for_decl): New.
      	(tree_map_eq): New function.
      	(tree_map_hash): Ditto.
      	(tree_map_marked_p): Ditto.
      	(print_debug_expr_statistics): Ditto.
      	(decl_debug_expr_lookup): Ditto.
      	(decl_debug_expr_insert): Ditto.
      	(dump_tree_statistics): Dump debug_expr hashtable stats.
      	* tree.h (DECL_DEBUG_EXPR): Change
      	(SET_DECL_DEBUG_EXPR): Add.
      
      From-SVN: r100417
      Daniel Berlin committed
    • ppc_closure.S (ffi_closure_SYSV): Don't use JUMPTARGET to call ffi_closure_helper_SYSV. · 6d0d376c
      	* src/powerpc/ppc_closure.S (ffi_closure_SYSV): Don't use JUMPTARGET
      	to call ffi_closure_helper_SYSV.  Append @local instead.
      	* src/powerpc/sysv.S (ffi_call_SYSV): Likewise for ffi_prep_args_SYSV.
      
      From-SVN: r100416
      Alan Modra committed
    • configure.ac: Add --enable-secureplt. · 7f970b70
      	* configure.ac: Add --enable-secureplt.
      	(HAVE_AS_REL16): Test for R_PPC_REL16 relocs.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      	* config.gcc (powerpc64-*-linux*, powerpc-*-linux*): Add
      	rs6000/secureplt.h to tm_file when enable_secureplt.
      	* doc/invoke.texi (msecure-plt, mbss-plt): Document.
      	* doc/install.texi: Document --enable-targets and --enable-secureplt.
      	Correct xrefs to "Using the GNU Compiler Collection (GCC)".
      	* config/rs6000/secureplt.h: New file.
      	* config/rs6000/sysv4.h (TARGET_SECURE_PLT): Define.
      	(SUBTARGET_OVERRIDE_OPTIONS): Error if -msecure-plt given without
      	assembler support.
      	(CC1_SECURE_PLT_DEFAULT_SPEC): Define.
      	(CC1_SPEC): Delete duplicate mno-sdata.  Invoke cc1_secure_plt_default.
      	(SUBTARGET_EXTRA_SPECS): Add cc1_secure_plt_default.
      	* config/rs6000/sysv4.opt (msecure-plt, bss-plt): Add options.
      	* config/rs6000/rs6000.h (TARGET_SECURE_PLT): Define.
      	* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Handle
      	TARGET_SECURE_PLT got register load sequence.
      	(rs6000_emit_prologue): Call rs6000_emit_load_toc_table when
      	TARGET_SECURE_PLT.
      	(rs6000_elf_declare_function_name): Don't emit toc address offset
      	word when TARGET_SECURE_PLT.
      	* config/rs6000/rs6000.md (elf_high, elf_low): Move past load_toc_*.
      	(load_toc_v4_PIC_1) Enable for TARGET_SECURE_PLT.
      	(load_toc_v4_PIC_3b, load_toc_v4_PIC_3c): New insns.
      	(call, call_value): Mark pic_offset_table_rtx used for sysv pic and
      	TARGET_SECURE_PLT.
      	(call_nonlocal_sysv, call_value_nonlocal_sysv, sibcall_nonlocal_sysv,
      	sibcall_value_nonlocal_sysv): Add 32768 offset when TARGET_SECURE_PLT
      	and -fPIC.
      	* config/rs6000/tramp.asm (trampoline_initial): Use "bcl 20,31".
      	(__trampoline_setup): Likewise.  Init r30 before plt call.
      
      From-SVN: r100415
      Alan Modra committed
    • expr.c (convert_move): When a partial_int requires multiple conversion steps... · d2348bd5
      * expr.c (convert_move): When a partial_int requires multiple
      conversion steps, make sure successive steps convert the
      intermediate value, not the original value.
      
      * expmed.c (expand_mult): Convert partial_int multiplies to
      shift/add combinations too.
      
      * genmodes.c (mode_data): Add wider_2x.
      (calc_wider_mode): Calculate twice-wider mode too.
      (emit_mode_wider): Emit twice-wider mode too.
      * machmode.h (mode_2xwider, GET_MODE_2XWIDER_MODE): New.
      * expr.c (expand_expr_real_1): Use it for expanding
      multiplies.
      
      From-SVN: r100414
      DJ Delorie committed
    • Daily bump. · cc2f3fa6
      [[Split portion of a mixed commit.]]
      
      From-SVN: r100412.2
      GCC Administrator committed
  2. 31 May, 2005 16 commits
  3. 30 May, 2005 15 commits