1. 19 Sep, 2010 12 commits
  2. 18 Sep, 2010 14 commits
  3. 17 Sep, 2010 14 commits
    • Add DEBUG_FUNCTION to all the dot_* debugging functions. · 1f424006
      2010-09-17  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-dependences.c (dot_deps): Add DEBUG_FUNCTION.
      	(dot_deps_stmt): Same.
      	* graphite-poly.c (dot_lst): Same.
      	* graphite-scop-detection.c (dot_all_scops): Same.
      	(dot_scop): Same.
      
      From-SVN: r164381
      Sebastian Pop committed
    • Add back dot_rdg. · f3241b29
      2010-09-17  Sebastian Pop  <sebastian.pop@amd.com>
      
      	Revert commit: 2009-12-16  Ben Elliston  <bje@au.ibm.com>
      	* tree-data-ref.c (dot_rdg_1): Added back.
      	(dot_rdg): Same.  Added "#if 0" around system call.
      
      From-SVN: r164380
      Sebastian Pop committed
    • Pad short functions with NOPs for Atom. · e7ed95a2
      gcc/
      
      2010-09-17  H.J. Lu  <hongjiu.lu@intel.com>
      	    Richard Henderson  <rth@redhat.com>
      
      	* config/i386/i386.c (initial_ix86_tune_features): Add
      	X86_TUNE_PAD_SHORT_FUNCTION.
      	(ix86_code_end): Pad with 8 NOPs for TARGET_PAD_SHORT_FUNCTION.
      	(ix86_count_insn): New.
      	(ix86_pad_short_function): Likewise.
      	(ix86_reorg): Support TARGET_PAD_SHORT_FUNCTION.
      
      	* config/i386/i386.h (ix86_tune_indices): Add
      	X86_TUNE_PAD_SHORT_FUNCTION.
      	(TARGET_PAD_SHORT_FUNCTION): New.
      
      	* config/i386/i386.md (UNSPEC_NOPS): New.
      	(nops): Likewise.
      
      gcc/testsuite/
      
      2010-09-17  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc.target/i386/pad-1.c: New.
      	* gcc.target/i386/pad-2.c: Likewise.
      	* gcc.target/i386/pad-3.c: Likewise.
      	* gcc.target/i386/pad-4.c: Likewise.
      	* gcc.target/i386/pad-5a.c: Likewise.
      	* gcc.target/i386/pad-5b.c: Likewise.
      	* gcc.target/i386/pad-6a.c: Likewise.
      	* gcc.target/i386/pad-6b.c: Likewise.
      	* gcc.target/i386/pad-7.c: Likewise.
      	* gcc.target/i386/pad-8.c: Likewise.
      	* gcc.target/i386/pad-9.c: Likewise.
      	* gcc.target/i386/pad-10.c: Likewise.
      
      Co-Authored-By: Richard Henderson <rth@redhat.com>
      
      From-SVN: r164379
      H.J. Lu committed
    • Do not print warning messages when there are no occurences. · 8cab7c13
      2010-07-02  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* check_GNU_style.sh: Do not print warning messages when there are
      	no occurences.
      
      From-SVN: r164378
      Sebastian Pop committed
    • Make sure that all variable sized adjustments are multiple of preferred · 2b3ded42
      stack boundary after stack alignment.
      
      gcc/
      
      2010-09-17  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR middle-end/45234
      	* calls.c (expand_call): Make sure that all variable sized
      	adjustments are multiple of preferred stack boundary after
      	stack alignment.
      
      gcc/testsuite/
      
      2010-09-17  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR middle-end/45234
      	* gcc.dg/torture/stackalign/alloca-5.c: New.
      
      From-SVN: r164377
      H.J. Lu committed
    • rx.c (valid_psw_flag): New. · bf9afb7d
      * config/rx/rx.c (valid_psw_flag): New.
      (rx_expand_builtin): Call it for setpsw/clrpsw.
      (rx_expand_builtin_mvtipl): Pass an integer to IN_RANGE, not an
      RTX.
      * config/rx/rx.md (bitclr): Don't mark the output as early-clobber.
      (bitclr_in_memory): Likewise.
      (clrspw, setpsw, mvfc, mvtc, mvtipl): Make volatile.
      
      From-SVN: r164376
      DJ Delorie committed
    • Update stack alignment when increasing local variable alignment. · 765c3e8f
      gcc/
      
      2010-09-17  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR middle-end/45678
      	* cfgexpand.c (update_stack_alignment): New.
      	(get_decl_align_unit): Use it.
      	(expand_one_stack_var_at): Call update_stack_alignment.
      
      gcc/testsuite/
      
      2010-09-17  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR middle-end/45678
      	* gcc.dg/torture/pr45678-2.c: New.
      
      From-SVN: r164375
      H.J. Lu committed
    • In libobjc/: · 349cfd93
              * objc-private/objc-list.h (list_remove_elem): Unused function
              removed.  (list_nth): Unused function removed.  (list_find):
              Unused function removed.  (list_lenght): Unused function removed.
      
              Also, fixed an error in my last commit by adding back
              objc/hash.h and objc/objc-list.h that had not been committed.
      
      From-SVN: r164374
      Nicola Pero committed
    • In libobjc/: · 5be9cdc1
              * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
              replaced with a placeholder including the file from the
              deprecated/ directory.
              * objc/objc-api.h: Updated includes.
              * objc/typedstream.h: Updated includes.
              * objc-private/hash.h: New file (private copy of hash.h).
              * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
              objc/objc-list.h replaced with a placeholder including the file
              from the deprecated/ directory.
              * objc-private/objc-list.h: New file (private copy of objc-list.h).
              * init.c: Include objc-private/hash.h and objc-private/objc-list.h
              instead of objc/hash.h and objc/objc-list.h.
              * selector.c: Same change.
              * class.c: Added include <string.h>, which used to be implicitly included
              when hash.h was included.
              * exception.c: Same change.
              * objects.c: Same change.
              * sarray.c: Same change.
              * sendmsg.c: Same change.
              * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
              (OBJC_H): Removed hash.h and objc-list.h
      
      From-SVN: r164373
      Nicola Pero committed
    • lto-streamer-in.c (lto_input_ts_translation_unit_decl_tree_pointers): Properly… · 0982fd64
      lto-streamer-in.c (lto_input_ts_translation_unit_decl_tree_pointers): Properly copy the read string.
      
      2010-09-17  Richard Guenther  <rguenther@suse.de>
      
      	* lto-streamer-in.c (lto_input_ts_translation_unit_decl_tree_pointers):
      	Properly copy the read string.
      
      From-SVN: r164371
      Richard Guenther committed
    • options.texi (Variable): Document. · e90afde6
      	* doc/options.texi (Variable): Document.
      	* optc-gen.awk, opth-gen.awk: Handle Variable records.  Don't
      	generate target_flags declarations explicitly.  Don't define
      	VarExists variables for the driver.
      	* common.opt (target_flags): New Variable record.
      	(flag_dump_unnumbered, flag_dump_unnumbered_links,
      	flag_var_tracking, flag_var_tracking_assignments,
      	flag_var_tracking_assignments_toggle): Don't mark variables with
      	VarExists.
      	* config/i386/i386.c (ix86_isa_flags): Don't define here.
      	* config/i386/i386.opt (ix86_isa_flags): Define here.
      	* config/mcore/mcore.c (mcore_stack_increment): Don't define here.
      	* config/mcore/mcore.opt (mcore_stack_increment): Don't mark with
      	VarExists.
      	* flags.h (flag_dump_unnumbered, flag_var_tracking): Remove.
      	* print-rtl.c (flag_dump_unnumbered, flag_dump_unnumbered_links):
      	Only define for generator programs.
      	* rtlanal.c (target_flags): Remove.
      	* toplev.c (flag_var_tracking, flag_var_tracking_assignments,
      	flag_var_tracking_assignments_toggle): Remove.
      
      From-SVN: r164370
      Joseph Myers committed
    • re PR rtl-optimization/45678 (crash on vector code with -m32 -msse) · 2d5581f1
      2010-09-17  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/45678
      	* gcc.dg/torture/pr45678-1.c: New testcase.
      
      From-SVN: r164369
      Richard Guenther committed
    • re PR tree-optimization/43432 (Missed vectorization: "complicated access… · 18ba3ce7
      re PR tree-optimization/43432 (Missed vectorization: "complicated access pattern" for increasing and decreasing data indexing)
      
      	PR tree-optimization/43432
      	* tree-vect-data-refs.c (vect_analyze_data_ref_access):
      	Accept backwards consecutive accesses.
      	(vect_create_data_ref_ptr): If step is negative generate
      	decreasing IVs.
      	* tree-vect-stmts.c (vectorizable_store): Reject negative steps.
      	(perm_mask_for_reverse, reverse_vec_elements): New functions.
      	(vectorizable_load): Handle loads with negative steps when easily
      	possible.
      
      testsuite/
      	PR tree-optimization/43432
      	* lib/target-supports.exp (check_effective_target_vect_perm_byte,
      	check_effective_target_vect_perm_short): New predicates.
      	(check_effective_target_vect_perm): Include x86_64.
      	* gcc.dg/vect/pr43432.c: New test.
      	* gcc.dg/vect/vect-114.c: Adjust.
      	* gcc.dg/vect/vect-15.c: Ditto.
      	* gcc.dg/vect/slp-perm-8.c: Use new predicate.
      	* gcc.dg/vect/slp-perm-9.c: Ditto.
      
      From-SVN: r164367
      Michael Matz committed
    • lto-cgraph.c (compute_ltrans_boundary): Use const_value_known. · 4c588abf
      
      	* lto-cgraph.c (compute_ltrans_boundary): Use const_value_known.
      	* lto.c (lto_promote_cross_file_statics): Use const_value_known.
      
      From-SVN: r164366
      Jan Hubicka committed