1. 23 Apr, 2007 9 commits
    • function.c (init_function_start): Don't init line number info. · c90533c6
      
      	* function.c (init_function_start): Don't init line number info.
      	(expand_function_end): Update.
      	(reset_block_changes, record_block_change, finalize_block_changes,
      	check_block_change, free_block_changes): Kill.
      	* function.h (reset_block_changes, record_block_change,
      	finalize_block_changes, check_block_change, free_block_changes): Remove
      	prototypes.
      	(struct function): Remove ib_boundaries_block.
      	* emit-rtl.c (make_insn_raw, make_jump_insn_raw, make_call_insn_raw):
      	Use curr_insn_locator to initialize locator.
      	(emit_line_note): Remove.
      	* cfgexpand.c (expand_gimple_cond_expr): Update.
      	(construct_exit_block): Likewise.
      	(tree_expand_cfg): Initialize/finalize locators.
      	* expr.c (expand_expr_real): Update.
      	* cfglayout.c (line_locators_locs, line_locators_lines,
      	file_locators_locs, file_locators_files): Remove.
      	(set_block_levels): Move to cfgexpand.c.
      	(insn_locators_initialize): Remove.
      	(pass_insn_locators_initialize): Remove.
      	(locations_locators_locs, locations_locators_vals): New static vars.
      	(curr_location, last_location, curr_block, last_block, curr_rtl_loc):
      	Likewise.
      	(insn_locators_alloc, insn_locators_finalize,
      	set_curr_insn_source_location, set_curr_insn_block, curr_insn_locator):
      	New functions.
      	(locator_location): New.
      	(locator_line, locator_file): Rewrite.
      	* rtl.h (emit_line_note): Kill.
      	(insn_locators_alloc, insn_locators_finalize,
      	set_curr_insn_source_location, set_curr_insn_block, curr_insn_locator):
      	Declare.
      	* tree-inline.c (initialize_cfun): Do not initialize
      	ib_boundaries_block.
      	* passes.c (pass_insn_locators_initialize): Remove.
      
      From-SVN: r124061
      Jan Hubicka committed
    • primary.c (match_integer_constant): Mention -fno-range-check in the error message. · b2458f91
      2007-04-23  Tobias Burnus  <burnus@net-b.de>
      
              * primary.c (match_integer_constant): Mention -fno-range-check
              in the error message.
      
      From-SVN: r124060
      Tobias Burnus committed
    • re PR fortran/31616 (testsuite failures in gfortran.dg/open_errors.f90) · 11bac67c
      	PR fortran/31616
      	* gfortran.dg/open_errors.f90: Allow a different error message.
      
      From-SVN: r124059
      Kaveh R. Ghazi committed
    • testsuite_flags.in: Add --build-cc option. · 6c1e7e26
      	* scripts/testsuite_flags.in: Add --build-cc option.
      	* testsuite/lib/libstdc++.exp (libstdc++_init): Set cc.  Fix typo
      	in previous change.
      	(v3_target_compile_as_c): Use cc.
      
      From-SVN: r124058
      Nathan Sidwell committed
    • target-supports.exp (check_effective_target_vect_pack_trunc): Rename from… · 8b3cc882
      target-supports.exp (check_effective_target_vect_pack_trunc): Rename from check_effective_target_vect_pack_mod.
      
      	* lib/target-supports.exp (check_effective_target_vect_pack_trunc):
      	Rename from check_effective_target_vect_pack_mod.  Rename global
      	variable et_vect_pack_mod to et_vect_pack_trunc.  Update debug
      	messages.
      	* gcc.dg/vect/vect-iv-8.c: Update target check for vect_pack_trunc
      	rename.
      	* gcc.dg/vect/vect-iv-8a.c: Ditto.
      	* gcc.dg/vect/vect-multitypes-8.c: Ditto.
      
      From-SVN: r124057
      Uros Bizjak committed
    • re PR middle-end/31448 (ICE in expand_shift with bit fields and expand inlining constants) · 1f2ad84c
      2007-04-22  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR middle-end/31448
              * expr.c (reduce_to_bit_field_precision): Handle
              CONST_INT rtx's.
      
      2007-04-22  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR middle-end/31448
              * gcc.c-torture/execute/pr31448.c: New testcase.
      
      From-SVN: r124054
      Andrew Pinski committed
    • MAINTAINERS (cpplib): Rename to ... · 51da21be
      	* MAINTAINERS (cpplib): Rename to ...
      	(libcpp): ... this.  Add C/C++ front end maintainers.
      
      From-SVN: r124053
      Mark Mitchell committed
    • re PR ada/31660 ('union lang_tree_node' has no member named 'generic') · 1be52f61
      2007-04-22  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR ada/31660
              * ada-tree.h (lang_tree_node): Fix typo in chain_next.
      
      From-SVN: r124052
      Andrew Pinski committed
    • libstdc++.exp (libstdc++_init): Use the same flags for remote host testing we… · 6cd5b96f
      libstdc++.exp (libstdc++_init): Use the same flags for remote host testing we use for local host testing.
      
      	* testsuite/lib/libstdc++.exp (libstdc++_init): Use the same flags
      	for remote host testing we use for local host testing.  Copy all
      	testsuite headers to the remote host
      	(v3_target_compile_as_c): Use remote_exec, not just exec.
      
      From-SVN: r124051
      Mark Mitchell committed
  2. 22 Apr, 2007 14 commits
    • Daily bump. · 69c78664
      From-SVN: r124049
      GCC Administrator committed
    • * gcc.dg/20020312-2.c: Add support for the FRV. · c807acf9
      From-SVN: r124046
      Nick Clifton committed
    • re PR tree-optimization/24659 (Conversions are not vectorized) · 8115817b
      2007-04-22  Uros Bizjak  <ubizjak@gmail.com>
      
              PR tree-optimization/24659
              * optabs.h (enum optab_index) [OTI_vec_unpacks_hi,
              OTI_vec_unpacks_lo]: Update comment to mention floating point operands.
              (vec_pack_trunc_optab): Rename from vec_pack_mod_optab.
              * genopinit.c (optabs): Rename vec_pack_mod_optab
              to vec_pack_trunc_optab.
              * tree-vect-transform.c (vectorizable_type_demotion): Do not fail
              early for scalar floating point operands for NOP_EXPR.
              (vectorizable_type_promotion): Ditto.
              * optabs.c (optab_for_tree_code) [VEC_PACK_TRUNC_EXPR]: Return
              vec_pack_trunc_optab.
              (expand_binop): Rename vec_float_trunc_optab to vec_pack_mod_optab.
      
              * tree.def (VEC_PACK_TRUNC_EXPR): Rename from VEC_PACK_MOD_EXPR.
              * tree-pretty-print.c (dump_generic_node) [VEC_PACK_TRUNC_EXPR]:
              Rename from VEC_PACK_MOD_EXPR.
              (op_prio) [VEC_PACK_TRUNC_EXPR]: Ditto.
              * expr.c (expand_expr_real_1): Ditto.
              * tree-inline.c (estimate_num_insns_1): Ditto.
              * tree-vect-generic.c (expand_vector_operations_1): Ditto.
      
              * config/i386/sse.md (vec_unpacks_hi_v4sf): New expander.
              (vec_unpacks_lo_v4sf): Ditto.
              (vec_pack_trunc_v2df): Ditto.
              (vec_pack_trunc_v8hi): Rename from vec_pack_mod_v8hi.
              (vec_pack_trunc_v4si): Rename from vec_pack_mod_v4si.
              (vec_pack_trunc_v2di): Rename from vec_pack_mod_v2di.
          
              * config/rs6000/altivec.md (vec_pack_trunc_v8hi): Rename from
              vec_pack_mod_v8hi.
              (vec_pack_trunc_v4si): Rename from vec_pack_mod_v4si.
      
              * doc/c-tree.texi (Expression trees) [VEC_PACK_TRUNC_EXPR]:
              Rename from VEC_PACK_MOD_EXPR.  This expression also represent
              packing of floating point operands.
              [VEC_UNPACK_HI_EXPR, VEC_UNPACK_LO_EXPR]: These expression also
              represent unpacking of floating point operands.
              * doc/md.texi (Standard Names) [vec_pack_trunc]: Update documentation.
              [vec_unpacks_hi]: Ditto.
              [vec_unpacks_lo]: Ditto.
      
      testsuite/ChangeLog:
      
      2007-04-22  Uros Bizjak  <ubizjak@gmail.com>
      
          PR tree-optimization/24659
          * gcc.dg/vect/vect-float-extend-1.c: New test.
          * gcc.dg/vect/vect-float-truncate-1.c: New test.
      
      From-SVN: r124045
      Uros Bizjak committed
    • misc.c (gnat_expand_body): Don't call target for destructors, avoid redundant… · 395a40e0
      misc.c (gnat_expand_body): Don't call target for destructors, avoid redundant check on syntax errors.
      
      
      	* ada/misc.c (gnat_expand_body): Don't call target for destructors,
      	avoid redundant check on syntax errors.
      
      	* final.c (rest_of_handle_final): Call
      	targetm.asm_out.constructor/targetm.asm_out.destructor
      	* cgraphunit.c (cgraph_build_static_cdtor): Don't do it here; set
      	proper priority via decl_*_priority_insert.
      	* c-common.c (c_expand_body): Likewise.
      
      From-SVN: r124044
      Jan Hubicka committed
    • Fix whitespace. · b7716a8e
      From-SVN: r124043
      Zdenek Dvorak committed
    • re PR tree-optimization/29789 (Missed invariant out of the loop with conditionals and shifts) · e0a60731
      2007-04-22  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/29789
      	* tree-ssa-loop-im.c (stmt_cost): Adjust cost of shifts.
      	(rewrite_reciprocal): New helper split out from
      	determine_invariantness_stmt.
      	(rewrite_bittest): Likewise.
      	(determine_invariantness_stmt): Rewrite (A >> B) & 1 to
      	A & (1 << B) if (1 << B) is loop invariant but (A >> B)
      	is not.
      
      	* gcc.dg/tree-ssa/ssa-lim-1.c: New testcase.
      	* gcc.dg/tree-ssa/ssa-lim-2.c: Likewise.
      
      From-SVN: r124042
      Richard Guenther committed
    • functional: Formatting fixes. · 4c9be806
      2007-04-22  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/functional: Formatting fixes.
      
      From-SVN: r124041
      Paolo Carlini committed
    • concurrence.h: Do not include <cstdlib>, use __builtin_abort. · 87a20856
      2007-04-22  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/ext/concurrence.h: Do not include <cstdlib>, use
      	__builtin_abort.
      	* include/debug/debug.h: Likewise.
      	* include/tr1/memory: Likewise.
      	* include/tr1/boost_shared_ptr.h: Likewise.
      	* include/tr1/functional: Likewise.
      
      From-SVN: r124040
      Paolo Carlini committed
    • locale_facets.tcc: Do not include <typeinfo>. · 3b476281
      2007-04-22  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/locale_facets.tcc: Do not include <typeinfo>.
      	* testsuite/27_io/basic_ios/imbue/14072.cc: Do it here.
      	* testsuite/27_io/basic_ios/cons/char/3.cc: Likewise.
      	* testsuite/27_io/basic_istream/sentry/pod/1.cc: Likewise.
      	* testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise.
      	* testsuite/21_strings/basic_string/inserters_extractors/
      	pod/10081-in.cc: Likewise.
      	* testsuite/21_strings/basic_string/inserters_extractors/
      	pod/10081-out.cc: Likewise.
      	* testsuite/22_locale/locale/cons/2.cc: Likewise.
      	* testsuite/22_locale/locale/cons/unicode.cc: Likewise.
      	* testsuite/22_locale/numpunct/members/pod/2.cc: Likewise.
      	* testsuite/22_locale/global_templates/1.cc: Likewise.
      
      From-SVN: r124039
      Paolo Carlini committed
    • new testcase for MVE · 62260917
      From-SVN: r124038
      Revital Eres committed
    • Extend MVE patterns · 76fd2caa
      From-SVN: r124037
      Revital Eres committed
    • sendmsg.c (__objc_get_forward_imp): Call __objc_msg_forward2 for real. · 8972bcd8
      2007-04-21  Andrew Ruder  <andy@aeruder.net>
      
              * sendmsg.c (__objc_get_forward_imp): Call
              __objc_msg_forward2 for real.
      
      From-SVN: r124035
      Andrew Ruder committed
    • predict.c: Include pointer-set.h. · f06b0a10
      	* predict.c: Include pointer-set.h.
      	(bb_predictions): New variable.
      	(tree_predicted_by_p, tree_predict_edge,
      	remove_predictions_associated_with_edge): Use bb_predictions map
      	instead of bb->predictions.
      	(clear_bb_predictions, assert_is_empty): New functions.
      	(combine_predictions_for_bb): Use bb_predictions map.  Call
      	clear_bb_predictions.
      	(tree_estimate_probability): Create and free bb_predictions map.
      	* Makefile.in (predict.o): Add pointer-set.h dependency.
      	* basic-block.h (struct basic_block_def): Remove predictions
      	field.
      	* cfgrtl.c (rtl_verify_flow_info_1): Do not check bb->predictions.
      
      From-SVN: r124032
      Zdenek Dvorak committed
    • re PR target/31480 (ICE with -O -fomit-frame-pointer on SH) · e919dfe2
      	PR target/31480
      	* config/sh/sh.md (length): Check if prev_nonnote_insn (insn)
      	is null.
      
      From-SVN: r124031
      Kaz Kojima committed
  3. 21 Apr, 2007 9 commits
    • Daily bump. · ffd0af25
      From-SVN: r124029
      GCC Administrator committed
    • re PR fortran/31495 (Is this continuation line legal?) · c839d34b
      2007-04-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/31495
      	* gfortran.dg/continuation_8.f90: New test.
      
      From-SVN: r124026
      Jerry DeLisle committed
    • timevar.c (timevar_print): Change reference of --disable-checking to --enable-checking=release. · 7be97ac7
      2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * timevar.c (timevar_print): Change reference of --disable-checking to
              --enable-checking=release.  Also warn if assert checking is disabled.
      
      From-SVN: r124025
      Andrew Pinski committed
    • re PR c/30265 (Compound literal can cause invalid gimple) · c8a0a219
      2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR C/30265
              * c-gimplifier.c (gimplify_compound_literal_expr): Mark the
              decl as addressable if the compound literal was marked as
              addressable.
              Mark the decl as a gimple register if it is a complex or
              vector decl and does not live in memory.
      2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR C/30265
              * gcc.c-torture/compile/compound-literal-2.c: New testcase.
              * gcc.c-torture/compile/compound-literal-3.c: New testcase.
      
      From-SVN: r124024
      Andrew Pinski committed
    • re PR fortran/31495 (Is this continuation line legal?) · c284e499
      2007-04-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/31495
      	* scanner.c (load_line):  Remove check for comment after ampersand and
      	adjust tracking of ampersand.
      
      From-SVN: r124022
      Jerry DeLisle committed
    • tree.h (GIMPLE_TUPLE_P): Also true for PHI_NODEs. · 3d95caa4
      2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * tree.h (GIMPLE_TUPLE_P): Also true for PHI_NODEs.
              (GENERIC_NEXT): New function macro.
              (PHI_CHAIN): Use phi_node's new chain variable.
              (tree_phi_node): Change tree_common to tree_base
              and add the chain field.
              * tree-phinodes.c (make_phi_node): Don't set
              TREE_TYPE on the new node.
              * c-decl.c (lang_tree_node): Use GENERIC_NEXT
              instead of checking GIMPLE_TUPLE_P in chain_next.
              * tree-vect-transform.c
              (get_initial_def_for_induction): Look at
              PHI_RESULT_TREE for the type of the phi node.
              (update_vuses_to_preheader): Use PHI_CHAIN
              instead of TREE_CHAIN on the phi node.
              * tree-ssa-structalias.c (compute_points_to_sets):
              Likewise.
              (ipa_pta_execute): Likewise.
      2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * cp-tree.h (lang_tree_node): Use GENERIC_NEXT
              instead of checking GIMPLE_STMT_P in chain_next.
      2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * ada-tree.h (lang_tree_node): Use GENERIC_NEXT
              instead of checking GIMPLE_STMT_P in chain_next.
      2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * f95-lang.c (lang_tree_node): Use GENERIC_NEXT
              instead of checking GIMPLE_STMT_P in chain_next.
      2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * java-tree.h (lang_tree_node): Use GENERIC_NEXT
              instead of checking GIMPLE_STMT_P in chain_next.
      
      From-SVN: r124021
      Andrew Pinski committed
    • re PR tree-optimization/31136 (FRE ignores bit-field truncation (C and C++… · 84ece8ef
      re PR tree-optimization/31136 (FRE ignores bit-field truncation (C and C++ front-end don't produce bit-field truncation)
      
      2007-04-21  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/31136
      	* fold-const.c (fold_unary): Call fold_convert_const on the
      	original tree.
      
      	* gcc.c-torture/execute/pr31136.c: New testcase.
      
      From-SVN: r124020
      Richard Guenther committed
    • * sv.po: Update. · fc52a144
      From-SVN: r124016
      Joseph Myers committed
    • gcse.c (store_killed_in_insn): Handle PARALLELs. · 1071bcbd
      gcc/ChangeLog:
      * gcse.c (store_killed_in_insn): Handle PARALLELs.
      (store_killed_in_pat): New.
      gcc/testsuite/ChangeLog:
      * gcc.target/i386/movsi-sm-1.c: New.
      
      From-SVN: r124015
      Alexandre Oliva committed
  4. 20 Apr, 2007 8 commits