aboutsummaryrefslogtreecommitdiff
path: root/libiberty
AgeCommit message (Collapse)Author
2010-02-03 PR c++/4926jason
PR c++/38600 * mangle.c (write_unqualified_id): Split out from write_expression. (write_unqualified_name): Call it. (write_member_name): Likewise. (write_expression): Support TEMPLATE_ID_EXPR. Disambiguate operator names. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156482 138bc75d-0d04-0410-961f-82ee72b054a4
2010-02-03 PR c++/12909jason
* mangle.c (write_type) [VECTOR_TYPE]: Change mangling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156481 138bc75d-0d04-0410-961f-82ee72b054a4
2010-01-26 * cp-demangle.c (cplus_demangle_type): Check for invalid typeian
after "DF". * testsuite/demangle-expected: Add test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156226 138bc75d-0d04-0410-961f-82ee72b054a4
2010-01-21 PR c++/42338jason
* mangle.c (write_expression): Handle tree codes that have extra arguments in the middle-end. * cp-demangle.c (d_print_comp): Fix array index printing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156103 138bc75d-0d04-0410-961f-82ee72b054a4
2010-01-11include/gingold
2010-01-11 Tristan Gingold <gingold@adacore.com> * demangle.h (ada_demangle): Add prototype. libiberty/ 2010-01-11 Tristan Gingold <gingold@adacore.com> * cplus-dem.c (ada_demangle): Remove prototype. (grow_vect): Removed. (ada_demangle): Rewritten. (cplus_demangle): Fix indentation. * testsuite/demangle-expected: Add tests for Ada. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155804 138bc75d-0d04-0410-961f-82ee72b054a4
2010-01-10Return dgs.alc on successhjl
libiberty/ 2010-01-09 Ian Lance Taylor <iant@google.com> PR other/42230 * cp-demangle.c (d_demangle): Return dgs.alc on success. libstdc++-v3/ 2010-01-09 H.J. Lu <hongjiu.lu@intel.com> PR other/42230 * testsuite/abi/pr42230.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155785 138bc75d-0d04-0410-961f-82ee72b054a4
2010-01-04 PR target/42316kkojima
* configure.ac (PICFLAG): Use -fPIC on SH hosts. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155634 138bc75d-0d04-0410-961f-82ee72b054a4
2009-12-08 * pex-unix.c (pex_unix_exec_child): Save/restore environ.devans
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155079 138bc75d-0d04-0410-961f-82ee72b054a4
2009-11-25 * configure.ac (AC_CHECK_FUNCS): Sort into alphabetical order.bje
* configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154660 138bc75d-0d04-0410-961f-82ee72b054a4
2009-11-25 * functions.texi: Rebuild.bje
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154546 138bc75d-0d04-0410-961f-82ee72b054a4
2009-11-25 * README: Mention changes to Makefile.in and functions.texi.bje
* gather-docs: Mention 'make stamp-functions' in the header. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154545 138bc75d-0d04-0410-961f-82ee72b054a4
2009-11-23 * pex-unix.c (pex_child_error): Improve warning avoidance bybje
checking the results of write(3) and exiting with -2 if any write returns a negative value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154431 138bc75d-0d04-0410-961f-82ee72b054a4
2009-11-222009-11-22 Steve Ward <planet36@gmail.com>redi
* dyn-string.c (dyn_string_append_char): Fix typo in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154425 138bc75d-0d04-0410-961f-82ee72b054a4
2009-11-19 * pex-unix.c (pex_child_error): Define writeerr macro to avoidbje
unused result warnings from write(3) calls. Undefine writeerr after all uses. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154344 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-082009-10-08 Daniel Gutson <dgutson@codesourcery.com>dgutson
Daniel Jacobowitz <dan@codesourcery.com> Pedro Alves <pedro@codesourcery.com> libiberty/ * argv.c (consume_whitespace): New function. (only_whitespace): New function. (buildargv): Always use ISSPACE by calling consume_whitespace. (expandargv): Skip empty files. Do not stop at the first empty argument (calling only_whitespace).. * testsuite/test-expandargv.c: (test_data): Test empty lines and empty arguments. (run_tests): Fix false positives due to shorter arguments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152560 138bc75d-0d04-0410-961f-82ee72b054a4
2009-10-012009-09-30 Martin Thuresson <martint@google.com>nvachhar
* regex.c (byte_re_match_2_internal): Split declaration and assignment to avoid -Wc++-compat warning due to goto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152354 138bc75d-0d04-0410-961f-82ee72b054a4
2009-09-30merge in cxx0x-lambdas-branch@152308jason
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152318 138bc75d-0d04-0410-961f-82ee72b054a4
2009-09-23(Fix missing space).gingold
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152062 138bc75d-0d04-0410-961f-82ee72b054a4
2009-09-232009-09-23 Matthew Gingell <gingell@adacore.com>gingold
* cplus-dem.c (ada_demangle): Ensure demangled is freed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152060 138bc75d-0d04-0410-961f-82ee72b054a4
2009-09-222009-09-22 Ozkan Sezer <sezeroz@gmail.com>ktietz
* choose-temp.c: Include unistd.h for mingw targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152029 138bc75d-0d04-0410-961f-82ee72b054a4
2009-09-16 * hashtab.c [HAVE_INTTYPES_H]: Include <inttypes.h>.ro
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151739 138bc75d-0d04-0410-961f-82ee72b054a4
2009-09-152009-09-15 Tristan Gingold <gingold@adacore.com>gingold
* config.h-vms (intptr_t): Define to compile hashtab.c git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151716 138bc75d-0d04-0410-961f-82ee72b054a4
2009-09-042009-09-04 Ozkan Sezer <sezeroz@gmail.com>hjl
PR target/39065 * configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T. * config.in: Regenerated. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151423 138bc75d-0d04-0410-961f-82ee72b054a4
2009-09-032009-09-03 Ozkan Sezer <sezeroz@gmail.com>hjl
PR target/39065 * configure.ac: Also check for intptr_t. * config.h.in: Regenerated. * configure: Regenerated. * hashtab.c (hash_pointer): Cast the pointer argument to intptr_t instead of of long. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151386 138bc75d-0d04-0410-961f-82ee72b054a4
2009-09-02(Reflect changes from binutils):gingold
2009-09-02 Tristan Gingold <gingold@adacore.com> * vmsbuild.com: Removed as unused and superceeded by makefile.vms. * makefile.vms: Ported to Itanium VMS. Remove useless targets and dependencies. Remove unused FORMAT variable. * configure.com: New file to create build.com DCL script for Itanium VMS or Alpha VMS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151333 138bc75d-0d04-0410-961f-82ee72b054a4
2009-08-24Update AC_PREREQ entries to 2.64rwild
/: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151059 138bc75d-0d04-0410-961f-82ee72b054a4
2009-08-232009-08-23 H.J. Lu <hongjiu.lu@intel.com>hjl
PR ld/10536 * Makefile.in (install-html-recursive): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151037 138bc75d-0d04-0410-961f-82ee72b054a4
2009-08-22Regenerate tree using Autoconf 2.64 and Automake 1.11.rwild
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151014 138bc75d-0d04-0410-961f-82ee72b054a4
2009-07-30fixincludes/rwild
* Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS): New variables. ($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4): Use them. gcc/ * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps): New variables. ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules. (AUTOHEADER): New variable. ($(srcdir)/cstamp-h.in): Use it. gnattools/ * Makefile.in (AUTOCONF, configure_deps): New variables. ($(srcdir)/configure): Use them. libada/ * Makefile.in (AUTOCONF, configure_deps): New variables. ($(srcdir)/configure)): Use them. Also depend on multi.m4. libgcc/ * configure.ac: Add snippet for maintainer-mode. * configure: Regenerate. * Makefile.in (AUTOCONF, configure_deps): New variables. ($(srcdir)/configure)): New rule, active only with maintainer mode turned on. libiberty/ * Makefile.in (AUTOCONF, configure_deps): New variables. ($(srcdir)/configure): New rule, active only in maintainer mode. libobjc/ * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps): New variables. ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules. intl/ * Makefile.in (aclocal_deps): New variable. ($(srcdir)/aclocal.m4): Use it, for portable makefile syntax. libdecnumber/ * Makefile.in (aclocal_deps): New variable. ($(srcdir)/aclocal.m4): Use it, for portable makefile syntax. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150277 138bc75d-0d04-0410-961f-82ee72b054a4
2009-07-29 * make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS.rupp
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150221 138bc75d-0d04-0410-961f-82ee72b054a4
2009-07-27 * pex-unix.c (vfork): Remove VMS specific definition (get from headerrupp
file instead). (to_ptr32): New function. (pex_unix_exec_child): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150130 138bc75d-0d04-0410-961f-82ee72b054a4
2009-07-25include/:ian
PR bootstrap/40854 * libiberty.h (xcrc32): Rename from crc32. libiberty/: PR bootstrap/40854 * crc32.c (xcrc32): Rename from crc32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150075 138bc75d-0d04-0410-961f-82ee72b054a4
2009-07-24libiberty/:ian
* crc32.c: New file. * Makefile.in: Rebuild dependencies. (CFILES): Add crc32.c. (REQUIRED_OFILES): Add ./crc32.o. * functions.texi: Rebuild. include/: * libiberty.h (crc32): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150067 138bc75d-0d04-0410-961f-82ee72b054a4
2009-07-17includetromey
2009-07-17 Jan Kratochvil <jan.kratochvil@redhat.com> * demangle.h (enum demangle_component_type <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>) (enum demangle_component_type <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS>): New. libiberty 2009-07-17 Jan Kratochvil <jan.kratochvil@redhat.com> * cp-demangle.c (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>) (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New. (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>) (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New. (d_demangle_callback): The variable type is now declared as enum. Replace parser of _GLOBAL_ symbols by a d_make_comp call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149756 138bc75d-0d04-0410-961f-82ee72b054a4
2009-06-21 * hashtab.c (htab_traverse): Don't call htab_expand forjakub
nearly empty hashtabs with sizes 7, 13 or 31. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148759 138bc75d-0d04-0410-961f-82ee72b054a4
2009-06-16 PR 10197nickc
* testsuite/test-demangle.c: Rename getline to get_line to avoid conflicts with system function of the same name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148526 138bc75d-0d04-0410-961f-82ee72b054a4
2009-05-30* snprintf.c: Doc fix.dj
* vsnprintf.c: Doc fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147998 138bc75d-0d04-0410-961f-82ee72b054a4
2009-05-292009-05-29 Kai Tietz <kai.tietz@onevision.com>ktietz
* pex-win32.c (pex_win32_fdopenr): Set INHERIT to false. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147984 138bc75d-0d04-0410-961f-82ee72b054a4
2009-05-29 * fibheap.c (fibheap_replace_key_data): Make sure we don't earlymatz
out when forcing the minimum. (fibheap_delete_node): Assert that we managed to force the minimum. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147968 138bc75d-0d04-0410-961f-82ee72b054a4
2009-05-252009-05-25 Tristan Gingold <gingold@adacore.com>gingold
* makefile.vms: New file to compile gas on VMS. * configure.com: New file to do configuration on VMS with DCL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147847 138bc75d-0d04-0410-961f-82ee72b054a4
2009-05-19 * cp-demangle.c (cplus_demangle_fill_ctor): Fix logic bug.bje
(cplus_demangle_fill_dtor): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147699 138bc75d-0d04-0410-961f-82ee72b054a4
2009-05-17 libiberty/jules
* pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing standard handles (stdin, stdout, stderr) in parent. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147634 138bc75d-0d04-0410-961f-82ee72b054a4
2009-04-29 * pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT. jules
(pex_win32_exec_child): Ensure each process has only one handle open on pipe endpoints. Close standard input after creating child for symmetry with standard output/standard error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146953 138bc75d-0d04-0410-961f-82ee72b054a4
2009-04-26* Makefile.in (needed-list): Target removed (not used in GCCdj
3.0 and later). All references deleted. (mostlyclean): Remove references to needed.awk and needed2.awk. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146793 138bc75d-0d04-0410-961f-82ee72b054a4
2009-04-14* configure.ac (setobjs, msdosdjgpp): Move a-priori setting ofdj
existing and required library functions to with_target_subdir section, so that the native build does detect them at configure time. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146056 138bc75d-0d04-0410-961f-82ee72b054a4
2009-04-132009-04-13 Ozkan Sezer <sezeroz@gmail.com>ktietz
PR target/39397 * pex-common.h (struct pex_obj): Store pid values as pid_t, not as long (members *children and (*wait)) * pex-common.c (pex_run_in_environment): Likewise. * pex-win32.c (pex_win32_wait): Return pid_t and properly check returned pid value. * pex-djgpp.c (pex_djgpp_wait): Return pid_t. * pex-msdos.c (pex_msdos_wait): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146001 138bc75d-0d04-0410-961f-82ee72b054a4
2009-04-082009-04-07 Arnaud Patard <apatard@mandriva.com>bonzini
* libiberty/configure.ac: Fix Linux/MIPS matching rule. * libiberty/configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145726 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-27 * memmem.c: New file, from gnulib.ian
* configure.ac: Add memmem to list of functions provided if they are not available on the host. * Makefile.in: Rebuild dependencies. (CFILES): Add memmem.c. (CONFIGURED_OFILES): Add memmem.o. * configure, config.in, functions.texi: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145139 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-23 * gcc/cp/pt.c (make_fnparm_pack): Split out from...jason
(instantiate_decl): ...here. (tsubst_pack_expansion): Handle being called in a late-specified return type. * libiberty/cp-demangle.c (d_expression): Handle pack expansion. (d_find_pack): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM. (d_print_subexpr): Don't wrap function parms in (). (d_print_comp) [DEMANGLE_COMPONENT_PACK_EXPANSION]: Handle not finding a pack. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145013 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-17 cp/:jason
* decl.c (grokfndecl): Set DECL_CONTEXT on parms. (duplicate_decls): Adjust DECL_CONTEXT of newdecl's parms. * pt.c (check_explicit_specialization): Likewise. (tsubst_copy) [PARM_DECL]: Return a dummy parm if we don't have a local specialization. * tree.c (cp_tree_equal) [PARM_DECL]: Check type and index, not name. * decl2.c (parm_index): New fn. * semantics.c (finish_decltype_type): Don't use describable_type. * mangle.c (write_expression): Likewise. Mangle ALIGNOF_EXPR. Give a sorry for unsupported codes rather than crash. Mangle conversions with other than 1 operand. New mangling for PARM_DECL. * operators.def (ALIGNOF_EXPR): Mangle as az. * include/demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_FUNCTION_PARAM. * libiberty/cp-demangle.c (d_make_function_param): new fn. (cplus_demangle_mangled_name): Work around abi v2 bug. (d_expr_primary): Likewise. (cplus_demangle_operators): Add alignof ops. (d_expression): Handle function parameters and conversions with other than 1 operand. (d_print_comp): Handle function parameters. Fix bug with function used in type of function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144924 138bc75d-0d04-0410-961f-82ee72b054a4