1. 10 May, 2007 12 commits
  2. 09 May, 2007 10 commits
  3. 08 May, 2007 18 commits
    • * gcc.target/mips/msub-1.c, gcc.target/mips/msub-2.c, · 9f8d8755
      * gcc.target/mips/msub-3.c, gcc.target/mips/msub-4.c,
      * gcc.target/mips/msubu-1.c, gcc.target/mips/msubu-2.c,
      * gcc.target/mips/msubu-3.c, gcc.target/mips/msubu-4.c: New tests.
      
      From-SVN: r124559
      Chao-ying Fu committed
    • md.texi (msub@var{m}@var{n}4, [...]): Document. · 14661f36
      * doc/md.texi (msub@var{m}@var{n}4, usub@var{m}@var{n}4): Document.
      * optabs.h (OTI_smsub_widen, OTI_umsub_widen): New optab_indexes.
      (smsub_widen_optab, umsub_widen_optab): Define.
      * optabs.c (init_optabs): Initialize smsub_widen_optab and
      umsub_widen_optab.
      * genopinit.c (optabs): Fill in smsub_widen_optab and
      umsub_widen_optab.
      * expr.c (expand_expr_real_1): Try to use smsub_widen_optab
      and umsub_widen_optab to implement multiply-subtract sequences.
      * config/mips/mips.md (*msac<u>_di): Rename to...
      (<u>msubsidi4): ...this.  Extend condition to include
      GENERATE_MADD_MSUB and TARGET_DSPR2.  Change the constraint
      of operand 0 to "ka" and use the three-operand form of msub<u>
      for TARGET_DSPR2.
      * config/mips/mips-dspr2.md (mips_msub, mips_msubu): Convert
      to define_expands.
      
      From-SVN: r124558
      Chao-ying Fu committed
    • re PR rtl-optimization/28011 ([SH] g++ generates wrong code, if… · 10050f74
      re PR rtl-optimization/28011 ([SH] g++ generates wrong code, if '-fno-exceptions' and '-O' options are specified)
      
      	PR rtl-optimization/28011
      	* reload.c (push_reload): Set dont_share if IN appears in OUT
      	also when IN is a PLUS rtx.
      	(reg_overlap_mentioned_for_reload_p): Return true if X and IN
      	are same PLUS rtx.
      
      From-SVN: r124557
      Kaz Kojima committed
    • emit-rtl.c (unshare_all_rtl_1): Don't copy DECL_RTL. · b4aaa77b
      	* emit-rtl.c (unshare_all_rtl_1): Don't copy DECL_RTL.  Don't
      	call unshare_all_decls.
      	(unshare_all_rtl): Adjust the call to unshare_all_rtl_1.
      	(unshare_all_decls): Remove.
      
      From-SVN: r124556
      Kazu Hirata committed
    • re PR tree-optimization/31847 (Printing to dump file broken) · bfa64d0e
      2007-05-08  Simon Martin  <simartin@users.sourceforge.net>
      
      	PR 31847
      	* tree-dump.c (dump_options): Don't use TDF_DIAGNOSTIC in "*-all" tree
      	dumps.
      
      From-SVN: r124551
      Simon Martin committed
    • re PR fortran/31630 (ICE on nasty derived types code) · a34437a1
      2007-05-08  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/31630
      	* resolve.c (resolve_symbol): Remove the flagging mechanism from the
      	formal namespace resolution and instead check that the formal
      	namespace is not the current namespace.
      
      From-SVN: r124550
      Paul Thomas committed
    • re PR fortran/31692 (Wrong code when passing function name as result to procedures) · b2b247f9
      2007-05-08  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/31692
      	* trans-array.c (gfc_conv_array_parameter): Convert full array
      	references to the result of the procedure enclusing the call.
      
      2007-05-08  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/31692
      	* gfortran.dg/actual_array_result_1.f90: New test.
      
      From-SVN: r124546
      Paul Thomas committed
    • mips.h (MAX_FPRS_PER_FMT): Renamed from FP_INC. · e8ab09c1
      2007-05-08  Sandra Loosemore  <sandra@codesourcery.com>
                  Nigel Stephens  <nigel@mips.com>
      
      	gcc/
      	* config/mips/mips.h (MAX_FPRS_PER_FMT): Renamed from FP_INC.
      	Update comments and all uses.
      	(MIN_FPRS_PER_FMT): Define.
      	* config/mips/mips.c (function_arg): Fix to correctly handle
      	the -mips32r2 -mfp64 -mabi=32 case.
      	(override_options): Enable use of odd-numbered registers for
      	SFmode values on MIPS32.
      	(mips_save_reg_p): Save whole floating-point register pair if
      	either half is used.
      	(compute_frame_size): Fix comment.
      
      Co-Authored-By: Nigel Stephens <nigel@mips.com>
      
      From-SVN: r124545
      Sandra Loosemore committed
    • bfin-protos.h (enum bfin_cpu): Add BFIN_CPU_BF534, BFIN_CPU_BF536 and BFIN_CPU_BF561. · 28f601ff
      	* config/bfin/bfin-protos.h (enum bfin_cpu): Add
      	BFIN_CPU_BF534, BFIN_CPU_BF536 and BFIN_CPU_BF561.
      	* config/bfin/bfin.c (bfin_handle_option): Handle
      	-mcpu=bf534, -mcpu=bf536 and -mcpu=bf561.
      	* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS):
      	Support bf534, bf536 and bf561.
      	* doc/invoke.texi (Blackfin Options): Document -mcpu and -msim.
      
      From-SVN: r124544
      Jie Zhang committed
    • type_traits (make_signed): Remove specializations for floating point types. · fb8ffd10
      2007-05-08  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/std/type_traits (make_signed): Remove specializations
      	for floating point types.
      	(make_unsigned): Same.
      	* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Fix.
      	* testsuite/20_util/make_signed/requirements/typedefs-1.cc: Same.
      	* testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same.
      	* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
      	* testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same.
      	* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same.
      
      From-SVN: r124543
      Benjamin Kosnik committed
    • bfin-protos.h (bfin_expand_epilogue): Add a third argument of type bool. · 1f9e4ca1
      	* config/bfin/bfin-protos.h (bfin_expand_epilogue): Add a third
      	argument of type bool.
      	* config/bfin/bfin.c (add_to_reg): Add epilogue_p as a fourth
      	argument. Safely select temporary P register according to it.
      	(do_link): Change call site of add_to_reg accordingly.
      	(do_unlink): Add epilogue_p as a fourth argument and pass it
      	to add_to_reg.
      	(expand_interrupt_handler_epilogue): Change call of do_unlink
      	accordingly.
      	(bfin_expand_prologue): Add a third argument sibcall_p.
      	* config/bfin/bfin.md (epilogue): Change call of
      	bfin_expand_epilogue accordingly.
      	(sibcall_epilogue): Likewise.
      	(eh_return_internal): Likewise.
      
      From-SVN: r124542
      Jie Zhang committed
    • re PR fortran/29397 (Constant logical expression with parameter array) · a9b43781
      2007-05-08  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/29397
      	PR fortran/29400
      	* decl.c (add_init_expr_to_sym): Expand a scalar initializer
      	for a parameter array into an array expression with the right
      	shape.
      	* array.c (spec_dimen_size): Remove static attribute.
      	* gfortran.h : Prototype for spec_dimen_size.
      
      2007-05-08  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/29397
      	* gfortran.dg/parameter_array_init_1.f90: New test.
      
      	PR fortran/29400
      	* gfortran.dg/parameter_array_init_2.f90: New test.
      
      From-SVN: r124541
      Paul Thomas committed
    • types_std_c++0x_neg.cc: New. · a6d99bb4
      2007-05-08  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: New.
      
      From-SVN: r124540
      Benjamin Kosnik committed
    • cxxabi-internal.h: Remove, to be replaced by... · fba10f59
              * libsupc++/cxxabi-internal.h: Remove, to be replaced by...
              * libsupc++/cxxabi-forced.h: ...this new file.
              * include/ext/vstring.tcc: Include cxxabi-forced.h instead.
              * include/bits/istream.tcc: Likewise.
              * include/bits/ostream.tcc: Likewise.
              * include/bits/basic_string.tcc: Likewise.
              * include/bits/ostream_insert.h: Likewise.
              * include/bits/fstream.tcc: Likewise.
              * include/std/bitset: Likewise.
              * libsupc++/cxxabi.h: Restore previous contents.
              * Makefile.am (headers): Add cxxabi-forced.h.
              * Makefile.in: Regenerate.
      
      From-SVN: r124539
      Jason Merrill committed
    • re PR target/31854 (internal compiler error: in cgraph_local_info, at cgraph.c:618) · ac97d816
      	PR target/31854
      	* config/i386/i386.c (ix86_function_regparm): Process local
      	functions only when TREE_CODE (decl) equals FUNCTION_DECL.
      
      From-SVN: r124538
      Uros Bizjak committed
    • testsuite_abi.cc: Add CXXABI_1.3.2. · 9b4fc32c
      2007-05-08  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/util/testsuite_abi.cc: Add CXXABI_1.3.2.
      
      	* libsupc++/cxxabi-internal.h (__foreign_exception::__pure): To
      	__pure_virtual.
      
      From-SVN: r124537
      Benjamin Kosnik committed
    • include cstring as well · ddd9d940
      From-SVN: r124536
      Jason Merrill committed
    • * gcc.dg/pch/pch.exp: XFAIL largefile on Solaris 10 x86. · bb6ae3e7
      From-SVN: r124535
      Janis Johnson committed