summaryrefslogtreecommitdiff
path: root/libiberty
Commit message (Collapse)AuthorAgeFilesLines
...
* libiberty/jules2009-05-172-8/+14
| | | | | | | | | * 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
* * pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT. jules2009-04-292-6/+35
| | | | | | | | | | (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
* * Makefile.in (needed-list): Target removed (not used in GCCdj2009-04-262-19/+9
| | | | | | | | 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
* * configure.ac (setobjs, msdosdjgpp): Move a-priori setting ofdj2009-04-143-37/+83
| | | | | | | | | | 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-13 Ozkan Sezer <sezeroz@gmail.com>ktietz2009-04-136-12/+23
| | | | | | | | | | | | | | | 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-07 Arnaud Patard <apatard@mandriva.com>bonzini2009-04-083-2/+7
| | | | | | | | | * 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
* * memmem.c: New file, from gnulib.ian2009-03-277-8/+109
| | | | | | | | | | | | * 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
* * gcc/cp/pt.c (make_fnparm_pack): Split out from...jason2009-03-233-6/+36
| | | | | | | | | | | | | | (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
* cp/:jason2009-03-173-15/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * make-temp-file.c (<windows.h>): Include on Windows.mmitchel2009-02-222-31/+61
| | | | | | | (choose_tmpdir): On Windows, use GetTempPath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144375 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,davek2009-01-183-53/+6
| | | | | | | | | as it no longer shares libiberty object files. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143487 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c (d_expression): Remove mangling for zero-op casts.jason2009-01-072-12/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143161 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c (cplus_demangle_type): Return NULL if thebje2009-01-052-0/+8
| | | | | | | character following a 'D' cannot be recognised. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143098 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/38561jason2008-12-182-11/+20
| | | | | | | | * cp-demangle.c (d_expression, d_print_comp): Revert cast changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142814 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/cp:jason2008-12-172-15/+26
| | | | | | | | | | | | | | | | | | | | | | | | * semantics.c (describable_type): New function. (finish_decltype_type): Use it for dependent exprs. * cp-tree.h: Declare it. * mangle.c (write_type) [DECLTYPE_TYPE]: Set skip_evaluation. (write_expression): If skip_evaluation, use type stubs. * tree.c (cp_tree_equal): Handle PARM_DECLs from different declarations of a function. * init.c (build_new): Do auto deduction if type is describable. * decl.c (cp_finish_decl): Likewise. * parser.c (cp_parser_omp_for_loop): Likewise. gcc/testsuite: * g++.dg/cpp0x/auto6.C: Test more stuff. * g++.dg/cpp0x/auto12.C: New test. libiberty: * cp-demangle.c (d_expression): Handle rvalue stubs too. [DEMANGLE_COMPONENT_CAST]: Update mangling. (d_print_comp): Avoid extra ", " with empty template argument packs. Remove handling for obsolete T() mangling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142799 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/35319jason2008-12-102-0/+37
| | | | | | | | | | | * mangle.c (write_builtin_type): Add mangling for decimal floating point and fixed point types. (write_type): Pass FIXED_POINT_TYPE along. * cp-demangle.c (cplus_demangle_type): Support fixed-point types. (d_print_comp, d_dump): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142661 138bc75d-0d04-0410-961f-82ee72b054a4
* ./drow2008-10-222-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | PR gdb/921 PR gdb/1646 PR gdb/2175 PR gdb/2176 * Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS. * Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS. (EXTRA_BUILD_FLAGS): Correct typo. Pass CPPFLAGS. (HOST_EXPORTS): Pass CPPFLAGS. (CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define. (LDFLAGS_FOR_TARGET): Initialize from configure script. (EXTRA_TARGET_FLAGS): Set CPPFLAGS. * Makefile.in, configure: Regenerated. * configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET, and CPPFLAGS_FOR_BUILD. libiberty/ * Makefile.in (CPPFLAGS): Define. (FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141292 138bc75d-0d04-0410-961f-82ee72b054a4
* fix ChangeLog entry to mention correct PR numberbonzini2008-10-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141136 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-10-15 Paolo Bonzini <bonzini@gnu.org>bonzini2008-10-152-5/+10
| | | | | | | | | | PR bootstrap/37717 * Makefile.in (LIBCFLAGS): Remove. (FLAGS_TO_PASS): Don't mention it. (COMPILE.c, MULTIOSDIR): Replace it with CFLAGS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141135 138bc75d-0d04-0410-961f-82ee72b054a4
* * xstrdup.c: Include <sys/types.h> after "config.h"dje2008-10-082-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140979 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>hjl2008-10-074-1/+379
| | | | | | | | | * configure.ac: Call AC_SYS_LARGEFILE. * config.in: Regenerated. * configure: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140940 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/cp/:jason2008-10-064-88/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR c++/37376, other mangling issues * mangle.c (write_type): Update TYPE_PACK_EXPANSION mangling. (write_member_name): Break out from... (write_expression): ...here. Handle dependent COMPONENT_REF. (write_template_arg): Wrap an argument pack in 'I'/'E'. (write_builtin_type): Update char16/32_t mangling. (write_nested_name, write_prefix): Don't forget template args for typename types. * operators.def: Add ARROW_EXPR, update COMPONENT_REF and EXPR_PACK_EXPANSION. libstdc++-v3/: * config/abi/pre/gnu.ver: Update char16/32_t manglings. include/: * demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_PACK_EXPANSION. libiberty/: * cp-demangle.c (struct d_print_info): Add pack_index. (d_dump): Add DEMANGLE_COMPONENT_PACK_EXPANSION. (d_make_comp): Likewise. DEMANGLE_COMPONENT_ARGLIST and DEMANGLE_COMPONENT_TEMPLATE_ARGLIST can have two null args. (cplus_demangle_builtin_types): Add char16/32_t. (cplus_demangle_type): Recognize them. (d_template_args): Handle empty argument packs. (d_template_arg): Handle argument packs. (d_expression): Handle dependent name. (d_index_template_argument): New fn. (d_lookup_template_argument): New fn. (d_find_pack, d_pack_length): New fn. (d_print_subexpr): Split out... (d_print_comp): ...from here. Use d_*_template_argument. Handle empty arg lists. Support pack expansions. * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increase to 32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140916 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/demangle.h (enum demangle_component_type): Addjason2008-09-093-9/+153
| | | | | | | | | | | | | | | | DEMANGLE_COMPONENT_DECLTYPE. * libiberty/cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DECLTYPE. (d_make_comp): Likewise. (cplus_demangle_type): Handle decltype and DFP types. (cplus_demangle_operators): Call operator takes 2 args. (cplus_demangle_builtin_types): Add DFP types. (d_exprlist): New fn. (d_expression): Handle parm placeholders, T() and calls. (d_print_comp): Handle decltype, T() and calls. * libiberty/testsuite/demangle-expected: Test the above. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140162 138bc75d-0d04-0410-961f-82ee72b054a4
* Convert ChangeLog files to UTF-8.jakub2008-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Command used: LC_ALL=C sed -i \ -e 's/D\(o\|\xf6\)nmez/D\xc3\xb6nmez/' \ -e 's/\(Av\|\x81\xc1v\|\xc1v\|\xef\xbf\xbdv\?\|\x81\xc3\x81v\|\xc3v\)ila/\xc3\x81vila/' \ -e 's/Esp\(in\|\x81\xedn\|\xedn\|\xef\xbf\xbdn\?\|\xef\xbf\xbd\xadn\|\x81\xc3\xadn\)dola/Esp\xc3\xadndola/' \ -e 's/Schl\(u\|\xef\xbf\xbd\|\xfcu\?\|\x81\xfc\|\x81\xc3\xbc\|\xc3\xaf\xc2\xbf\xc2\xbd\|\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xc2\xbc\)ter/Schl\xc3\xbcter/' \ -e 's/Humi\(e\|\xe8\)res/Humi\xc3\xa8res/' \ -e 's/L\(ow\|\xc3\xaf\xc2\xbf\xc2\xbd\|oew\|\xf6w\)is/L\xc3\xb6wis/' \ -e 's/G\xfctlein/G\xc3\xbctlein/' \ -e 's/G\xe1[b]or/G\xc3\xa1bor/' \ -e 's/L\xf3ki/L\xc3\xb3ki/' \ -e 's/Fautr\xc3 /Fautr\xc3\xa9 /' \ -e 's/S\xe9[b]astian/S\xc3\xa9bastian/' \ -e 's/Th\xef\xbf\xbd[d]ore/Th\xc3\xa9odore/' \ -e 's/Cors\xc3\xc2\xa9pius/Cors\xc3\xa9pius/' \ -e 's/K\xfchl/K\xc3\xbchl/' \ -e 's/R\xf6nnerup/R\xc3\xb6nnerup/' \ -e 's/L\xf8vset/L\xc3\xb8vset/' \ -e 's/Ph\x81\xfb\x81\xf4ng-Th\x81\xe5o/Ph\xc3\xbb\xc3\xb4ng-Th\xc3\xa5o/' \ -e 's/V\x81\xf5/V\xc3\xb5/' \ -e 's/J\xf6nsson/J\xc3\xb6nsson/' \ -e 's/V\xef\xbf\xbdis\xef\xbf\xbdnen/V\xc3\xa4is\xc3\xa4nen/' \ -e 's/J\xef\xbf\xbdrg/J\xc3\xb6rg/' \ -e 's/M\xef\xbf\xbdsli/M\xc3\xb6sli/' \ -e 's/R\xe4ty/R\xc3\xa4ty/' \ -e 's/2003\xc2\xad-/2003-/' \ -e 's/\xc2\xa0/ /g' \ -e 's/ \xa0/ /g' \ -e 's/\xa0 //' \ `find . -name \*ChangeLog\* | grep -v /.svn` git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140033 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-08-07 Aaron W. LaFramboise <aaronavay62@aaronwl.com>aaronwl2008-08-072-2/+40
| | | | | | | | * pex-win32.c (argv_to_argc): New function. (spawn_script): Duplicate argv before calling win32_spawn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138849 138bc75d-0d04-0410-961f-82ee72b054a4
* * mkstemps.c (mkstemps): Keep looping even for EISDIR.jakub2008-07-312-1/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138436 138bc75d-0d04-0410-961f-82ee72b054a4
* * mkstemps.c (mkstemps): If open failed with errno other thanjakub2008-07-313-4/+19
| | | | | | | | | | EEXIST, return immediately. * make-temp-file.c: Include errno.h. (make_temp_file): If mkstemps failed, print an error message before aborting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138429 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ada/rwild2008-07-301-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR documentation/15479 * gnat-style.texi: Remove AdaCore copyright statement and GPL statement for GNAT. Add @copying stanza, use it. Update to GFDL 1.2. Do not list GFDL as Invariant Section, do not list title as Front-Cover Text. * gnat_rm.texi: Likewise. * gnat_ugn.texi: Likewise. gcc/ * doc/cpp.texi: Update to GFDL 1.2. * doc/gcc.texi: Do not list GPL as Invariant Section. * doc/gccint.texi: Likewise. Update copyright years. * doc/install.texi: Update copyright years. gcc/fortran/ * gfc-internals.texi: Update to GFDL 1.2. Do not list GPL as Invariant Section. * gfortran.texi: Likewise. * intrinsic.texi: Do not list GPL as Invariant Section. * invoke.texi: Likewise. Update copyright years. gcc/java/ * gcj.texi: Update copyright years. Do not list GPL as Invariant Section. libgomp/ * libgomp.texi: Update to GFDL 1.2. Update copyright years. Do not list GPL as Invariant Section. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138293 138bc75d-0d04-0410-961f-82ee72b054a4
* libiberty/rwild2008-07-243-75/+86
| | | | | | | | | | * maint-tool (deps): Output config.h instead of stamp-h. * Makefile.in: Rebuild deps. (maintainer-clean-subdir): Depend on stamp-h rather than config.h. Reverts 2007-07-11 change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138110 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-06-19 Eric Blake <ebb9@byu.net>ericb2008-06-192-19/+26
| | | | | | | | | Adjust strsignal to POSIX 200x prototype. * strsignal.c (strsignal): Remove const. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136949 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.tpl ($(srcdir)/configure): Update dependencies.rwild2008-06-172-15/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Regenerate. * configure: Regenerate. config/ * override.m4: Use m4_version_prereq throughout. (_AC_ARG_VAR_VALIDATE, AC_MSG_FAILURE): Backport from git Autoconf: output pwd along with fatal errors, so the right config.log file is hinted at more prominently. (PARSE_ARGS): Push setting of ac_pwd in this diversion. (_GCC_AUTOCONF_VERSION): New, define to 2.59 if not defined. (_GCC_AUTOCONF_VERSION_CHECK): New macro, require use of Autoconf version _GCC_AUTOCONF_VERSION throughout the tree. (m4_wrap): New override, fix for Posix semantics of m4wrap. libgcc/ * configure.ac: sinclude override.m4. * configure: Regenerate. gnattools/ * configure.ac: move sinclude of acx.m4 before AC_INIT, also sinclude override.m4. * Makefile.in ($(srcdir)/configure): Update dependencies. * configure: Regenerate. libada/ * configure.ac: move sinclude of acx.m4 before AC_INIT, also sinclude override.m4. * Makefile.in ($(srcdir)/configure): Update dependencies. * configure: Regenerate. intl/ * configure: Regenerate. libiberty/ * configure: Regenerate. boehm-gc/ * Makefile.in: Regenerate. * configure: Regenerate. * include/Makefile.in: Regenerate. * include/gc_config.h.in: Regenerate. fixincludes/ * configure: Regenerate. gcc/ * configure: Regenerate. libcpp/ * Makefile.in ($(srcdir)/aclocal.m4): Update dependencies. * configure: Regenerate. libdecnumber/ * Makefile.in ($(srcdir)/aclocal.m4): Update dependencies. * configure: Regenerate. libffi/ * configure: Regenerate. * include/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. libgfortran/ * configure: Regenerate. libgomp/ * configure: Regenerate. libjava/classpath/ * Makefile.in: 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. * 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-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/ * configure: Regenerate. * gcj/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. libjava/libltdl/ * Makefile.in: Regenerate. * configure: Regenerate. libmudflap/ * Makefile.in: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. * testsuite/Makefile.in: Regenerate. libobjc/ * configure: Regenerate. libssp/ * Makefile.in: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. libstdc++-v3/ * configure: Regenerate. zlib/ * Makefile.in: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136876 138bc75d-0d04-0410-961f-82ee72b054a4
* libgomp/rwild2008-06-153-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libgomp.texi (omp_test_lock): Fix typo. gcc/ * doc/sourcebuild.texi (Config Fragments): Remove obsolete FIXME note about gcc/config.guess. * doc/options.texi (Option file format): Remove non-ASCII bytes. * doc/cpp.texi: Expand TABs, drop indentation outside examples. * doc/cppopts.texi: Likewise. * doc/extend.texi: Likewise. * doc/gcc.texi: Likewise. * doc/gccint.texi: Likewise. * doc/gcov.texi: Likewise. * doc/gty.texi: Likewise. * doc/hostconfig.texi: Likewise. * doc/install.texi: Likewise. * doc/invoke.texi: Likewise. * doc/loop.texi: Likewise. * doc/makefile.texi: Likewise. * doc/md.texi: Likewise. * doc/passes.texi: Likewise. * doc/tm.texi: Likewise. * doc/tree-ssa.texi: Likewise. * doc/trouble.texi: Likewise. libiberty/ * libiberty.texi: Expand TABs, drop indentation outside examples. * obstacks.texi: Likewise. gcc/fortran/ * gfc-internals.texi: Expand TABs, drop indentation outside examples. * gfortran.texi: Likewise. * intrinsic.texi: Likewise. * invoke.texi: Likewise. gcc/java/ * gcj.texi: Expand TABs, remove whitespace from blank lines. gcc/ada/ * gnat_rm.texi (Implementation Defined Characteristics) (Standard Library Routines): Use @smallexample for indented text. Drop Indentation outside examples. * gnat_ugn.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136802 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-04-21 Aurelien Jarno <aurelien@aurel32.net>doko2008-04-213-0/+7
| | | | | | | | * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts. * libiberty/configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134534 138bc75d-0d04-0410-961f-82ee72b054a4
* libcpp/ChangeLog:jason2008-04-182-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-14 Kris Van Hees <kris.van.hees@oracle.com> * include/cpp-id-data.h (UC): Was U, conflicts with U... literal. * include/cpplib.h (CHAR16, CHAR32, STRING16, STRING32): New tokens. (struct cpp_options): Added uliterals. (cpp_interpret_string): Update prototype. (cpp_interpret_string_notranslate): Idem. * charset.c (init_iconv_desc): New width member in cset_converter. (cpp_init_iconv): Add support for char{16,32}_cset_desc. (convert_ucn): Idem. (emit_numeric_escape): Idem. (convert_hex): Idem. (convert_oct): Idem. (convert_escape): Idem. (converter_for_type): New function. (cpp_interpret_string): Use converter_for_type, support u and U prefix. (cpp_interpret_string_notranslate): Match changed prototype. (wide_str_to_charconst): Use converter_for_type. (cpp_interpret_charconst): Add support for CPP_CHAR{16,32}. * directives.c (linemarker_dir): Macro U changed to UC. (parse_include): Idem. (register_pragma_1): Idem. (restore_registered_pragmas): Idem. (get__Pragma_string): Support CPP_STRING{16,32}. * expr.c (eval_token): Support CPP_CHAR{16,32}. * init.c (struct lang_flags): Added uliterals. (lang_defaults): Idem. * internal.h (struct cset_converter) <width>: New field. (struct cpp_reader) <char16_cset_desc>: Idem. (struct cpp_reader) <char32_cset_desc>: Idem. * lex.c (digraph_spellings): Macro U changed to UC. (OP, TK): Idem. (lex_string): Add support for u'...', U'...', u... and U.... (_cpp_lex_direct): Idem. * macro.c (_cpp_builtin_macro_text): Macro U changed to UC. (stringify_arg): Support CPP_CHAR{16,32} and CPP_STRING{16,32}. gcc/ChangeLog: 2008-04-14 Kris Van Hees <kris.van.hees@oracle.com> * c-common.c (CHAR16_TYPE, CHAR32_TYPE): New macros. (fname_as_string): Match updated cpp_interpret_string prototype. (fix_string_type): Support char16_t* and char32_t*. (c_common_nodes_and_builtins): Add char16_t and char32_t (and derivative) nodes. Register as builtin if C++0x. (c_parse_error): Support CPP_CHAR{16,32}. * c-common.h (RID_CHAR16, RID_CHAR32): New elements. (enum c_tree_index) <CTI_CHAR16_TYPE, CTI_SIGNED_CHAR16_TYPE, CTI_UNSIGNED_CHAR16_TYPE, CTI_CHAR32_TYPE, CTI_SIGNED_CHAR32_TYPE, CTI_UNSIGNED_CHAR32_TYPE, CTI_CHAR16_ARRAY_TYPE, CTI_CHAR32_ARRAY_TYPE>: New elements. (char16_type_node, signed_char16_type_node, unsigned_char16_type_node, char32_type_node, signed_char32_type_node, char16_array_type_node, char32_array_type_node): New defines. * c-lex.c (cb_ident): Match updated cpp_interpret_string prototype. (c_lex_with_flags): Support CPP_CHAR{16,32} and CPP_STRING{16,32}. (lex_string): Support CPP_STRING{16,32}, match updated cpp_interpret_string and cpp_interpret_string_notranslate prototypes. (lex_charconst): Support CPP_CHAR{16,32}. * c-parser.c (c_parser_postfix_expression): Support CPP_CHAR{16,32} and CPP_STRING{16,32}. gcc/cp/ChangeLog: 2008-04-14 Kris Van Hees <kris.van.hees@oracle.com> * cvt.c (type_promotes_to): Support char16_t and char32_t. * decl.c (grokdeclarator): Disallow signed/unsigned/short/long on char16_t and char32_t. * lex.c (reswords): Add char16_t and char32_t (for c++0x). * mangle.c (write_builtin_type): Mangle char16_t/char32_t as vendor extended builtin type u8char32_t. * parser.c (cp_lexer_next_token_is_decl_specifier_keyword): Support RID_CHAR{16,32}. (cp_lexer_print_token): Support CPP_STRING{16,32}. (cp_parser_is_string_literal): Idem. (cp_parser_string_literal): Idem. (cp_parser_primary_expression): Support CPP_CHAR{16,32} and CPP_STRING{16,32}. (cp_parser_simple_type_specifier): Support RID_CHAR{16,32}. * tree.c (char_type_p): Support char16_t and char32_t as char types. * typeck.c (string_conv_p): Support char16_t and char32_t. gcc/testsuite/ChangeLog: 2008-04-14 Kris Van Hees <kris.van.hees@oracle.com> Tests for char16_t and char32_t support. * g++.dg/ext/utf-cvt.C: New * g++.dg/ext/utf-cxx0x.C: New * g++.dg/ext/utf-cxx98.C: New * g++.dg/ext/utf-dflt.C: New * g++.dg/ext/utf-gnuxx0x.C: New * g++.dg/ext/utf-gnuxx98.C: New * g++.dg/ext/utf-mangle.C: New * g++.dg/ext/utf-typedef-cxx0x.C: New * g++.dg/ext/utf-typedef- * g++.dg/ext/utf-typespec.C: New * g++.dg/ext/utf16-1.C: New * g++.dg/ext/utf16-2.C: New * g++.dg/ext/utf16-3.C: New * g++.dg/ext/utf16-4.C: New * g++.dg/ext/utf32-1.C: New * g++.dg/ext/utf32-2.C: New * g++.dg/ext/utf32-3.C: New * g++.dg/ext/utf32-4.C: New * gcc.dg/utf-cvt.c: New * gcc.dg/utf-dflt.c: New * gcc.dg/utf16-1.c: New * gcc.dg/utf16-2.c: New * gcc.dg/utf16-3.c: New * gcc.dg/utf16-4.c: New * gcc.dg/utf32-1.c: New * gcc.dg/utf32-2.c: New * gcc.dg/utf32-3.c: New * gcc.dg/utf32-4.c: New libiberty/ChangeLog: 2008-04-14 Kris Van Hees <kris.van.hees@oracle.com> * testsuite/demangle-expected: Added tests for char16_t and char32_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134438 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-04-18 Paolo Bonzini <bonzini@gnu.org>bonzini2008-04-183-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR bootstrap/35457 * configure.ac: Include override.m4. * configure: Regenerate. libgomp: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libdecnumber: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. gcc: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libstdc++-v3: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libobjc: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. intl: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libgfortran: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libmudflap: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. boehm-gc: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libiberty: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Add override.m4. * configure: Regenerate. libffi: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libssp: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. config: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * confsubdir.m4: Rename to... * override.m4: ... this. Make sure aclocal always picks it. Add more lenient precious variable check, backported from autoconf trunk. libjava/libltdl: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libjava/classpath: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libjava: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libcpp: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. fixincludes: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * Makefile.in: Rewrite aclocal.m4 rule. * aclocal.m4: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134434 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright date.ian2008-03-311-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133762 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c (d_substitution): Correct overflow check to avoidian2008-03-312-5/+13
| | | | | | | -fstrict-overflow optimizations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133761 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-03-27 Paolo Bonzini <bonzini@gnu.org>bonzini2008-03-274-46/+50
| | | | | | | | | | * configure.ac (frags): Don't set, use frag instead. (PICFLAG): Set here and substitute. * Makefile.in (PICFLAG): Substitute from autoconf. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133639 138bc75d-0d04-0410-961f-82ee72b054a4
* include/:ian2008-03-253-5/+436
| | | | | | | | | | | | * sha1.h: New file, from gnulib. libiberty/: * sha1.c: New file, from gnulib. * Makefile.in: Rebuild dependencies. (CFILES): Add sha1.c. (REQUIRED_OFILES): Add sha1.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133503 138bc75d-0d04-0410-961f-82ee72b054a4
* * make-relative-prefix.c (make_relative_prefix_1): Handle NULLdevans2008-03-242-7/+10
| | | | | | | return from strdup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133482 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-03-12 Seongbae Park <seongbae.park@gmail.com>spark2008-03-132-2/+7
| | | | | | | | | * cplus-dem.c (malloc, realloc): Use void * instead of char * as return type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133181 138bc75d-0d04-0410-961f-82ee72b054a4
* * md5.c (md5_process_bytes): Do not assume that memcpy willnickc2008-03-112-1/+7
| | | | | | | provide a return value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133107 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/12618bje2008-02-192-1/+7
| | | | | | | * testsuite/Makefile.in (mostlyclean): Remove any core file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132405 138bc75d-0d04-0410-961f-82ee72b054a4
* include/daney2008-01-273-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-26 David Daney <ddaney@avtrex.com> * demangle.h (demangle_component_type): Add DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER as new enum values. (demangle_component): Add struct s_character to union u. libiberty/ 2008-01-26 David Daney <ddaney@avtrex.com> * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER cases. (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and DEMANGLE_COMPONENT_JAVA_RESOURCE cases. (d_make_character): New function. (d_java_resource): Same. (d_special_name): Handle "Gr" case. (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER cases. * testsuite/demangle-expected: Add test for java resource name mangling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131883 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com>bje2008-01-232-12/+27
| | | | | | | | | | * cplus-dem.c (demangle_function_name): Changed to return value indicating if a name was correctly demangled. (iterate_demangle_function): Use demangle_function_name return value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131754 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-01-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>manu2008-01-192-2/+8
| | | | | | | | | PR other/33768 * splay-tree.c (rotate_left): Fix minor typo in comment. (rotate_right): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131650 138bc75d-0d04-0410-961f-82ee72b054a4
* * floatformat.c (floatformat_ibm_long_double_is_valid): Fixjsm282007-11-132-7/+11
| | | | | | | | | compiler warnings. (floatformat_ibm_long_double): Use floatformat_ibm_long_double_is_valid. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130131 138bc75d-0d04-0410-961f-82ee72b054a4
* include:jsm282007-11-082-39/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-11-07 Joseph Myers <joseph@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> * floatformat.h (struct floatformat): Add split_half field. (floatformat_ibm_long_double): New. libiberty: 2007-11-07 Joseph Myers <joseph@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> * floatformat.c (mant_bits_set): New. (floatformat_to_double): Use it. Note no special handling of split formats. (floatformat_from_double): Note no special handing of split formats. (floatformat_ibm_long_double_is_valid, floatformat_ibm_long_double): New. (floatformat_ieee_single_big, floatformat_ieee_single_little, floatformat_ieee_double_big, floatformat_ieee_double_little, floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f, floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext, floatformat_m68881_ext, floatformat_i960_ext, floatformat_m88110_ext, floatformat_m88110_harris_ext, floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword, floatformat_ia64_spill_big, floatformat_ia64_spill_little, floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update for addition of split_half field. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129977 138bc75d-0d04-0410-961f-82ee72b054a4
* libiberty:tromey2007-09-062-1/+7
| | | | | | | | | * pexecute.txh (pex_free): Document process killing. include: * libiberty.h (pex_free): Document process killing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128192 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-08-31 Douglas Gregor <doug.gregor@gmail.com>dgregor2007-08-312-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * mangle.c (write_type): Change mangling of rvalue reference from `RR' to `O'. 2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_RVALUE_REFERENCE. 2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_RVALUE_REFERENCE. (d_make_comp): Ditto. (cplus_demangle_type): Ditto. (d_print_comp): Ditto. (d_print_mod): Ditto. (d_print_function_type): Ditto. 2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * testsuite/abi/demangle/cxx0x/rref.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127999 138bc75d-0d04-0410-961f-82ee72b054a4