1. 25 Aug, 2009 1 commit
  2. 24 Aug, 2009 18 commits
    • builtin-math-6.c (link_error): Accept a value number, update all callers and… · bf866c20
      builtin-math-6.c (link_error): Accept a value number, update all callers and synchronize results for latest MPC.
      
      	* gcc.dg/torture/builtin-math-6.c (link_error): Accept a value
      	number, update all callers and synchronize results for latest MPC.
      
      From-SVN: r151065
      Kaveh R. Ghazi committed
    • ia64.c (ia64_promote_function_mode): Call default_promote_function_mode when not VMS. · c3313412
      2009-08-24  Steve Ellcey  <sje@cup.hp.com>
      
      	* config/ia64/ia64.c (ia64_promote_function_mode): Call
      	default_promote_function_mode when not VMS.
      
      From-SVN: r151064
      Steve Ellcey committed
    • cp-tree.h (DECL_DEFERRED_FN): Remove. · 783a452c
      	* cp-tree.h (DECL_DEFERRED_FN): Remove.
      	(struct lang_decl_fn): Remove deferred flag.
      	* class.c (build_clone): Don't set it.
      	* decl2.c (note_vague_linkage_fn): Don't check or set it.
      	(mark_used): Don't check it.
      	* method.c (make_thunk, make_alias_for): Don't set it.
      
      From-SVN: r151063
      Jason Merrill committed
    • * decl2.c (mark_used): Streamline logic. · d9fbd03b
      From-SVN: r151062
      Jason Merrill committed
    • re PR c++/41109 (Argument flagged as unused despite use in sizeof()) · 3146f36f
      	PR c++/41109
      	PR c++/41110
      	PR c++/41134
      	* cp-tree.h (DECL_ODR_USED): New macro.
      	(struct lang_decl_base): Add odr_used flag.
      	* decl.c (duplicate_decls): Propagate it.  Use it for error.
      	* pt.c (register_specialization): Use it for error.
      	* decl2.c (mark_used): Use it as gating flag rather than TREE_USED.
      	(cp_write_global_declarations): Use it for error.
      	(tree_used_ok): Remove.
      	* cp-tree.h: Remove tree_used_ok.
      	* call.c (build_call_a): Don't call it.
      	* init.c (build_offset_ref): Likewise.
      
      From-SVN: r151061
      Jason Merrill committed
    • convert.c (convert_to_integer): Don't assume an input pointer is POINTER_SIZE wide. · c767899e
              * convert.c (convert_to_integer): Don't assume an input pointer is
              POINTER_SIZE wide.  Fetch from the type instead.
      
      From-SVN: r151060
      Olivier Hainque committed
    • Update AC_PREREQ entries to 2.64 · df58e648
      /:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      intl/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libdecnumber/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libiberty/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libjava/classpath/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libjava/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libjava/libltdl/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.  Remove FIXME.
      
      libssp/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libobjc/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libstdc++-v3/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libada/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libgcc/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libgfortran/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      boehm-gc/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      gnattools/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      gcc/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      fixincludes/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libmudflap/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      zlib/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libffi/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libcpp/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libgomp/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      From-SVN: r151059
      Ralf Wildenhues committed
    • stl_algo.h (__unguarded_partition_pivot, [...]): New. · f9590eae
      2009-08-24  Chris Jefferson  <chris@bubblescope.net>
      
      	* include/stl_algo.h (__unguarded_partition_pivot,
      	__move_median_first): New.
      	(__insertion_sort, __unguarded_insertion_sort): Adjust for move-only
      	types.
      	(__unguarded_linear_insert): Assume always inserting value at __last.
      	(__unguarded_partition): Take pivot by reference.
      	(__introsort_loop, __introselect) : Use __unguarded_partition_pivot.
      	* testsuite/25_algorithms/nth_element/moveable.cc : Enable.
      
      From-SVN: r151055
      Chris Jefferson committed
    • gcc.c (standard_exec_prefix_1,standard_exec_prefix_2): Remove. · 2ef4a8e1
      2009-08-24  Rafael Avila de Espindola  <espindola@google.com>
      
      	* gcc.c (standard_exec_prefix_1,standard_exec_prefix_2): Remove.
      	(process_command): Don't search standard_exec_prefix_1 and
      	standard_exec_prefix_2.
      
      From-SVN: r151054
      Rafael Avila de Espindola committed
    • Unified syntax fixes. · c7e9ab97
      2009-08-24  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
             * config/arm/arm.c (output_return_instruction): Handle for
             unified syntax.
      
      From-SVN: r151053
      Ramana Radhakrishnan committed
    • combine cmps with shifts · 3e2d9dcf
      
      2009-08-24  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
             * gcc.target/arm/combine-cmp-shift.c: New test.
      
      2009-08-24  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
             * config/arm/arm.c (arm_select_cc_mode): Handle subreg.
      
      From-SVN: r151050
      Ramana Radhakrishnan committed
    • set predicable attributes. · 54f52b81
      2009-08-24  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
              * config/arm/vfp.md (*arm_movdi_vfp): Mark as predicable. 
              (*arm_movdf_vfp): Likewise.
      
      From-SVN: r151049
      Ramana Radhakrishnan committed
    • Fix Neon ICE. · d44463a9
      2009-08-24  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
              * config/arm/neon.md (vashl<mode>3): Rename from ashl<mode>3.
              (vashr<mode>3): Rename from ashr<mode>3.
              (vlshr<mode>3): Rename from lshr<mode>3.
      
      From-SVN: r151048
      Ramana Radhakrishnan committed
    • Changelog gcc/ · b241b475
      2009-08-24  Kai Tietz  <kai.tietz@onevision.com>
      
      	PR/40786
      	* c-format.c (format_wanted_type):  Add new member scalar_identity_flag.
      	(check_format_info_main): Use scalar_identify_flag.
      	(check_format_types): Check for scalar size identity if
      	scalar_identify_flag is set.
      	(printf_length_specs): Extend by new field.
      	(asm_fprintf_length_specs): Likewise.
      	(gcc_diag_length_specs): Likewise.
      	(scanf_length_specs): Likewise.
      	(strfmon_length_specs): Likewise.
      	(gcc_gfc_length_specs): Likewise.
      	* config/i386/msformat-c.c (ms_printf_length_specs): Likewise.
      	(ms_printf_flag_specs): Likewise.
      	* c-format.h (format_length_info): Add new member scalar_identity_flag.
      
      Changelog gcc/testsuite
      
      2009-08-24  Kai Tietz  <kai.tietz@onevision.com>
      
      	*gcc.dg/format/ms-format1.c: Add new cases for I32
      	width specifier.
      	*gcc.dg/format/ms-format2.c: New test about illegal
      	use of I32/I64 width specifier.
      
      From-SVN: r151047
      Kai Tietz committed
    • re PR fortran/35754 (-std=f95: Reject "1P2E12.4" w/o a comma after the "P") · e523d8bc
      2009-08-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/35754
      	* io.c (check_format): Add checks for comma and the allowed
      	format specifiers after the 'P' specifier. Fix typo in error message
      	and adjust locus.
      
      From-SVN: r151045
      Jerry DeLisle committed
    • fmt_error_7.f: New test. · a14e5b7e
      2009-08-23  Jerry DeLisle   <jvdelisle@gcc.gnu.org>
      
      	* gfortran.dg/fmt_error_7.f: New test.
      
      From-SVN: r151044
      Jerry DeLisle committed
    • re PR fortran/37446 (Diagnostic of edit descriptors, esp. EN) · de1ee8e1
      2009-08-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/37446
      	* io.c (enum format_token): Change FMT_EXT to FMT_EN and FMT_ES.
      	(format_lex): Likewise.
      	(token_to_string): New function.
      	(check_format): Use the new tokens and the new function. Add
      	check for positive width.
      
      From-SVN: r151043
      Jerry DeLisle committed
    • Daily bump. · 28704338
      From-SVN: r151042
      GCC Administrator committed
  3. 23 Aug, 2009 14 commits
  4. 22 Aug, 2009 7 commits
    • t-sh (TARGET_LIBGCC2_CFLAGS): Define. · 79052be3
      	* config/sh/t-sh (TARGET_LIBGCC2_CFLAGS): Define.
      	* config/sh/t-netbsd (TARGET_LIBGCC2_CFLAGS): Add -mieee.
      	* config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
      
      From-SVN: r151017
      Kaz Kojima committed
    • Cleanups after the update to Autoconf 2.64, Automake 1.11. · 70fa0efa
      /:
      	* configure.ac: Remove --with-datarootdir, --with-docdir,
      	--with-pdfdir, --with-htmldir switches.
      	* configure: Regenerate.
      
      gcc/:
      	* configure.ac: Remove --with-datarootdir, --with-docdir,
      	--with-htmldir switches.  No need to call AC_SUBST for
      	datarootdir, docdir, htmldir any more.
      	* configure: Regenerate.
      	* doc/install.texi (Configuration): Document --datarootdir,
      	--docdir, --htmldir, --pdfdir; update documentation for
      	--infodir, --mandir.
      	(Prerequisites): Bump Autoconf version to 2.64, Automake to
      	1.11, M4 to 1.4.6.
      
      libgfortran/:
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      libjava/classpath/:
      	* doc/cp-hacking.texinfo (Needed Tools and Libraries): Bump
      	Autoconf version to 2.64, Automake to 1.11, M4 to 1.4.6.
      
      libjava/:
      	* HACKING: Use aclocal-1.11 and autoconf-2.64 in example.
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      libstdc++-v3/:
      	* doc/xml/manual/build_hacking.xml: Use tools from Autoconf
      	2.64 and Automake 1.11 in examples; update link to Autoconf
      	manual page about quadrigraphs.
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      libssp/:
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      boehm-gc/:
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      libmudflap/:
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      zlib/:
      	* Makefile.am (install-html, install-pdf, html): Remove.
      	* Makefile.in: Regenerate.
      
      libffi/:
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      libgomp/:
      	* Makefile.am (install-html, install-pdf): Remove.
      	* Makefile.in: Regenerate.
      
      From-SVN: r151015
      Ralf Wildenhues committed
    • Regenerate tree using Autoconf 2.64 and Automake 1.11. · 5213506e
      config/:
      	* override.m4 (_GCC_AUTOCONF_VERSION): Bump to 2.64.
      
      :
      	* configure: Regenerate.
      
      intl/:
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      libiberty/:
      	* config.in: Regenerate.
      	* configure: Regenerate.
      
      boehm-gc/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* include/gc_config.h.in: Regenerate.
      
      fixincludes/:
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      gcc/:
      	* aclocal.m4: Regenerate.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      
      libgcc/:
      	* configure: Regenerate.
      
      gnattools/:
      	* configure: Regenerate.
      
      libada/:
      	* configure: Regenerate.
      
      libcpp/:
      	* aclocal.m4: Regenerate.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      
      libdecnumber/:
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      
      libffi/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* fficonfig.h.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* man/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libgfortran/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      
      libgomp/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libjava/classpath/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* doc/Makefile.in: Regenerate.
      	* doc/api/Makefile.in: Regenerate.
      	* examples/Makefile.in: Regenerate.
      	* external/Makefile.in: Regenerate.
      	* external/jsr166/Makefile.in: Regenerate.
      	* external/relaxngDatatype/Makefile.in: Regenerate.
      	* external/sax/Makefile.in: Regenerate.
      	* external/w3c_dom/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* include/config.h.in: Regenerate.
      	* lib/Makefile.in: Regenerate.
      	* native/Makefile.in: Regenerate.
      	* native/fdlibm/Makefile.in: Regenerate.
      	* native/jawt/Makefile.in: Regenerate.
      	* native/jni/Makefile.in: Regenerate.
      	* native/jni/classpath/Makefile.in: Regenerate.
      	* native/jni/gconf-peer/Makefile.in: Regenerate.
      	* native/jni/gstreamer-peer/Makefile.in: Regenerate.
      	* native/jni/gtk-peer/Makefile.in: Regenerate.
      	* native/jni/java-io/Makefile.in: Regenerate.
      	* native/jni/java-lang/Makefile.in: Regenerate.
      	* native/jni/java-math/Makefile.in: Regenerate.
      	* native/jni/java-net/Makefile.in: Regenerate.
      	* native/jni/java-nio/Makefile.in: Regenerate.
      	* native/jni/java-util/Makefile.in: Regenerate.
      	* native/jni/midi-alsa/Makefile.in: Regenerate.
      	* native/jni/midi-dssi/Makefile.in: Regenerate.
      	* native/jni/native-lib/Makefile.in: Regenerate.
      	* native/jni/qt-peer/Makefile.in: Regenerate.
      	* native/jni/xmlj/Makefile.in: Regenerate.
      	* native/plugin/Makefile.in: Regenerate.
      	* resource/Makefile.in: Regenerate.
      	* scripts/Makefile.in: Regenerate.
      	* tools/Makefile.in: Regenerate.
      
      libjava/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* gcj/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* include/config.h.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libjava/libltdl/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config-h.in: Regenerate.
      	* configure: Regenerate.
      
      libmudflap/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libobjc/:
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      libssp/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      
      libstdc++-v3/:
      	* Makefile.in: Regenerate.
      	* acinclude.m4: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* doc/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* libsupc++/Makefile.in: Regenerate.
      	* po/Makefile.in: Regenerate.
      	* python/Makefile.in: Regenerate.
      	* src/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      zlib/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r151014
      Ralf Wildenhues committed
    • LIBTOOLFLAGS, and *_LINK fixes for Automake 1.11 · 84fec8a5
      boehm-gc/:
      	* Makefile.am (LTCOMPILE, LTLINK): Add $(AM_LIBTOOLFLAGS)
      	and $(LIBTOOLFLAGS).
      	* Makefile.in: Regenerate.
      
      libgfortran/:
      	* Makefile.am (libgfortran_la_LINK): Add $(libgfortran_la_LDFLAGS).
      	* Makefile.in: Regenerate.
      
      libjava/:
      	* Makefile.am (libgcj_la_LINK, libgcj_tools_la_LINK)
      	(lib_gnu_awt_xlib_la_LINK, libgcj_bc_la_LINK, jv_convert_LINK)
      	(gcj_dbtool_LINK, gc_analyze_LINK, gij_LINK, ecjx_LINK)
      	(gappletviewer_LINK, gjarsigner_LINK, gkeytool_LINK)
      	(gjar_LINK, gjavah_LINK, gcjh_LINK, gnative2ascii_LINK)
      	(gorbd_LINK, grmid_LINK, gserialver_LINK, gtnameserv_LINK)
      	(grmic_LINK, grmiregistry_LINK, gjdoc_LINK): Add $(gjdoc_LDFLAGS).
      	(GCJLINK, LIBLINK, CXXLINK): Add $(LIBTOOLFLAGS).
      	* Makefile.in: Regenerate.
      
      libstdc++-v3/:
      	* libsupc++/Makefile.am (LTCOMPILE, LTCXXCOMPILE, CXXLINK): Add
      	$(LIBTOOLFLAGS).
      	* libsupc++/Makefile.in: Regenerate.
      	* src/Makefile.am (LTCXXCOMPILE, CXXLINK): Add $(AM_LIBTOOLFLAGS)
      	and $(LIBTOOLFLAGS).
      	* src/Makefile.in: Regenerate.
      
      libgomp/:
      	* Makefile.am (LINK): Add $(AM_LIBTOOLFLAGS) and $(LIBTOOLFLAGS).
      	* Makefile.in: Regenerate.
      
      libobjc/:
      	* Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
      
      From-SVN: r151013
      Ralf Wildenhues committed
    • Update automake-provided files in the toplevel. · 0539cb2c
      /:
      	* compile: Sync from Automake 1.11.
      	* depcomp: Likewise.
      	* install-sh: Likewise.
      	* missing: Likewise.
      	* mkinstalldirs: Likewise.
      	* ylwrap: Likewise.
      
      From-SVN: r151012
      Ralf Wildenhues committed
    • Makefile.in: Add Ada support for GNU/kFreeBSD x86_64. · 92532234
      2009-08-22  Aurelien Jarno  <aurelien@aurel32.net>
      
      	* gcc-interface/Makefile.in: Add Ada support for 
      	GNU/kFreeBSD x86_64.
      	* system-freebsd-x86_64.ads: New file based on 
      	system-freebsd-x86.ads.
      
      From-SVN: r151011
      Aurelien Jarno committed
    • ia64.c: Include libfuncs.h. · f2972bf8
      
      	* config/ia64/ia64.c: Include libfuncs.h.
      	(TARGET_PROMOTE_FUNCITON_MODE): Define target macro.
      	(ia64_expand_call): Use reg 25 on VMS.
      	(ia64_initialize_trampoline): Fix for VMS ABI.
      	(ia64_function_arg_offset): Always returns 0 when TARGET_ABI_OPEN_VMS.
      	(ia64_function_arg): Initialize reg 25 on VMS.
      	Fix OpenVMS ABI issues for varargs.
      	For OpenVMS, emit the Argument Information register set in the
      	incoming/sibcall case as well.
      	(ia64_arg_type): New function.
      	(ia64_function_arg_advance): Keep track of cum->words.
      	Fix OpenVMS ABI issues for varargs.
      	(ia64_function_value): On VMS, promote mode of non-aggregate types.
      	(ia64_override_options): Set flag_no_common on VMS.
      	(ia64_init_builtins): Disable FWRITE builtin.
      	(ia64_asm_output_external): Call DO_CRTL_NAMES.
      	(ia64_vms_init_libfuncs): Add decc$ routines.
      	(ia64_vms_valid_pointer_mode): New function.
      	(ia64_struct_value_rtx): Allways NULL_RTX on VMS.
      	(ia64_promote_function_mode): New function
      	* config/ia64/ia64.h (TARGET_ABI_OPEN_VMS): Define as 0 for default.
      	(LONG_DOUBLE_TYPE_SIZE): Force to 64 on VMS.
      	(LIBCGC2_LONG_DOUBLE_TYPE_SIZE): Likewise.
      	(INIT_CUMULATIVE_ARGS): Add atypes for VMS.
      	(INIT_CUMULATIVE_INCOMING_ARGS): Likewise.
      	(ASM_OUTPUT_DEF): Use ISDIGIT instead of isdigit.
      	Suppress trailing '#' if VALUE is numeric.
      	* config/ia64/vms.h (PROMOTE_FUNCTION_MODE): Remove, code moved to
      	ia64_promote_function_mode.
      	(TARGET_VALID_POINTER_MODE): Define.
      
      
      Co-Authored-By: Olivier Hainque <hainque@adacore.com>
      
      From-SVN: r151009
      Douglas B Rupp committed