1. 06 Apr, 2014 2 commits
  2. 05 Apr, 2014 4 commits
    • warn_conversion_4.f90: Adjust test. · aca5c204
      2014-04-05  Dominique d'Humieres <dominiq@lps.ens.fr>
      
      	* gfortran.dg/warn_conversion_4.f90: Adjust test.
      
      From-SVN: r209151
      Dominique d'Humieres committed
    • avr-arch.h (avr_mcu_t): Add dev_attribute field to have device specific ISA/ feature information. · 576ba35c
      	* config/avr/avr-arch.h (avr_mcu_t): Add dev_attribute field to have device
      	specific ISA/ feature information. Remove short_sp and errata_skip ds.
      	Add avr_device_specific_features enum to have device specific info.
      	* config/avr/avr-c.c (avr_cpu_cpp_builtins): use dev_attribute to check
      	errata_skip. Add __AVR_ISA_RMW__ builtin macro if RMW ISA available.
      	* config/avr/avr-devices.c (avr_mcu_types): Update AVR_MCU macro for
      	updated device specific info.
      	* config/avr/avr-mcus.def: Merge device specific details to
      	dev_attribute field.
      	* config/avr/avr.c (avr_2word_insn_p): use dev_attribute field to check
      	errata_skip.
      	* config/avr/avr.h (AVR_HAVE_8BIT_SP): same for short sp info.
      	* config/avr/driver-avr.c (avr_device_to_as): Pass -mrmw option to
      	assembler if RMW isa supported by current device.
      	* config/avr/genmultilib.awk: Update as device info structure changed.
      	* doc/invoke.texi: Add info for __AVR_ISA_RMW__ builtin macro
      
      	* gcc.target/avr/dev-specific-rmw.c: New test.
      
      From-SVN: r209141
      Pitchumani Sivanupandi committed
    • re PR tree-optimization/60656 (x86 vectorization produces wrong code) · ebc047a2
      2014-04-04  Cong Hou  <congh@google.com>
      
          PR tree-optimization/60656
          * tree-vect-stmts.c (supportable_widening_operation):
            Fix a bug that elements in a vector with vect_used_by_reduction
            property are incorrectly reordered when the operation on it is not
            consistant with the one in reduction operation.
      
      2014-04-04  Cong Hou  <congh@google.com>
      
          PR tree-optimization/60656
          * gcc.dg/vect/pr60656.c: New test.
      
      From-SVN: r209138
      Cong Hou committed
    • Daily bump. · 604fb578
      From-SVN: r209137
      GCC Administrator committed
  3. 04 Apr, 2014 21 commits
  4. 03 Apr, 2014 10 commits
    • re PR tree-optimization/60505 (Warning caused by GCC vectorizer.) · 090cd8dc
      2014-04-03  Cong Hou  <congh@google.com>
      
      PR tree-optimization/60505
          * tree-vectorizer.h (struct _stmt_vec_info): Add th field as the
          threshold of number of iterations below which no vectorization will be
          done.
          * tree-vect-loop.c (new_loop_vec_info):
          Initialize LOOP_VINFO_COST_MODEL_THRESHOLD.
          * tree-vect-loop.c (vect_analyze_loop_operations):
          Set LOOP_VINFO_COST_MODEL_THRESHOLD.
          * tree-vect-loop.c (vect_transform_loop):
          Use LOOP_VINFO_COST_MODEL_THRESHOLD.
          * tree-vect-loop.c (vect_analyze_loop_2): Check the maximum number
          of iterations of the loop and see if we should build the epilogue.
      
      2014-04-03  Cong Hou  <congh@google.com>
      
          PR tree-optimization/60505
          * gcc.dg/vect/pr60505.c: New test.
      
      From-SVN: r209065
      Cong Hou committed
    • tree-streamer.h (struct streamer_tree_cache_d): Add next_idx member. · bdc67fd6
      2014-04-03  Richard Biener  <rguenther@suse.de>
      
      	* tree-streamer.h (struct streamer_tree_cache_d): Add next_idx
      	member.
      	(streamer_tree_cache_create): Adjust.
      	* tree-streamer.c (streamer_tree_cache_add_to_node_array): Adjust
      	to allow optional nodes array.
      	(streamer_tree_cache_insert_1): Use next_idx to assign idx.
      	(streamer_tree_cache_append): Likewise.
      	(streamer_tree_cache_create): Create nodes array optionally
      	as specified by parameter.
      	* lto-streamer-out.c (create_output_block): Avoid maintaining
      	the node array in the writer cache.
      	(DFS_write_tree): Remove assertion.
      	(produce_asm_for_decls): Free the out decl state hash table
      	early.
      	* lto-streamer-in.c (lto_data_in_create): Adjust for
      	streamer_tree_cache_create prototype change.
      
      From-SVN: r209059
      Richard Biener committed
    • tree-streamer-out.c (streamer_write_chain): Do not temporarily set TREE_CHAIN to NULL_TREE. · a0daf659
      2014-04-03  Richard Biener  <rguenther@suse.de>
      
      	* tree-streamer-out.c (streamer_write_chain): Do not temporarily
      	set TREE_CHAIN to NULL_TREE.
      
      From-SVN: r209058
      Richard Biener committed
    • re PR tree-optimization/60740 (ICE in extract_affine w/ -O2 -ftree-loop-linear) · f16c88d2
      2014-04-03  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/60740
      	* graphite-scop-detection.c (stmt_simple_for_scop_p): Iterate
      	over all GIMPLE_COND operands.
      
      	* gcc.dg/graphite/pr60740.c: New testcase.
      
      From-SVN: r209057
      Richard Biener committed
    • invoke.texi (Wnon-virtual-dtor): Adjust documentation. · 880a467b
      	* doc/invoke.texi (Wnon-virtual-dtor): Adjust documentation.
      	(Weffc++): Remove Scott's numbering, merge lists and reference
      	Wnon-virtual-dtor.
      
      	c-family/
      	* c.opt (Wnon-virtual-dtor): Auto set when Weffc++.
      
      	cp/
      	* class.c (accessible_nvdtor_p): New.
      	(check_bases): Don't check base destructor here ...
      	(check_bases_and_members): ... check them here.  Trigger on
      	Wnon-virtual-dtor flag.
      	(finish_struct_1): Use accessible_nvdtor_p.
      
      	testsuite/
      	* g++.dg/warn/Wnvdtor.C: Add non-polymorphic case.
      	* g++.dg/warn/Wnvdtor-2.C: New.
      	* g++.dg/warn/Wnvdtor-3.C: New.
      	* g++.dg/warn/Wnvdtor-4.C: New.
      	* g++.dg/warn/Weff1.C: Delete.
      	* g++.old-deja/g++.benjamin/15309-1.C: Delete.
      	* g++.old-deja/g++.benjamin/15309-2.C: Delete.
      
      From-SVN: r209056
      Nathan Sidwell committed
    • rl78-expand.md (movqi): Handle (SUBREG (SYMBOL_REF)) properly. · 08866760
      	* config/rl78/rl78-expand.md (movqi): Handle (SUBREG (SYMBOL_REF))
      	properly.
      
      From-SVN: r209055
      Nick Clifton committed
    • ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and mention… · 5bed50e8
      ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and mention gcc_unreachable before failing.
      
      2014-04-03  Martin Jambor  <mjambor@suse.cz>
      
      	* ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and
      	mention gcc_unreachable before failing.
      	* ipa.c (symtab_remove_unreachable_nodes): Also print order of
      	removed symbols.
      
      From-SVN: r209052
      Martin Jambor committed
    • re PR ipa/60659 (ICE in get_polymorphic_call_info, at ipa-devirt.c:1292) · 3e86c6a8
      
      	PR ipa/60659
      	* ipa-devirt.c (get_polymorphic_call_info): Do not ICE on type inconsistent
      	code and instead mark the context inconsistent.
      	(possible_polymorphic_call_targets): For inconsistent contexts
      	return empty complete list.
      	* testsuite/g++.dg/torture/pr60659.C: New testcase.
      
      From-SVN: r209048
      Jan Hubicka committed
    • This patch does three related things for the moxie port... · 2b9912aa
      1. Changes char to be unsigned by default
      2. Changes WCHAR_TYPE from long int to unsigned int
      3. Zero- and sign-extends values properly, sometimes using the new
          sign-extension instructions.
      
      From-SVN: r209047
      Anthony Green committed
    • Daily bump. · db034eac
      From-SVN: r209045
      GCC Administrator committed
  5. 02 Apr, 2014 3 commits