1. 20 Apr, 2011 7 commits
    • Makefile.in (INTERNAL_FN_DEF, [...]): Define. · 25583c4f
      gcc/
      	* Makefile.in (INTERNAL_FN_DEF, INTERNAL_FN_H): Define.
      	(GIMPLE_H): Include $(INTERNAL_FN_H).
      	(OBJS-common): Add internal-fn.o.
      	(internal-fn.o): New rule.
      	* internal-fn.def: New file.
      	* internal-fn.h: Likewise.
      	* internal-fn.c: Likewise.
      	* gimple.h: Include internal-fn.h.
      	(GF_CALL_INTERNAL): New gf_mask.
      	(gimple_statement_call): Put fntype into a union with a new
      	internal_fn field.
      	(gimple_build_call_internal): Declare.
      	(gimple_build_call_internal_vec): Likewise.
      	(gimple_call_same_target_p): Likewise.
      	(gimple_call_internal_p): New function.
      	(gimple_call_internal_fn): Likewise.
      	(gimple_call_fntype): Return null for internal calls.
      	(gimple_call_set_fntype): Assert that the function is not internal.
      	(gimple_call_set_fn): Likewise.
      	(gimple_call_set_fndecl): Likewise.
      	(gimple_call_set_internal_fn): New function.
      	(gimple_call_addr_fndecl): Handle null functions.
      	(gimple_call_return_type): Likewise null types.
      	* gimple.c (gimple_build_call_internal_1): New function.
      	(gimple_build_call_internal): Likewise.
      	(gimple_build_call_internal_vec): Likewise.
      	(gimple_call_same_target_p): Likewise.
      	(gimple_call_flags): Handle calls to internal functions.
      	(gimple_call_fnspec): New function.
      	(gimple_call_arg_flags, gimple_call_return_flags): Use it.
      	(gimple_has_side_effects): Handle null functions.
      	(gimple_rhs_has_side_effects): Likewise.
      	(gimple_call_copy_skip_args): Handle calls to internal functions.
      	* cfgexpand.c (expand_call_stmt): Likewise.
      	* expr.c (expand_expr_real_1): Assert that the call isn't internal.
      	* gimple-fold.c (gimple_fold_call): Handle null functions.
      	(gimple_fold_stmt_to_constant_1): Don't fold
      	calls to internal functions.
      	* gimple-low.c (gimple_check_call_args): Handle calls to internal
      	functions.
      	* gimple-pretty-print.c (dump_gimple_call): Likewise.
      	* ipa-prop.c (ipa_analyze_call_uses): Handle null functions.
      	* tree-cfg.c (verify_gimple_call): Handle calls to internal functions.
      	(do_warn_unused_result): Likewise.
      	* tree-eh.c (same_handler_p): Use gimple_call_same_target_p.
      	* tree-ssa-ccp.c (ccp_fold_stmt): Handle calls to internal functions.
      	* tree-ssa-dom.c (hashable_expr): Use the gimple statement to record
      	the target of a call.
      	(initialize_hash_element): Update accordingly.
      	(hashable_expr_equal_p): Use gimple_call_same_target_p.
      	(iterative_hash_hashable_expr): Handle calls to internal functions.
      	(print_expr_hash_elt): Likewise.
      	* tree-ssa-pre.c (can_value_number_call): Likewise.
      	(eliminate): Handle null functions.
      	* tree-ssa-sccvn.c (visit_use): Handle calls to internal functions.
      	* tree-ssa-structalias.c (get_fi_for_callee): Likewise.
      	(find_func_aliases): Likewise.
      	* value-prof.c (gimple_ic_transform): Likewise.
      	(gimple_indirect_call_to_profile): Likewise.
      	* lto-streamer-in.c (input_gimple_stmt): Likewise.
      	* lto-streamer-out.c (output_gimple_stmt): Likewise.
      
      From-SVN: r172758
      Richard Sandiford committed
    • pr42629.c: Add dg-require-effective-target int32plus · 7da29ed0
      	* gcc.dg/pr42629.c: Add dg-require-effective-target int32plus
      	* gcc.c-torture/execute/cmpsi-2.c: Ditto
      	* gcc.c-torture/execute/pr45262.c: Ditto
      	* gcc.dg/torture/pr43165.c: Ditto.
      	* gcc.dg/torture/pr47228.c: Ditto.
      	* gcc.dg/tree-ssa/pr45144.c: Ditto.
      	* gcc.dg/ipa/pr45644.c: Ditto.
      	* gcc.c-torture/compile/pr43191.c: Ditto. Remove dg-skip-if for
      	PDP11.
      
      From-SVN: r172757
      Georg-Johann Lay committed
    • re PR c++/46304 (g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770) · 68a29e1c
      	PR c++/46304
      	* typeck.c (cp_build_binary_op): Fold COMPLEX_EXPR.
      
      From-SVN: r172754
      Jason Merrill committed
    • re PR libfortran/48602 (Invalid F conversion of G descriptor for values close to powers of 10) · b48de483
      2011-04-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/48602
      	* io/write_float.def (output_float_FMT_G): Fix reversal in conditional.
      	Use asm volatile to mark temp variable, avoiding optimization errors.
      
      From-SVN: r172753
      Jerry DeLisle committed
    • ipa-inline-transform.c (save_inline_function_body): Add comments. · 1a3118e9
      	* ipa-inline-transform.c (save_inline_function_body): Add comments.
      	* ipa-inline.c (inline_small_functions): Compute summaries first, populate
      	heap later.
      
      From-SVN: r172751
      Jan Hubicka committed
    • Daily bump. · 8d6a938b
      From-SVN: r172750
      GCC Administrator committed
    • re PR c++/45267 (inlining fails with -m32) · c45413fe
      	PR c++/45267
      	* decl.c (duplicate_decls): Keep always_inline attribute
      	in sync with DECL_DISREGARD_INLINE_LIMITS.
      
      From-SVN: r172744
      Jason Merrill committed
  2. 19 Apr, 2011 33 commits