summaryrefslogtreecommitdiff
path: root/libiberty
Commit message (Collapse)AuthorAgeFilesLines
* * cp-demangle.c (d_unqualified_name): Handle abi tags here.jason2012-11-113-22/+24
| | | | | | (d_name): Not here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193401 138bc75d-0d04-0410-961f-82ee72b054a4
* Add C++ attribute abi_tag and -Wabi-tag option.jason2012-11-092-5/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ * attribs.c (lookup_attribute_spec): Handle getting a TREE_LIST. gcc/c-family/ * c.opt (Wabi-tag): New. gcc/cp/ * tree.c (cxx_attribute_table): Add abi_tag attribute. (check_abi_tag_redeclaration, handle_abi_tag_attribute): New. * class.c (find_abi_tags_r, check_abi_tags): New. (check_bases, check_field_decl): Call check_abi_tags. * decl.c (redeclaration_error_message): Call check_abi_tag_redeclaration. * mangle.c (tree_string_cmp, write_abi_tags): New. (write_unqualified_name): Call write_abi_tags. include/ * demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_TAGGED_NAME. libiberty/ * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_TAGGED_NAME. (d_make_comp, d_find_pack, d_print_comp): Likewise. (d_abi_tags): New. (d_name): Call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193367 138bc75d-0d04-0410-961f-82ee72b054a4
* Allow dynamic initialization of thread_locals.jason2012-10-082-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/cp/ * decl.c: Define tls_aggregates. (expand_static_init): Remove sorry. Add to tls_aggregates. * cp-tree.h: Declare tls_aggregates. * call.c (set_up_extended_ref_temp): Add to tls_aggregates. * decl2.c (var_needs_tls_wrapper): New. (var_defined_without_dynamic_init): New. (get_tls_init_fn, get_tls_wrapper_fn): New. (generate_tls_wrapper, handle_tls_init): New. (cp_write_global_declarations): Call handle_tls_init and enerate_tls_wrapper. * mangle.c (write_guarded_var_name): Split out from.. (mangle_guard_variable): ...here. (mangle_tls_init_fn, mangle_tls_wrapper_fn): Use it. (decl_tls_wrapper_p): New. * semantics.c (finish_id_expression): Replace use of thread_local variable with a call to its wrapper. libiberty/ * cp-demangle.c (d_special_name, d_dump): Handle TH and TW. (d_make_comp, d_print_comp): Likewise. include/ * demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_TLS_INIT and DEMANGLE_COMPONENT_TLS_WRAPPER. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192211 138bc75d-0d04-0410-961f-82ee72b054a4
* * strnlen.c: New file.ian2012-09-188-22/+141
| | | | | | | | | | | | | | * configure.ac: Check for strnlen, add it to AC_LIBOBJ if it's not present. * Makefile.in: Rebuild dependencies. (CFILES): Add strnlen.c. (CONFIGURED_OFILES): Add ./strnlen.$(objext). * configure, config.in, functions.texi: Rebuild. * maint-tool: Accept .def files in the include directory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191432 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/54411: integer overflow in objalloc_allocfw2012-09-182-2/+15
| | | | | | | | | | | | | | | | 2012-09-18 Florian Weimer <fweimer@redhat.com> PR other/54411 * objalloc.h (objalloc_alloc): Do not use fast path on wraparound. 2012-09-18 Florian Weimer <fweimer@redhat.com> PR other/54411 * objalloc.c (_objalloc_alloc): Add overflow check covering alignment and CHUNK_HEADER_SIZE addition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191413 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace malloc with xmallochjl2012-08-292-38/+16
| | | | | | | | | | * argv.c (dupargv): Replace malloc with xmalloc. Don't check xmalloc return. (buildargv): Likewise. Also replace strdup with xstrdup. (expandargv): Don't check dupargv return. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190767 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace alloca with xmalloc/freehjl2012-08-292-1/+8
| | | | | | | | PR binutils/14526 * argv.c (buildargv): Replace alloca with xmalloc/free. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190766 138bc75d-0d04-0410-961f-82ee72b054a4
* * floatformat.c (floatformat_to_double): Correctly handle numbersschwab2012-08-172-24/+20
| | | | | | | | between 1 and 2. Simplify handling of denormal number. (main): Test with 1.1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190493 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-07-27 Mike Frysinger <vapier@gentoo.org>uros2012-07-312-4/+13
| | | | | | | | | * md5.c (md5_finish_ctx): Declare swap_bytes. Assign SWAP() output to swap_bytes, and then call memcpy to move it to ctx->buffer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189996 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-07-26 Kazu Hirata <kazu@codesourcery.com>sandra2012-07-262-8/+23
| | | | | | | | | | | Sandra Loosemore <sandra@codesourcery.com> libiberty/ * pex-win32.c (pex_win32_exec_child): Only close original file descriptors if child is launched successfully. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189901 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c (cplus_demangle_operators): Add *_cast.jason2012-07-183-1/+40
| | | | | | | (op_is_new_cast): New. (d_expression, d_print_comp): Check it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189630 138bc75d-0d04-0410-961f-82ee72b054a4
* include/devans2012-07-132-0/+53
| | | | | | | | | | * filenames.h: #include "hashtab.h". (filename_hash, filename_eq): Declare. libiberty/ * filename_cmp.c (filename_hash, filename_eq): New functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189472 138bc75d-0d04-0410-961f-82ee72b054a4
* * copying-lib.texi (Library Copying): Don't use @heading insideschwab2012-06-292-5/+5
| | | | | | | @enumerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189072 138bc75d-0d04-0410-961f-82ee72b054a4
* http://sourceware.org/bugzilla/show_bug.cgi?id=14065tromey2012-05-223-0/+12
| | | | | | | | * testsuite/demangle-expected: Add regression test. * cp-demangle.c (d_find_pack): Return NULL for DEMANGLE_COMPONENT_UNNAMED_TYPE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187773 138bc75d-0d04-0410-961f-82ee72b054a4
* gcctromey2012-04-273-3/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | * dwarf2out.c (dwarf_stack_op_name): Use get_DW_OP_name. (dwarf_tag_name): Use get_DW_TAG_name. (dwarf_attr_name): Use get_DW_AT_name. (dwarf_form_name): Use get_DW_FORM_name. * dwarf2cfi.c (dwarf_cfi_name): Use get_DW_CFA_name. include * dwarf2.h (enum dwarf_tag, enum dwarf_form, enum dwarf_attribute) (enum dwarf_location_atom, enum dwarf_type, enum dwarf_call_frame_info): Remove. (DW_TAG, DW_TAG_DUP, DW_FORM, DW_AT, DW_AT_DUP, DW_OP) (DW_OP_DUP, DW_ATE, DW_ATE_DUP, DW_CFA): New macros. Include dwarf2.def. (get_DW_TAG_name, get_DW_AT_name, get_DW_FORM_name) (get_DW_OP_name, get_DW_ATE_name): Declare. * dwarf2.def: New file, from dwarf2.h. libiberty * dwarfnames.c: New file. * Makefile.in (CFILES): Add dwarfnames. (REQUIRED_OFILES): Add dwarfnames. (./dwarfnames.$(objext)): New target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186908 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-04 Tristan Gingold <gingold@adacore.com>gingold2012-04-042-2/+8
| | | | | | | | * pex-unix.c (to_ptr32): Fix style. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186134 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-02 Tristan Gingold <gingold@adacore.com>gingold2012-04-022-1/+7
| | | | | | | | | * stack-limit.c: Includes ansidecl.h. (stack_limit_increase): Add ATTRIBUTE_UNUSED git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186064 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/cp/jason2012-03-213-0/+15
| | | | | | | | | | * mangle.c (write_type): Handle 'auto'. * init.c (build_new): Don't do auto deduction where it might affect template mangling. libiberty/ * cp-demangle.c (cplus_demangle_type): Handle 'auto'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185595 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c (cplus_demangle_operators): Add li.jason2012-03-073-1/+15
| | | | | | (d_unqualified_name): Handle it specially. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185082 138bc75d-0d04-0410-961f-82ee72b054a4
* * make-relative-prefix.c (make_relative_prefix_1): Avoid warningjakub2012-01-262-3/+9
| | | | | | | about using preprocessor directives inside of macro arguments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183561 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-01-22 Douglas B Rupp <rupp@gnat.com>rupp2012-01-232-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * <toplevel>/config/mh-interix: Remove as unneeded. * <toplevel>/config/picflag.m4 (i[[34567]]86-*-interix3*): Change triplet to i[[34567]]86-*-interix[[3-9]]*. * <toplevel>/configure.ac: Remove reference to mh-interix. * <toplevel>/configure: Regenerate. * <toplevel>/libada/configure: Regenerate. * <toplevel>libgcc/config.host (i[34567]86-*-interix3*): Change triplet to i[34567]86-*-interix[3-9]*. * <toplevel>/libgcc/configure: Regenerate. * <toplevel>/liberty/configure: Regenerate. * config.gcc: (i[34567]86-*-interix3*): Remove from obsolete configurations. Change triplet to i[34567]86-*-interix[3-9]*. (extra_options) interix.opt -> i386/interix.opt" (extra_objs):Add winnt-stubs.o * configure.ac: Add interix to target_os .comm on PE check. * configure: Regenerate. * config/interix3.h: Delete and move bits to.. * config/interix.h: Delete and move bits to.. * config/i386/i386-interix3.h: Delete and move bits to.. * config/i386/i386-interix.h: ..here. (TARGET_CPU_DEFAULT): Remove redefinition. (TARGET_ASM_CONSTRUCTOR): Undefine. (SUBTARGET_SWITCHES): Define for ms-bitfields. (TARGET_OS_CPP_BUILTINS): Remove __OPENNT. Add __declspec. (PTRDIFF_TYPE): Define. (LONG_DOUBLE_TYPE_SIZE): Define. (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define. (SUBTARGET_OVERRIDE_OPTIONS): Remove. (TARGET_SECTION_TYPE_FLAGS): Define. (ASM_DECLARE_FUNCTION_NAME): Define. (ASM_OUTPUT_EXTERNAL): Define. (ASM_OUTPUT_EXTERNAL_LIBCALL): Define. (ASM_OUTPUT_ALIGNED_BSS): Define. (PCC_BITFIELD_TYPE_MATTERS): Define. (USE_CONST_SECTION): Define. (SUBTARGET_ENCODE_SECTION_INFO): Remove. (TARGET_ASM_FUNCTION_RODATA_SECTION): Remove. (SUPPORTS_ONE_ONLY): Remove. (I386_PE_STRIP_ENCODING): Define. * config/interix.opt: Delete and move bits to.. * config/i386/interix.opt: ..here. New. (mpe-aligned-commons): Add. * config/i386/t-interix: Add copyright header. (winnt-stubs.o): Add rule. * testsuite/gcc.dg/builtins-config.h: (HAVE_C99_RUNTIME): Do not define for Interix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183406 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c (d_print_comp) [DEMANGLE_COMPONENT_OPERATOR]:jason2012-01-103-5/+16
| | | | | | Omit a trailing space in the operator name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183072 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/6057jason2012-01-063-77/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR c++/48051 PR c++/50855 PR c++/51322 gcc/cp/ * mangle.c (write_expression): Support NEW_EXPR, DELETE_EXPR, THROW_EXPR, CONSTRUCTOR, OVERLOAD. Fix PREINCREMENT_EXPR and PREDECREMENT_EXPR. (write_template_arg): Fix mangling of class-scope functions and argument packs. (mangle_decl): Update suggested -fabi-version argument. * operators.def: Add DOTSTAR_EXPR, REINTERPRET_CAST_EXPR, DYNAMIC_CAST_EXPR; correct CONST_CAST_EXPR, STATIC_CAST_EXPR. * tree.c (dependent_name): No longer static. * cp-tree.h: Declare it. * pt.c (unify): Defer handling of unconverted functions. include/ * demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_INITIALIZER_LIST, DEMANGLE_COMPONENT_NULLARY. libiberty/ * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_NULLARY and DEMANGLE_COMPONENT_INITIALIZER_LIST. (d_make_comp): Likewise. Allow null right arg for DEMANGLE_COMPONENT_TRINARY_ARG2. (cplus_demangle_operators): Adjust new/delete; add .*, :: and throw. (d_template_args, d_template_arg): Handle 'J' for argument packs. (d_exprlist): Add terminator parm. (d_expression, d_print_comp): Handle initializer lists, nullary expressions, prefix/suffix operators, and new. (d_print_subexpr): Avoid parens around DEMANGLE_COMPONENT_QUAL_NAME and DEMANGLE_COMPONENT_INITIALIZER_LIST. * testsuite/demangle-expected: Add tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182970 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c (cplus_demangle_type): decltype, pack expansionjason2012-01-063-3/+25
| | | | | | | and vector are substitutable. (cplus_demangle_operators): Sort. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182969 138bc75d-0d04-0410-961f-82ee72b054a4
* config/krebbel2012-01-042-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> PR bootstrap/51734 * picflag.m4: Remove s390 case statement. gcc/ 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * configure: Regenerate. libada/ 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * configure: Regenerate. libgcc/ 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * configure: Regenerate. * config/s390/t-crtstuff: Remove -fPIC. libiberty/ 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182868 138bc75d-0d04-0410-961f-82ee72b054a4
* * make-relative-prefix.c (make_relative_prefix_1): Avoidjakub2012-01-022-5/+29
| | | | | | | | | | | | | stack overflow if PATH contains just a single entry and HOST_EXECUTABLE_SUFFIX needs to be used. PR driver/48306 * make-relative-prefix.c: Include sys/stat.h. (make_relative_prefix_1): If access succeeds, check also stat if nstore is a regular file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182820 138bc75d-0d04-0410-961f-82ee72b054a4
* config/:schwab2011-12-202-1/+5
| | | | | | | | | | | | | | | | | | | | * warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in expr call. fixincludes/: * configure: Regenerate. gcc/: * configure: Regenerate. libcpp/: * configure: Regenerate. libdecnumber/: * configure: Regenerate. libiberty/: * configure: Regenerate. lto-plugin/: * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182546 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-20 Tristan Gingold <gingold@adacore.com>gingold2011-12-203-2/+7
| | | | | | | | | * aclocal.m4: Assume strncmp works in cross case. * configure: Regenerate git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182520 138bc75d-0d04-0410-961f-82ee72b054a4
* Check for warning flags without no- prefixschwab2011-12-192-2/+14
| | | | | | | | | | | | | | | | | | | | | | | config/: PR bootstrap/51388 * warnings.m4 (ACX_PROG_CC_WARNING_OPTS) (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Run the test without the no- prefix. fixincludes/: * configure: Regenerate. gcc/: * configure: Regenerate. libcpp/: * configure: Regenerate. libdecnumber/: * configure: Regenerate. libiberty/: * configure: Regenerate. lto-plugin/: * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182478 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from transactional-memory branch.aldyh2011-11-082-2/+59
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181154 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/48370jason2011-11-042-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | * call.c (extend_ref_init_temps, extend_ref_init_temps_1): New. (set_up_extended_ref_temp): Use it. Change cleanup parm to VEC. (initialize_reference): Just call convert_like. * decl.c (grok_reference_init): Just call initialize_reference. (build_init_list_var_init): Remove. (check_initializer): Change cleanup parm to VEC. Handle references like other types. Call perform_implicit_conversion instead of build_init_list_var_init. Don't use build_aggr_init for aggregate initialization of arrays. (cp_finish_decl): Change cleanup to VEC. * typeck2.c (store_init_value): Call extend_ref_init_temps. Use build_vec_init for non-constant arrays. * init.c (expand_aggr_init_1): Adjust. (build_vec_init): Avoid re-converting an initializer that's already digested. * mangle.c (mangle_ref_init_variable): Add a discriminator. * cp-tree.h: Adjust. * typeck.c (convert_for_initialization): Adjust. * decl2.c (maybe_emit_vtables): Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180944 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix thinko in previous checkin.devans2011-11-021-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180805 138bc75d-0d04-0410-961f-82ee72b054a4
* Forgotten in previous checkin that added timeval-utils.[ch].devans2011-11-022-8/+19
| | | | | | | | | | * Makefile.in (CFILES): Add it. (REQUIRED_OFILES): Add timeval-utils.$(objext). (INSTALLED_HEADERS): Add timeval-utils.h. (timeval-utils.$(objext)): Add rule. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180803 138bc75d-0d04-0410-961f-82ee72b054a4
* * setproctitle.c (setproctitle): Use "GNU/Linux" in comment.ian2011-10-292-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180641 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:iains2011-10-262-80/+448
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR target/48108 * config/darwin.c (top level): Amend comments concerning LTO output. (lto_section_num): New variable. (darwin_lto_section_e): New GTY. (LTO_SECTS_SECTION, LTO_INDEX_SECTION): New. (LTO_NAMES_SECTION): Rename. (darwin_asm_named_section): Record LTO section counts and switches in a vec of darwin_lto_section_e. (darwin_file_start): Remove unused code. (darwin_file_end): Put an LTO section termination label. Handle output of the wrapped LTO sections, index and names table. libiberty: PR target/48108 * simple-object-mach-o.c (GNU_WRAPPER_SECTS, GNU_WRAPPER_INDEX, GNU_WRAPPER_NAMES): New macros. (simple_object_mach_o_segment): Handle wrapper scheme. (simple_object_mach_o_write_section_header): Allow the segment name to be supplied. (simple_object_mach_o_write_segment): Handle wrapper scheme. Ensure that the top-level segment name in the load command is empty. (simple_object_mach_o_write_to_file): Determine the number of sections during segment output, use that in writing the header. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180523 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/48665ian2011-10-103-0/+36
| | | | | | | | | * cp-demangle.c (d_cv_qualifiers): If qualifiers are applied to a function type, change them to apply to the "this" parameter. * testsuite/demangle-expected: Add test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179772 138bc75d-0d04-0410-961f-82ee72b054a4
* include/devans2011-09-282-0/+93
| | | | | | | | | | | | | | * timeval-utils.h: New file. libiberty/ * timeval-utils.c: New file. * Makefile.in (CFILES): Add it. (REQUIRED_OFILES): Add timeval-utils.$(objext). (INSTALLED_HEADERS): Add timeval-utils.h. (timeval-utils.$(objext)): Add rule. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179319 138bc75d-0d04-0410-961f-82ee72b054a4
* include/devans2011-09-282-0/+27
| | | | | | | | | | * libiberty.h (countargv): Declare. libiberty/ * argv.c (countargv): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179318 138bc75d-0d04-0410-961f-82ee72b054a4
* trivial libiberty/ChangeLog updatebstarynk2011-09-241-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179147 138bc75d-0d04-0410-961f-82ee72b054a4
* include/ChangeLog:ccoutant2011-09-233-3/+111
| | | | | | | | | | | | | | | | | | PR 40831 * demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_CLONE. libiberty/ChangeLog: PR 40831 * cp-demangle.c (d_make_comp): Add new component type. (cplus_demangle_mangled_name): Check for clone suffixes. (d_parmlist): Don't error out if we see '.'. (d_clone_suffix): New function. (d_print_comp): Print info for clone suffixes. * testsuite/demangle-expected: Add new testcases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179132 138bc75d-0d04-0410-961f-82ee72b054a4
* * md5.c (md5_process_bytes): Correct handling of unalignedian2011-09-232-4/+11
| | | | | | | buffer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179128 138bc75d-0d04-0410-961f-82ee72b054a4
* Centralize PICFLAG configurationro2011-08-224-42/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config: * picflag.m4: New file. gcc: * configure.ac (GCC_PICFLAG_FOR_TARGET): Call it. (PICFLAG_FOR_TARGET): Substitute. * aclocal.m4: Regenerate. * configure: Regenerate. gcc/ada: * gcc-interface/Makefile.in (PICFLAG_FOR_TARGET): New. (GNATLIBCFLAGS_FOR_C): Replace TARGET_LIBGCC2_CFLAGS by PICFLAG_FOR_TARGET. (gnatlib-shared-default, gnatlib-shared-dual-win32) (gnatlib-shared-win32, gnatlib-shared-darwin, gnatlib-shared) (gnatlib-sjlj, gnatlib-zcx): Likewise. libada: * configure.ac: Include ../config/picflag.m4. (GCC_PICFLAG): Call it. Substitute. * configure: Regenerate. * Makefile.in (TARGET_LIBGCC2_CFLAGS): Replace by PICFLAG. (GNATLIBCFLAGS_FOR_C): Replace TARGET_LIBGCC2_CFLAGS by PICFLAG. (LIBADA_FLAGS_TO_PASS): Pass PICFLAG as PICFLAG_FOR_TARGET. Don't include $(GCC_DIR)/libgcc.mvars. libiberty: * aclocal.m4: Include ../config/picflag.m4. * configure.ac (GCC_PICFLAG): Call it. (enable_shared): Clear PICFLAG unless shared. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177967 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-08-12 Steve Ellcey <sje@cup.hp.com>sje2011-08-122-6/+14
| | | | | | | * md5.c (md5_read_ctx): Handle mis-aligned resbuf pointer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177700 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/test-expandargv.c (writeout_test): Check result of fwrite.uros2011-08-062-16/+23
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177529 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/49932jason2011-08-013-2/+22
| | | | | | | | | gcc/cp/ * mangle.c (write_prefix): Handle decltype. libiberty/ * cp-demangle.c (d_prefix): Handle decltype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177074 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove an extra line.hjl2011-07-262-1/+4
| | | | | | | | | 2011-07-26 H.J. Lu <hongjiu.lu@intel.com> * testsuite/demangle-expected: Remove an extra line. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176796 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c (d_print_init): Initialize pack_index field.ian2011-07-263-1/+21
| | | | | | | | (d_print_comp): Check for NULL template argument. * testsuite/demangle-expected: Add test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176791 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/49817gerald2011-07-222-0/+8
| | | | | | | * stack-limit.c: Include <stdint.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176662 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/49756jakub2011-07-221-0/+59
| | | | | | | | | | | | | | | | | | | * libiberty.h (stack_limit_increase): New prototype. * stack-limit.c: New file. * Makefile.in: Regenerate deps. (CFILES): Add stack-limit.c. (REQUIRED_OFILES): Add ./stack-limit.$(objext). * configure.ac (checkfuncs): Add getrlimit and setrlimit. (AC_CHECK_FUNCS): Likewise. * configure: Regenerated. * config.in: Regenerated. * gcc.c (main): Call stack_limit_increase (64MB). * toplev.c (toplev_main): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176622 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/49756jakub2011-07-225-18/+43
| | | | | | | | | | | | | | | | | | | * libiberty.h (stack_limit_increase): New prototype. * stack-limit.c: New file. * Makefile.in: Regenerate deps. (CFILES): Add stack-limit.c. (REQUIRED_OFILES): Add ./stack-limit.$(objext). * configure.ac (checkfuncs): Add getrlimit and setrlimit. (AC_CHECK_FUNCS): Likewise. * configure: Regenerated. * config.in: Regenerated. * gcc.c (main): Call stack_limit_increase (64MB). * toplev.c (toplev_main): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176617 138bc75d-0d04-0410-961f-82ee72b054a4