1. 01 Mar, 2007 20 commits
  2. 28 Feb, 2007 16 commits
    • Missed this. See previous Change. · e14e622e
      From-SVN: r122416
      Eric Christopher committed
    • revert: Makefile.def (dependencies): Add dependency for install-target-libssp… · d3dc619d
      revert: Makefile.def (dependencies): Add dependency for install-target-libssp and install-target-libgomp on install-gcc.
      
      2007-02-28  Eric Christopher  <echristo@apple.com>
      
         Revert:
         2006-12-07  Mike Stump  <mrs@apple.com>
      
             * Makefile.def (dependencies): Add dependency for
             install-target-libssp and install-target-libgomp on
             install-gcc.
             * Makefile.in: Regenerate.
      
      2007-02-28  Eric Christopher  <echristo@apple.com>
      
         * Makefile.in (install-include-dir): Don't rm -rf include.
      
      From-SVN: r122415
      Eric Christopher committed
    • re PR middle-end/30364 (Wrong variable ranges due to constant folding) · a6d5f37c
      2007-02-28  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/30364
      	* fold-const.c (fold_binary): Do not associate expressions
      	with more than one variable for integer types that do not wrap.
      
      	* gcc.dg/torture/pr30364-1.c: New testcase.
      	* gcc.dg/torture/pr30364-2.c: Likewise.
      	* gcc.dg/torture/pr30364-3.c: Likewise.
      
      From-SVN: r122414
      Richard Guenther committed
    • builtin-frexp-1.c: On mips*-*-irix6* and powerpc*, use -funsafe-math-optimizations. · cfac1376
      	* gcc.dg/torture/builtin-frexp-1.c: On mips*-*-irix6* and
      	powerpc*, use -funsafe-math-optimizations.
      	* gcc.dg/torture/builtin-logb-1.c: Likewise.
      	* gcc.dg/torture/builtin-modf-1.c: Likewise.
      
      From-SVN: r122413
      Kaveh R. Ghazi committed
    • builtins.c (fold_builtin_call_list, [...]): Delete, and replace with... · 94a0dd7b
      2007-02-28  Sandra Loosemore  <sandra@codesourcery.com>
      
      	* gcc/builtins.c (fold_builtin_call_list, fold_builtin_call_valist):
      	Delete, and replace with...
      	(fold_builtin_call_array): This.  Update callers to use it.
      	* gcc/fold-const.c (fold_build_call_list): Delete, and replace with...
      	(fold_build_call_array): This.
      	(fold_build_call_list_initializer): Delete, and replace with...
      	(fold_build_call_array_initializer): This.
      	* gcc/tree.h: Update declarations to reflect above changes.
      
      	* gcc/c-typeck.c (build_function_call): Store converted arguments
      	in a stack-allocated array instead of building a list.
      	(convert_arguments): Store arguments in the array passed in as an
      	argument, and return the actual number of arguments.
      	* gcc/c-format.c: (check_function_format): Pass arguments in an
      	array instead of a list.
      	* gcc/c-common.c (check_function_nonnull): Likewise.
      	(check_function_sentinel): Likewise.
      	(check_function_arguments): Likewise.
      	* gcc/c-common.h: Update declarations to reflect above changes.
      
      	* gcc/cp/typeck.c (build_function_call): Store converted arguments
      	in a stack-allocated array instead of building a list.
      	(convert_arguments): Store arguments in the array passed in as an
      	argument, and return the actual number of arguments.
      	* gcc/cp/call.c (build_call): Delete, and replace with...
      	(build_call_n, build_call_a): New.
      	(build_op_delete_call): Rewrite to avoid constructing argument lists.
      	(build_over_call): Store converted arguments in a stack-allocated
      	array instead of building a list.
      	(build_cxx_call): Pass arguments in an array instead of as a list.
      	(build_java_interface_fn_ref): Rewrite to avoid constructing
      	argument lists.
      	* gcc/cp/tree.h: Update declarations to reflect above changes.
      	* gcc/cp/method.c (use_thunk): Use a stack-allocated array to hold
      	the arguments instead of a list.
      	* gcc/cp/rtti.c (throw_bad_cast): Update call to cxx_call.
      	(throw_bad_typeid): Likewise.
      	(build_dynamic_cast_1): Likewise.
      	* gcc/cp/init.c (build_builtin_delete_call): Use build_call_n.
      	* gcc/cp/decl.c (expand_static_init): Likewise.
      	* gcc/cp/except.c (cp_protect_cleanup_actions): Likewise.
      	* gcc/cp/cp-gimplify.c (genericize_eh_spec_block): Likewise.
      	(gimplify_must_not_throw_expr): Likewise.
      	(cxx_omp_apply_fn): Use build_call_a.
      
      From-SVN: r122411
      Sandra Loosemore committed
    • predict.def (PRED_TREE_EARLY_RETURN, [...]): Update outcomes. · 76bf4853
      
      	* predict.def (PRED_TREE_EARLY_RETURN, PRED_CONST_RETURN,
      	PRED_NEGATIVE_RETURN): Update outcomes.
      
      From-SVN: r122410
      Jan Hubicka committed
    • re PR fortran/30888 (%VAL construct fails with argument procedures) · 7193e30a
      2007-02-28  Tobias Burnus  <burnus@net-b.de>
      	    Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/30888
      	PR fortran/30887
      	* resolve.c (resolve_actual_arglist): Allow by-value
      	arguments and non-default-kind for %VAL().
      	* trans-expr.c (conv_arglist_function): Allow
      	non-default-kind for %VAL().
      
      testsuite/
      2007-02-28  Tobias Burnus  <burnus@net-b.de>
      	    Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/30888
      	PR fortran/30887
      	* c_by_val_1.f: Test %VAL() with non-default kind.
      	* c_by_val.c: Ditto.
      	* c_by_val_4.f: New test.
      
      
      Co-Authored-By: Paul Thomas <pault@gcc.gnu.org>
      
      From-SVN: r122409
      Tobias Burnus committed
    • Make-lang.in (doc/gnat_ugn_unw.texi): Depend on… · c2615f30
      Make-lang.in (doc/gnat_ugn_unw.texi): Depend on $(gcc_docdir)/include/gcc-common.texi and gcc-vers.texi.
      
      	* Make-lang.in (doc/gnat_ugn_unw.texi): Depend on
      	$(gcc_docdir)/include/gcc-common.texi and gcc-vers.texi.
      	(doc/gnat-style.info): Likewise.
      
      From-SVN: r122402
      Andreas Schwab committed
    • re PR fortran/30968 ([4.1 only] Bogus warning with continued lines of concatenated strings) · 1355d8e7
      2007-02-28  Tobias Burnus  <burnus@net-b.de>
      
      	PR fortran/30968
      	* primary.c (next_string_char): Correct reading a character
      	after the delimiter.
      	(match_string_constant): Print warning message only once.
      
      2007-02-28  Tobias Burnus  <burnus@net-b.de>
      
      	PR fortran/30968
      	* gfortran.dg/continuation_7.f90: New test.
      
      From-SVN: r122401
      Tobias Burnus committed
    • target-supports.exp (check_profiling_available): Not available for bfin-*-*. · d5b7e972
      	* lib/target-supports.exp (check_profiling_available): Not available
      	for bfin-*-*.
      
      From-SVN: r122400
      Bernd Schmidt committed
    • thunk7.C: New test. · 00e55238
      	* g++.dg/inherit/thunk7.C: New test.
      
      From-SVN: r122399
      Bernd Schmidt committed
    • Fixup whitespacing. · dcb0a373
      From-SVN: r122398
      Mike Stump committed
    • configure: Regenerate. · 54e433bc
      	* configure: Regenerate.
      	* configure.ac: Move statements after variable declarations.
      
      From-SVN: r122397
      Matt Kraai committed
    • calls.c (emit_library_call_value_1): Handle partial registers correctly when… · 3b1bf459
      calls.c (emit_library_call_value_1): Handle partial registers correctly when building up CALL_INSN_FUNCTION_USAGE.
      
      	* calls.c (emit_library_call_value_1): Handle partial registers
      	correctly when building up CALL_INSN_FUNCTION_USAGE.
      
      From-SVN: r122396
      Bernd Schmidt committed
    • Daily bump. · 9edd7f97
      From-SVN: r122392
      GCC Administrator committed
    • predicates.md (move_src_operand): Allow zero for mode. · e214de0a
      	* pa/predicates.md (move_src_operand): Allow zero for mode.
      	* pa/pa.md: Fix constraints for zero CONST_DOUBLE in 64-bit DFmode
      	move pattern.
      
      From-SVN: r122388
      John David Anglin committed
  3. 27 Feb, 2007 4 commits
    • re PR target/30970 (Register zeroing by xor N,N should be moved out of loop) · 8ab93332
              PR target/30970
              * config/i386/sse.md (*mov<mode>_internal, *movv4sf_internal,
              *movv2df_internal): Enable pattern only for valid operand
              combinations.
              * config/i386/i386.c (ix86_modes_tieable_p): For SSE registers,
              tie only 128bit modes. For MMX registers, tie only 64bit modes.
      
      testsuite/ChangeLog:
      
      	PR target/30970
      	* gcc.target/i386/gfortran.dg/pr30970.c: New test.
      
      From-SVN: r122387
      Uros Bizjak committed
    • darwin-crt3.c: Avoid compilation when compiling for a kext multilib. · 3b414146
      	* config/darwin-crt3.c: Avoid compilation when compiling for a
      	kext multilib.
      
      From-SVN: r122385
      Mike Stump committed
    • mkheaders.in (incdir): Use include-fixed not include. · f686ec05
      fixincludes:
      	* mkheaders.in (incdir): Use include-fixed not include.
      
      gcc:
      	* Makefile.in (PREPROCESSOR_DEFINES, test-protoize-simple): Define
      	FIXED_INCLUDE_DIR.
      	(stmp-int-hdrs, stmp-fixinc, install-headers): Use include-fixed
      	for fixed headers and limits.h.
      	(install-include-dir, install-headers-tar, install-headers-cpio,
      	install-headers-cp, real-install-headers-tar,
      	real-install-headers-cpio, real-install-headers-cp): Handle
      	include-fixed as well as include.
      	(install-mkheaders): Don't install files that go only in include
      	not include-fixed.
      	* cppdefault.c (cpp_include_defaults): Separate FIXED_INCLUDE_DIR
      	from GCC_INCLUDE_DIR.
      	* gcc.c (process_command): Remove special -BstageN/ handling.
      	(do_spec_1): Add include-fixed directories.
      
      From-SVN: r122384
      Joseph Myers committed
    • PR libstdc++/28080 (partial) · f4e39278
      2007-02-27  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/28080 (partial)
      	* include/std/bitset: Do not include <ios>, <iosfwd> is enough.
      	(operator>>(std::basic_istream<>&, bitset<>&)): Tweak, refer to
      	ios_base as a base of basic_istream.
      	* include/std/iomanip: Do not include <ios>, <iosfwd> + 
      	<bits/ios_base.h> is enough.
      	* include/std/iosfwd: Do not include <cctype> here...
      	* include/bits/locale_facets.h: ... do it here, when needed.
      	* include/bits/ostream.tcc: Clean up, do not include <locale> here...
      	* include/std/ostream: ... here instead.
      	* include/bits/istream.tcc: Likewise for <locale> and <ostream>...
      	* include/std/istream: ... here.
      	* include/bits/sstream.tcc: Do not include <sstream>.
      
      From-SVN: r122380
      Paolo Carlini committed