1. 17 Apr, 2007 11 commits
    • re PR ada/31576 (Ada bootstrap error) · ea30850a
      2007-04-17  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	PR ada/31576
      	* system-linux-alpha.ads: Disable constant condition warning for the
      	Default_Bit_Order variable.
      	* system-linux-s390.ads: Likewise.
      	* system-linux-s390x.ads: Likewise.
      	* system-linux-sparc.ads: Likewise.
      
      From-SVN: r123915
      Andreas Krebbel committed
    • linkage.exp: Do not run on remote hosts. · 485b51a7
      	* gcc.misc-tests/linkage.exp: Do not run on remote hosts.
      	* lib/compat.exp (compat-run): Use file_on_host, not remote_file
      	build.
      	(compat-execute): Likewise.
      	* lib/copy-file.exp (gcc_copy_files): Use remote_download to copy
      	files to remote hosts.
      	* lib/c-ctorture.exp (c-torture-compile): Likewise.
      	(c-torture-execute): Likewise.
      	* lib/dg-pch.exp (dg-pch): Use file_on_host, not remote_file build
      	or plain file.  Use remote_upload and remote_download to copy
      	files about.
      	* lib/scanasm.exp (dg-scan): Upload the file from the remote host
      	before scanning it.
      
      From-SVN: r123914
      Mark Mitchell committed
    • re PR rtl-optimization/10692 ([m68k] miscompilation of perl with -O2 -fPIC) · f2eb49dc
      	* reload1.c (delete_output_reload): Don't count output in n_inherited.
      
      	Revert
      	2005-01-05  Richard Henderson  <rth@redhat.com>
      	PR rtl-opt/10692
      	* reload1.c (do_input_reload): Restrict the optimization deleteing
      	a previous output reload to RELOAD_FOR_INPUT.
      
      From-SVN: r123913
      Bernd Schmidt committed
    • arith.h: Update copyright years. · 710a179f
      * arith.h: Update copyright years.
      * dependency.h: Likewise.
      * gfortran.h: Likewise.
      * lang-specs.h: Likewise.
      * parse.h: Likewise.
      * symbol.c: Likewise.
      * trans.h: Likewise.
      * trans.c: Likewise.
      * trans-array.c: Likewise.
      * trans-common.c: Likewise.
      * trans-const.h: Likewise.
      * trans-const.c: Likewise.
      * trans-decl.c: Likewise.
      * trans-expr.c: Likewise.
      * trans-io.c: Likewise.
      * trans-openmp.c: Likewise.
      * trans-types.h: Likewise.
      * types.def: Likewise.
      
      From-SVN: r123911
      Tobias Schlüter committed
    • tree-vectorizer.h (stmt_vec_info_type): Add enum value induc_vec_info_type. · cd38ca7f
              * tree-vectorizer.h (stmt_vec_info_type): Add enum value
              induc_vec_info_type.
              (vectorizable_induction): New function declaration.
              * tree-vect-transform.c (get_initial_def_for_induction): No need to
              check if already vectorized.  Find first place in BB where new stmts
              can be inserted.  Takes only one argument.
              (vectorizable_induction): New function.
              (vect_transform_stmt): Add case for induc_vec_info_type to call
              vectorizable_induction.
              (vect_transform_loop): Consider phis for vectorization.
              * tree-vect-analyze.c (vect_determine_vectorization_factor): Simplify
              condition.
              (analyze_operations): Call vectorizable_induction when analyzing phis.
              Fix comment.
              (vect_mark_stmts_to_be_vectorized): Remove redundant checks.
              (vect_mark_relevant): Include phis in relevance analysis.
              (vect_mark_stmts_to_be_vectorize): Likewise.
              * tree-vect-patterns.c (widened_name_p): Remove obsolete asserts.
      
      From-SVN: r123910
      Dorit Nuzman committed
    • invoke.texi (Debugging Options): Add documentation for the -femit-struct-debug options... · 39ef6592
      ./:	* doc/invoke.texi (Debugging Options): Add documentation for the
      	-femit-struct-debug options -femit-struct-debug-baseonly,
      	-femit-struct-debug-reduced, and
      	-femit-struct-debug-detailed[=...].
      
      	* c-opts.c (c_common_handle_option): Add
      	OPT_femit_struct_debug_baseonly, OPT_femit_struct_debug_reduced,
      	and OPT_femit_struct_debug_detailed_.
      	* c.opt: Add specifications for
      	-femit-struct-debug-baseonly, -femit-struct-debug-reduced,
      	and -femit-struct-debug-detailed[=...].
      	* opts.c (set_struct_debug_option): Parse the
      	-femit-struct-debug-... options.
      	* opts.c (matches_main_base, main_input_basename,
      	main_input_baselength, base_of_path, matches_main_base): Add
      	variables and functions to compare header base name to compilation
      	unit base name.
      	* opts.c (should_emit_struct_debug): Add to determine to emit a
      	structure based on the option.
      	(dump_struct_debug) Also disabled function to debug this
      	function.
      	* opts.c (handle_options): Save the base name of the
      	compilation unit.
      
      	* langhooks-def.h (LANG_HOOKS_GENERIC_TYPE_P): Define.
              (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add.
      	This hook indicates if a type is generic.  Set it by default
      	to "never generic".
      	* langhooks.h (struct lang_hooks_for_types): Add a new hook
      	to determine if a struct type is generic or not.
      	* cp/cp-tree.h (class_tmpl_impl_spec_p): Declare a C++ hook.
      	* cp/tree.c (class_tmpl_impl_spec_p): Implement the C++ hook.
      	* cp/cp-lang.c (LANG_HOOKS_GENERIC_TYPE_P): Override null C hook
      	with live C++ hook.
      
      	* flags.h (enum debug_info_usage): Add an enumeration to describe
      	a program's use of a structure type.
      	* dwarf2out.c (gen_struct_or_union_type_die): Add a new parameter
      	to indicate the program's usage of the type.  Filter structs based
      	on the -femit-struct-debug-... specification.
      	(gen_type_die): Split into two routines, gen_type_die and
      	gen_type_die_with_usage.  gen_type_die is now a wrapper
      	that assumes direct usage.
      	(gen_type_die_with_usage): Replace calls to gen_type_die
      	with gen_type_die_with_usage adding the program usage of
      	the referenced type.
      	(dwarf2out_imported_module_or_decl): Suppress struct debug
      	information using should_emit_struct_debug when appropriate.
      testsuite/:
      	* g++.dg/other/fesd-any.C: Test -femit-struct-debug-detailed=any.
      	* g++.dg/other/fesd-any.h: Test -femit-struct-debug-detailed=any.
      	* g++.dg/other/fesd-baseonly.C: Test -femit-struct-debug-baseonly.
      	* g++.dg/other/fesd-baseonly.h: Test -femit-struct-debug-baseonly.
      	* g++.dg/other/fesd-none.C: Test -femit-struct-debug-detailed=none.
      	* g++.dg/other/fesd-none.h: Test -femit-struct-debug-detailed=none.
      	* g++.dg/other/fesd-reduced.C: Test -femit-struct-debug-reduced.
      	* g++.dg/other/fesd-reduced.h: Test -femit-struct-debug-reduced.
      	* g++.dg/other/fesd-sys.C: Test -femit-struct-debug-detailed=sys.
      	* g++.dg/other/fesd-sys.h: Test -femit-struct-debug-detailed=sys.
      	* g++.dg/other/fesd.h: Common to -femit-struct-debug-... tests.
      
      	* gcc.dg/fesd-any.c: Test -femit-struct-debug-detailed=any.
      	* gcc.dg/fesd-any.h: Test -femit-struct-debug-detailed=any.
      	* gcc.dg/fesd-baseonly.c: Test -femit-struct-debug-baseonly.
      	* gcc.dg/fesd-baseonly.h: Test -femit-struct-debug-baseonly.
      	* gcc.dg/fesd-none.c: Test -femit-struct-debug-detailed=none.
      	* gcc.dg/fesd-none.h: Test -femit-struct-debug-detailed=none.
      	* gcc.dg/fesd-reduced.c: Test -femit-struct-debug-reduced.
      	* gcc.dg/fesd-reduced.h: Test -femit-struct-debug-reduced.
      	* gcc.dg/fesd-sys.c: Test -femit-struct-debug-detailed=sys.
      	* gcc.dg/fesd-sys.h: Test -femit-struct-debug-detailed=sys.
      	* gcc.dg/fesd.h: Common to -femit-struct-debug-... tests.
      
      From-SVN: r123909
      Lawrence Crowl committed
    • re PR tree-optimization/31522 (False overflow warning with phi nodes) · fc6827fe
      ./:	PR tree-optimization/31522
      	* tree-vrp.c (vr_phi_edge_counts): New static variable.
      	(vrp_initialize): Allocate vr_phi_edge_counts.
      	(vrp_visit_phi_node): Don't push to infinity if we saw a new
      	executable edge.  Drop test for all constants.
      	(vrp_finalize): Free vrp_phi_edge_counts.
      testsuite/:
      	PR tree-optimization/31522
      	* gcc.dg/Wstrict-overflow-16.c: New test.
      
      From-SVN: r123908
      Ian Lance Taylor committed
    • cpp.texi (Common Predefined Macros): Clarify description of __GNUC_GNU_INLINE__… · 4075e231
      cpp.texi (Common Predefined Macros): Clarify description of __GNUC_GNU_INLINE__ and __GNUC_STDC_INLINE__.
      
      	* doc/cpp.texi (Common Predefined Macros): Clarify description of
      	__GNUC_GNU_INLINE__ and __GNUC_STDC_INLINE__.
      
      From-SVN: r123907
      Ian Lance Taylor committed
    • tree-ssa-propagate.c (cfg_blocks_add): Insert blocks with fewer predecessors at… · 5a0ed003
      tree-ssa-propagate.c (cfg_blocks_add): Insert blocks with fewer predecessors at head rather than tail.
      
      	* tree-ssa-propagate.c (cfg_blocks_add): Insert blocks with fewer
      	predecessors at head rather than tail.
      
      From-SVN: r123906
      Ian Lance Taylor committed
    • * gcc.dg/cpp/_Pragma6.c: Skip on fido-*-* and m68k-*-*. · 59152316
      From-SVN: r123905
      Kazu Hirata committed
    • re PR fortran/31144 (gfortran module symbol names are not standard compliant) · 9998ef84
      
      PR fortran/31144
      fortran/
      * decl.c (gfc_sym_mangled_identifier): Use capital letters in name
      mangling.
      (gfc_sym_mangled_function_id): Likewise.
      testsuite/
      * gfortran.dg/module_naming_1.f90: New.
      
      From-SVN: r123904
      Tobias Schlüter committed
  2. 16 Apr, 2007 26 commits
  3. 15 Apr, 2007 3 commits