1. 11 May, 2007 5 commits
    • re PR fortran/30878 (Rejects function f1; namelist /nml/ f1) · 847b053d
      2007-05-11 Paul Thomas <pault@gcc.gnu.org>
      
      	PR fortran/30878
      	* resolve.c (resolve_fl_namelist): It is not an error if the
      	namelist element is the result variable of the enclosing
      	function.  Search for the symbol in current and all parent
      	namespaces for a potential conflict.
      	* symbol.c (check_conflict): Remove the conflict between
      	'in_namelist' and 'FL_PROCEDURE' because the symbol info
      	is not available to exclude function result variables.
      	* trans-io.c (nml_get_addr_expr): Use the fake result decl
      	if the symbol is an implicit result variable.
      
      2007-05-11 Paul Thomas <pault@gcc.gnu.org>
      
      	PR fortran/30878
      	* gfortran.dg/namelist_29.f90: New test.
      
      From-SVN: r124615
      Paul Thomas committed
    • s390.md (GPR0_REGNUM, [...]): Constants added. · 35dd9a0e
      2007-05-11  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	* config/s390/s390.md (GPR0_REGNUM, FPR0_REGNUM, FPR2_REGNUM,
      	PFPO_CONVERT, PFPO_OP_TYPE_SF, PFPO_OP_TYPE_DF, PFPO_OP_TYPE_TF,
      	PFPO_OP_TYPE_SD, PFPO_OP_TYPE_DD, PFPO_OP_TYPE_TD, PFPO_OP0_TYPE_SHIFT,
      	PFPO_OP1_TYPE_SHIFT): Constants added.
      	(DFP_ALL): Mode macro defined.
      	("*trunc<BFP:mode><DFP_ALL:mode>2", "*trunc<DFP_ALL:mode><BFP:mode>2",
      	"*extend<BFP:mode><DFP_ALL:mode>2", "*extend<DFP_ALL:mode><BFP:mode>2"):
      	Insn definitions added.
      	("trunc<BFP:mode><DFP_ALL:mode>2", "trunc<DFP_ALL:mode><BFP:mode>2",
      	"extend<BFP:mode><DFP_ALL:mode>2", "extend<DFP_ALL:mode><BFP:mode>2"):
      	Expanders added.
      
      From-SVN: r124614
      Andreas Krebbel committed
    • re PR fortran/31474 (ENTRY & procedural pointer: insert_bbt(): Duplicate key found!) · 6c12686b
      2007-05-11  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/31474
      	* decl.c (get_proc_name): If an entry has already been declared
      	as a module procedure, pick up the symbol and the symtree and
      	use them for the entry.
      
      2007-05-11  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/31474
      	* gfortran.dg/entry_10.f90: New test.
      
      From-SVN: r124613
      Paul Thomas committed
    • 11.cc: Include <cstring>. · 1b716e90
      2007-05-10  Paolo Carlini  <pcarlini@suse.de>
      
      	* 27_io/objects/wchar_t/11.cc: Include <cstring>.
      	* 27_io/objects/wchar_t/10.cc: Likewise.
      	* 27_io/objects/wchar_t/12.cc: Likewise.
      	* 27_io/basic_streambuf/sputbackc/char/9538.cc: Likewise.
      	* 27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
      	* 27_io/basic_streambuf/overflow/char/1.cc: Likewise.
      	* 27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
      	* 27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
      	* 27_io/basic_streambuf/sputn/char/1.cc: Likewise.
      	* 27_io/basic_ios/cons/char/3.cc: Likewise.
      	* 27_io/basic_stringbuf/setbuf/char/2.cc: Likewise.
      	* 27_io/basic_stringbuf/setbuf/char/3.cc: Likewise.
      	* 27_io/basic_stringbuf/setbuf/char/4.cc: Likewise.
      	* 27_io/basic_istream/extractors_character/char/4.cc: Likewise.
      	* 27_io/fpos/mbstate_t/1.cc: Likewise.
      	* 27_io/basic_filebuf/setbuf/char/2.cc: Likewise.
      	* 27_io/basic_filebuf/setbuf/char/3.cc: Likewise.
      	* 25_algorithms/copy/streambuf_iterators/char/2.cc: Likewise.
      	* 25_algorithms/copy/streambuf_iterators/char/4.cc: Likewise.
      	* 19_diagnostics/stdexceptions.cc: Likewise.
      	* 21_strings/char_traits/requirements/short/1.cc: Likewise.
      	* 21_strings/basic_string/compare/char/1.cc: Likewise.
      	* 21_strings/basic_string/capacity/1.cc: Likewise.
      	* ext/codecvt/char-1.cc: Likewise.
      	* ext/codecvt/char-2.cc: Likewise.
      	* ext/codecvt/1.cc: Likewise.
      	* ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
      	* ext/stdio_sync_filebuf/char/1.cc: Likewise.
      	* ext/stdio_filebuf/char/2.cc: Likewise.
      	* ext/stdio_filebuf/char/10063-1.cc: Likewise.
      	* 22_locale/ctype/narrow/char/19955.cc: Likewise.
      	* 22_locale/codecvt/unshift/wchar_t/1.cc: Likewise.
      	* 22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
      	* 22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
      	* 22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
      	* 22_locale/codecvt/unshift/char/1.cc: Likewise.
      	* 22_locale/codecvt/length/wchar_t/1.cc: Likewise.
      	* 22_locale/codecvt/length/wchar_t/2.cc: Likewise.
      	* 22_locale/codecvt/length/wchar_t/3.cc: Likewise.
      	* 22_locale/codecvt/length/wchar_t/4.cc: Likewise.
      	* 22_locale/codecvt/length/wchar_t/5.cc: Likewise.
      	* 22_locale/codecvt/length/wchar_t/6.cc: Likewise.
      	* 22_locale/codecvt/length/wchar_t/7.cc: Likewise.
      	* 22_locale/codecvt/always_noconv/char/1.cc: Likewise.
      	* 22_locale/codecvt/encoding/char/1.cc: Likewise.
      	* 22_locale/codecvt/in/wchar_t/1.cc: Likewise.
      	* 22_locale/codecvt/in/wchar_t/2.cc: Likewise.
      	* 22_locale/codecvt/in/wchar_t/3.cc: Likewise.
      	* 22_locale/codecvt/in/wchar_t/4.cc: Likewise.
      	* 22_locale/codecvt/in/wchar_t/5.cc: Likewise.
      	* 22_locale/codecvt/in/wchar_t/6.cc: Likewise.
      	* 22_locale/codecvt/in/wchar_t/7.cc: Likewise.
      	* 22_locale/codecvt/in/wchar_t/8.cc: Likewise.
      	* 22_locale/codecvt/in/wchar_t/9.cc: Likewise.
      	* 22_locale/codecvt/in/char/1.cc: Likewise.
      	* 22_locale/codecvt/max_length/char/1.cc: Likewise.
      	* 22_locale/codecvt/out/wchar_t/1.cc: Likewise.
      	* 22_locale/codecvt/out/wchar_t/2.cc: Likewise.
      	* 22_locale/codecvt/out/wchar_t/3.cc: Likewise.
      	* 22_locale/codecvt/out/wchar_t/4.cc: Likewise.
      	* 22_locale/codecvt/out/wchar_t/5.cc: Likewise.
      	* 22_locale/codecvt/out/wchar_t/6.cc: Likewise.
      	* 22_locale/codecvt/out/wchar_t/7.cc: Likewise.
      	* 22_locale/codecvt/out/char/1.cc: Likewise.
      	* 22_locale/locale/cons/5.cc: Likewise.
      	* 22_locale/collate_byname/named_equivalence.cc: Likewise.
      
      From-SVN: r124610
      Paolo Carlini committed
    • Daily bump. · 81cfbea3
      From-SVN: r124607
      GCC Administrator committed
  2. 10 May, 2007 14 commits
  3. 09 May, 2007 10 commits
  4. 08 May, 2007 11 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