aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2009-07-25include/:Ian Lance Taylor
PR bootstrap/40854 * libiberty.h (xcrc32): Rename from crc32. libiberty/: PR bootstrap/40854 * crc32.c (xcrc32): Rename from crc32. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@150075 138bc75d-0d04-0410-961f-82ee72b054a4
2009-07-24libiberty/:Ian Lance Taylor
* 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: https://gcc.gnu.org/svn/gcc/trunk@150067 138bc75d-0d04-0410-961f-82ee72b054a4
2009-07-21Add ccoutant to previous dwarf4 entry.Cary Coutant
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@149866 138bc75d-0d04-0410-961f-82ee72b054a4
2009-07-20 Add some dwarf4 values.Doug Evans
* dwarf2.h (enum dwarf_tag): Add DW_TAG_type_unit. (enum dwarf_form): Add DW_FORM_sec_offset, DW_FORM_exprloc, DW_FORM_flag_present, DW_FORM_sig8. (enum dwarf_attribute): Add DW_AT_signature. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@149836 138bc75d-0d04-0410-961f-82ee72b054a4
2009-07-17includeJan Kratochvil
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: https://gcc.gnu.org/svn/gcc/trunk@149756 138bc75d-0d04-0410-961f-82ee72b054a4
2009-07-092009-07-09 Jakub Jelinek <jakub@redhat.com>Jakub Jelinek
* dwarf2.h (enum dwarf_location_atom): Add DW_OP_implicit_value and DW_OP_stack_value. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@149438 138bc75d-0d04-0410-961f-82ee72b054a4
2009-07-09gccTom Tromey
* unwind-dw2-fde-darwin.c: Include dwarf2.h. * config/mmix/mmix.c: Include dwarf2.h. * config/rs6000/darwin-fallback.c: Include dwarf2.h. * config/xtensa/unwind-dw2-xtensa.c: Include dwarf2.h. * config/sh/sh.c: Include dwarf2.h. * config/i386/i386.c: Include dwarf2.h. * Makefile.in (DWARF2_H): Remove 'elf'. * except.c: Include dwarf2.h. * unwind-dw2.c: Include dwarf2.h. * dwarf2out.c: Include dwarf2.h. * unwind-dw2-fde-glibc.c: Include dwarf2.h. * unwind-dw2-fde.c: Include dwarf2.h. * dwarf2asm.c: Include dwarf2.h. gcc/ada * raise-gcc.c: Include dwarf2h (unconditionally). include * elf/dwarf2.h: Remove, renaming to... * dwarf2.h: ... this. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@149433 138bc75d-0d04-0410-961f-82ee72b054a4
2009-06-30gccTom Tromey
* dwarf2.h: Remove. * Makefile.in (DWARF2_H): New variable. (except.o): Use it. (dwarf2out.o): Likewise. (dwarf2asm.o): Likewise. * config/i386/t-i386: Use DWARF2_H. * except.c: Include elf/dwarf2.h. * unwind-dw2.c: Include elf/dwarf2.h. * dwarf2out.c: Include elf/dwarf2.h. (dw_loc_descr_struct) <dw_loc_opc>: Now a bitfield. <dtprel>: New field. (dwarf_stack_op_name): Don't handle INTERNAL_DW_OP_tls_addr. (size_of_loc_descr): Likewise. (output_loc_operands_raw): Likewise. (output_loc_operands): Handle new dtprel field. (loc_checksum): Update. (loc_descriptor_from_tree_1) <VAR_DDECL>: Set dtprel field. * unwind-dw2-fde-glibc.c: Include elf/dwarf2.h. * unwind-dw2-fde.c: Include elf/dwarf2.h. * dwarf2asm.c: Include elf/dwarf2.h. * unwind-dw2-fde-darwin.c: Include elf/dwarf2.h. * config/mmix/mmix.c: Include elf/dwarf2.h. * config/rs6000/darwin-fallback.c: Include elf/dwarf2.h. * config/xtensa/unwind-dw2-xtensa.c: Include elf/dwarf2.h. * config/sh/sh.c: Include elf/dwarf2.h. * config/i386/i386.c: Include elf/dwarf2.h. gcc/ada * raise-gcc.c: Include elf/dwarf2.h. include * elf/dwarf2.h: New file. Merged with gdb. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@149070 138bc75d-0d04-0410-961f-82ee72b054a4
2009-06-10 * ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define for C++.Ian Lance Taylor
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@148333 138bc75d-0d04-0410-961f-82ee72b054a4
2009-06-03include/:Ian Lance Taylor
* ansidecl.h (EXPORTED_CONST): Define. gcc/: * dummy-checksum.c (executable_checksum): Use EXPORTED_CONST. * genattrtab.c (write_length_unit_log): Likewise. * genchecksum.c (dosum): Likewise. * gengtype.c (write_rtx_next): Likewise. (finish_root_table, write_roots): Likewise. * gimple.c (gimple_ops_offset_): Likewise. * tree-nomudflap.c (gt_ggc_r_gt_tree_mudflap_h): Likewise. * config/arc/arc.c (arc_attribute_table): Likewise. * config/arm/arm.c (arm_attribute_table): Likewise. * config/avr/avr.c (avr_attribute_table): Likewise. * config/crx/crx.c (crx_attribute_table): Likewise. * config/m32r/m32r.c (m32r_attribute_table): Likewise. * config/m68hc11/m68hc11.c (m68hc11_attribute_table): Likewise. * config/mcore/mcore.c (mcore_attribute_table): Likewise. * config/rs6000/rs6000.c (rs6000_attribute_table): Likewise. * config/sh/sh.c (sh_attribute_table): Likewise. * config/sparc/sparc.c (sparc_attribute_table): Likewise. * config/spu/spu.c (spu_attribute_table): Likewise. * config/v850/v850.c (v850_attribute_table): Likewise. * config/alpha/alpha.c (vms_attribute_table): Make static. * config/bfin/bfin.c (bfin_attribute_table): Likewise. * config/h8300/h8300.c (h8300_attribute_table): Likewise. * config/mips/mips.c (mips_attribute_table): Likewise. * Makefile.in (dummy-checksum.o): Depend upon $(CONFIG_H) and $(SYSTEM_H). (cc1-checksum.o): Likewise. gcc/cp/: * Make-lang.in (cc1plus-checksum.o): Depend upon $(CONFIG_H) and $(SYSTEM_H). gcc/objc/: * Make-lang.in (cc1obj-checksum.o): Depend upon $(CONFIG_H) and $(SYSTEM_H). gcc/objcp/: * Make-lang.in (cc1objplus-checksum.o): Depend upon $(CONFIG_H) and $(SYSTEM_H). git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@148146 138bc75d-0d04-0410-961f-82ee72b054a4
2009-06-01 * ansidecl.h: Add extern "C" when compiling with C++. Treat C++Ian Lance Taylor
the way we treat an ISO C compiler. Don't define inline as a macdro when compiling with C++. * dyn-string.h: Add header guard DYN_STRING_H. Add extern "C" when compiling with C++. * fibheap.h: Add extern "C" when compiling with C++. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@148032 138bc75d-0d04-0410-961f-82ee72b054a4
2009-04-24Correct filenames.H.J. Lu
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@146740 138bc75d-0d04-0410-961f-82ee72b054a4
2009-04-24Add missing ChangeLog entries for revision 146607.Taras Glek
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@146739 138bc75d-0d04-0410-961f-82ee72b054a4
2009-04-222009-04-21 Taras Glek <tglek@mozilla.com>Taras Glek
* include/hashtab.h: Update GTY annotations to new syntax * include/splay-tree.h: Likewise gcc/ChangeLog 2009-04-21 Taras Glek <tglek@mozilla.com> * alias.c: Update GTY annotations to new syntax * basic-block.h: Likewise * bitmap.h: Likewise * c-common.h: Likewise * c-decl.c: Likewise * c-parser.c: Likewise * c-pragma.c: Likewise * c-tree.h: Likewise * cfgloop.h: Likewise * cgraph.h: Likewise * config/alpha/alpha.c: Likewise * config/arm/arm.h: Likewise * config/avr/avr.h: Likewise * config/bfin/bfin.c: Likewise * config/cris/cris.c: Likewise * config/darwin.c: Likewise * config/frv/frv.c: Likewise * config/i386/i386.c: Likewise * config/i386/i386.h: Likewise * config/i386/winnt.c: Likewise * config/ia64/ia64.h: Likewise * config/iq2000/iq2000.c: Likewise * config/mips/mips.c: Likewise * config/mmix/mmix.h: Likewise * config/pa/pa.c: Likewise * config/pa/pa.h: Likewise * config/rs6000/rs6000.c: Likewise * config/s390/s390.c: Likewise * config/sparc/sparc.c: Likewise * config/xtensa/xtensa.c: Likewise * cselib.h: Likewise * dbxout.c: Likewise * dwarf2out.c: Likewise * except.c: Likewise * except.h: Likewise * fixed-value.h: Likewise * function.c: Likewise * function.h: Likewise * gimple.h: Likewise * integrate.c: Likewise * optabs.c: Likewise * output.h: Likewise * real.h: Likewise * rtl.h: Likewise * stringpool.c: Likewise * tree-data-ref.c: Likewise * tree-flow.h: Likewise * tree-scalar-evolution.c: Likewise * tree-ssa-address.c: Likewise * tree-ssa-alias.h: Likewise * tree-ssa-operands.h: Likewise * tree.c: Likewise * tree.h: Likewise * varasm.c: Likewise * varray.h: Likewise * vec.h: Likewise * coretypes.h: Do not define GTY macro if it is already defined * doc/gty.texi: Update GTY documentation to new syntax * gengtype-lex.l: Enforce attribute-like syntax for GTY annotations on structs * gengtype-parse.c: Likewise gcc/ada/ChangeLog 2009-04-21 Taras Glek <tglek@mozilla.com> * gcc-interface/ada-tree.h: Update GTY annotations to new syntax * gcc-interface/trans.c: Likewise * gcc-interface/utils.c: Likewise gcc/cp/ChangeLog 2009-04-21 Taras Glek <tglek@mozilla.com> * cp-tree.h: Update GTY annotations to new syntax * decl.c: Likewise * mangle.c: Likewise * name-lookup.c: Likewise * name-lookup.h: Likewise * parser.c: Likewise * pt.c: Likewise * rtti.c: Likewise * semantics.c: Likewise * typeck2.c: Likewise gcc/fortran/ChangeLog 2009-04-21 Taras Glek <tglek@mozilla.com> * f95-lang.c: Update GTY annotations to new syntax * trans-intrinsic.c: Likewise * trans-io.c: Likewise * trans.h: Likewise gcc/java/ChangeLog 2009-04-21 Taras Glek <tglek@mozilla.com> * builtins.c: Update GTY annotations to new syntax * decl.c: Likewise * java-tree.h: Likewise * jcf.h: Likewise * lang.c: Likewise gcc/objc/ChangeLog 2009-04-21 Taras Glek <tglek@mozilla.com> * objc-act.c: Update GTY annotations to new syntax * objc-act.h: Likewise libcpp/ChangeLog 2009-04-21 Taras Glek <tglek@mozilla.com> * include/cpp-id-data.h: Update GTY annotations to new syntax * include/cpplib.h: Likewise * include/line-map.h: Likewise * include/symtab.h: Likewise git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@146607 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-17 cp/:Jason Merrill
* 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: https://gcc.gnu.org/svn/gcc/trunk@144924 138bc75d-0d04-0410-961f-82ee72b054a4
2008-12-10 PR c++/35319Jason Merrill
* 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: https://gcc.gnu.org/svn/gcc/trunk@142661 138bc75d-0d04-0410-961f-82ee72b054a4
2008-11-19include/Bob Wilson
* xtensa-config.h (XCHAL_HAVE_MUL16, XCHAL_HAVE_MUL32, XCHAL_HAVE_DIV32) (XCHAL_HAVE_MINMAX, XCHAL_HAVE_SEXT, XCHAL_HAVE_THREADPTR) (XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): Change to 1. (XCHAL_NUM_AREGS): Change to 32. (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE): Change to 16K. (XCHAL_ICACHE_LINESIZE, XCHAL_DCACHE_LINESIZE): Change to 32. (XCHAL_ICACHE_LINEWIDTH, XCHAL_DCACHE_LINEWIDTH): Change to 5. (XCHAL_DCACHE_IS_WRITEBACK): Change to 1. (XCHAL_DEBUGLEVEL): Change to 6. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@142012 138bc75d-0d04-0410-961f-82ee72b054a4
2008-10-20 * obstack.h (obstack_finish <!__GNUC__>): Cast result to void *.Alan Modra
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@141254 138bc75d-0d04-0410-961f-82ee72b054a4
2008-10-06gcc/cp/:Jason Merrill
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: https://gcc.gnu.org/svn/gcc/trunk@140916 138bc75d-0d04-0410-961f-82ee72b054a4
2008-09-09 * include/demangle.h (enum demangle_component_type): AddJason Merrill
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: https://gcc.gnu.org/svn/gcc/trunk@140162 138bc75d-0d04-0410-961f-82ee72b054a4
2008-09-05Convert ChangeLog files to UTF-8.Jakub Jelinek
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: https://gcc.gnu.org/svn/gcc/trunk@140033 138bc75d-0d04-0410-961f-82ee72b054a4
2008-07-07 * safe-ctype.h: Add #include of ctype.h before redefiningJoel Brobecker
the ctype.h macros. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@137580 138bc75d-0d04-0410-961f-82ee72b054a4
2008-07-04 * safe-ctype.h: Remove #error when detecting that ctype.h has beenJoel Brobecker
included. Redefine the various macros provided by ctype.h as undefined variables. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@137480 138bc75d-0d04-0410-961f-82ee72b054a4
2008-06-24 * libiberty.h (XALLOCA, XDUP, XALLOCAVEC, XDUPVEC, XALLOCAVAR,Kaveh Ghazi
XDUPVAR, XOBNEWVEC, XOBNEWVAR): New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@137058 138bc75d-0d04-0410-961f-82ee72b054a4
2008-03-25include/:Ian Lance Taylor
* 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: https://gcc.gnu.org/svn/gcc/trunk@133503 138bc75d-0d04-0410-961f-82ee72b054a4
2008-03-25Fix this patch:Ian Lance Taylor
* md5.h: Add extern "C" when compiled with C++. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@133502 138bc75d-0d04-0410-961f-82ee72b054a4
2008-03-24 * md5.h: Add extern "C" when compiled with C++.Ian Lance Taylor
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@133495 138bc75d-0d04-0410-961f-82ee72b054a4
2008-03-21 * filenames.h: Add extern "C" when compiled with C++.Ian Lance Taylor
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@133440 138bc75d-0d04-0410-961f-82ee72b054a4
2008-02-11 * xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.Bob Wilson
(XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@132240 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-27include/David Daney
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: https://gcc.gnu.org/svn/gcc/trunk@131883 138bc75d-0d04-0410-961f-82ee72b054a4
2007-11-08include:Joseph Myers
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: https://gcc.gnu.org/svn/gcc/trunk@129977 138bc75d-0d04-0410-961f-82ee72b054a4
2007-09-06libiberty:Tom Tromey
* pexecute.txh (pex_free): Document process killing. include: * libiberty.h (pex_free): Document process killing. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@128192 138bc75d-0d04-0410-961f-82ee72b054a4
2007-08-312007-08-31 Douglas Gregor <doug.gregor@gmail.com>Doug Gregor
* 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: https://gcc.gnu.org/svn/gcc/trunk@127999 138bc75d-0d04-0410-961f-82ee72b054a4
2007-07-25include/Ben Elliston
* ternary.h: Remove. libiberty/ * Makefile.in (CFILES): Remove ternary.c. (REQUIRED_OFILES): Remove ./ternary.o. (INSTALLED_HEADERS): Remove ternary.h. (ternary.o): Remove. * ternary.c: Remove. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@126902 138bc75d-0d04-0410-961f-82ee72b054a4
2007-07-18include/Bob Wilson
* xtensa-config.h (XCHAL_HAVE_THREADPTR): New. (XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): New. gcc/ * config/xtensa/xtensa.c (xtensa_expand_mask_and_shift): New. (struct alignment_context, init_alignment_context): New. (xtensa_expand_compare_and_swap, xtensa_expand_atomic): New. * config/xtensa/xtensa.h (XCHAL_HAVE_RELEASE_SYNC): Add default. (XCHAL_HAVE_S32C1I): Likewise. (TARGET_RELEASE_SYNC, TARGET_S32C1I): New. * config/xtensa/xtensa.md (UNSPECV_MEMW): New constant. (UNSPECV_S32RI, UNSPECV_S32C1I): Likewise. (ATOMIC, HQI): New macros. (memory_barrier, *memory_barrier): New. (sync_lock_releasesi): New. (sync_compare_and_swapsi, sync_compare_and_swap<mode>): New. (sync_lock_test_and_set<mode>): New. (sync_<atomic><mode>): New. (sync_old_<atomic><mode>, sync_new_<atomic><mode>): New. * config/xtensa/xtensa-protos.h (xtensa_expand_compare_and_swap): New. (xtensa_expand_atomic): New. gcc/testsuite/ * lib/target-supports.exp (check_effective_target_sync_int_long): Enable for xtensa. (check_effective_target_sync_char_short): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@126728 138bc75d-0d04-0410-961f-82ee72b054a4
2007-07-17* COPYING_v3: New file. Contains version 3 of the GNU General Public License.Nick Clifton
* COPYING.LIB_v3: New file. Contains version 3 of the GNU Lesser General Public License. * gpl_v3.texi: New file. Contains a texinfo formated copy of the GNU General Public License, version 3. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@126701 138bc75d-0d04-0410-961f-82ee72b054a4
2007-07-13 * splay-tree.h: Fix whitespace.Uros Bizjak
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@126625 138bc75d-0d04-0410-961f-82ee72b054a4
2007-07-12 * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust typesHans-Peter Nilsson
work-a-round whitespace problem in gcc gengtype. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@126587 138bc75d-0d04-0410-961f-82ee72b054a4
2007-07-12* splay-tree.h (libi_uhostptr_t, libi_shostptr_t): New types,Kai Tietz
needed for WIN64 when a long is not wide enough for a pointer. (splay_tree_key, splay_tree_value): Use the new types. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@126573 138bc75d-0d04-0410-961f-82ee72b054a4
2007-05-08include/Nathan Froyd
2007-05-07 Nathan Froyd <froydnj@codesourcery.com> * libiberty.h (writeargv): Declare. libiberty/ 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> * argv.c (writeargv): New function. gcc/ 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> * gcc.c (at_file_supplied): New variable. (main): Set it if we expanded argv. (do_spec_1): Pass an @-file to the linker if we were called with an @-file argument and HAVE_GNU_LD. * collect2.c (at_file_supplied): New variable. (response_file): New variable. (collect_exit): Unlink response_file if necessary. (handler): Likewise. (do_wait): Likewise. (main): Set at_file_supplied if we expanded argv. (collect_execute): Pass an @-file to subprocesses if we were called with an @-file argument. * configure.ac: Add define for HAVE_GNU_LD. * configure: Regenerate. * config.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@124532 138bc75d-0d04-0410-961f-82ee72b054a4
2007-04-26 * demangle.h: Change license to LGPL + exception.Mark Mitchell
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@124174 138bc75d-0d04-0410-961f-82ee72b054a4
2007-03-29 * filenames.h (FILENAME_CMP): Adjust define to call filename_cmpJoel Brobecker
regardless of the type of file system. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@123343 138bc75d-0d04-0410-961f-82ee72b054a4
2007-03-06 * errors.h (warning, error, fatal, internal_error): Mark as cold.Jan Hubicka
* predict.c (maybe_hot_bb): Cold functions are never hot; hot functions are hot. (probably_cold_bb_p): Cold functions are cold. (probably_never_executed_bb_p): Cold functions are cold. (tree_bb_level_predictions): Predict calls to cold functions as not taken. (compute_function_frequency): Check hot/cold attributes. * function.h (function_frequency): Update comments. * predict.def (PRED_COLD_FUNCTION): Predict cold function. * c-common.c (handle_hot_attribute, handle_cold_attribute): New. (c_common_att): Add cold and hot. * doc/extend.texi (hot,cold attributes): Document. * ansidecl.h (ATTRIBUTE_COLD, ATTRIBUTE_HOT): New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@122632 138bc75d-0d04-0410-961f-82ee72b054a4
2007-02-09 * libiberty.h (pex_write_input): Remove prototype.Joseph Myers
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@121755 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-31 include/Vladimir Prus
* libiberty.h (PEX_STDERR_TO_PIPE): New define. (PEX_BINARY_ERROR): New define. (pex_read_err): New function. libiberty/ * pex-common.h (struct pex_obj): New fields stderr_pipe and read_err. * pex-common.c (pex_init_common): Initialize stderr_pipe. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@121430 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-29include/:Simon Baldwin
* demangle.h: New cplus_demangle_print_callback, cplus_demangle_v3_callback, and java_demangle_v3_callback function prototypes, and demangle_callbackref type definition. libiberty/: * cp-demangle.h (cplus_demangle_operators): External definition suppressed if not building for libstdc++. * cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface to demangling, provides a malloc-less version of __cxa_demangle. (cplus_demangle_print_callback): Public callback version of cplus_demangle_print. (struct d_growable_string): New growable string structure. (d_growable_string_init): New function, provides support for growable strings separate from print info. (d_growable_string_resize): Likewise. (d_growable_string_append_buffer): Likewise. (d_growable_string_callback_adapter):): Likewise. (d_print_init): New print info initialization function. (d_print_error): Macro replace by inline function. (d_print_saw_error): Likewise. (d_append_char): Likewise. (d_append_buffer): Likewise. (d_append_string): New inline function, replaces the d_append_string_constant macro. (d_flush_buffer): New function, flushes buffer to callback. (d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback for unsupported dynamic arrays replaced by alloca(). (d_demangle): Return string length estimating removed. (d_dump): Moved error case handling from call site into function. (d_print_resize): Function removed. (d_print_append_char): Likewise. (d_print_append_buffer): Likewise. (d_print_error): Likewise. (d_print_comp): Added special case handling for Java arrays. (java_demangle_v3): Removed string post-processing for Java arrays, now replaced by special case handling in d_print_comp. (cplus_demangle_v3_callback): Augmented interface to demangling, provides a malloc-less version of cplus_demangle_v3. (java_demangle_v3_callback): Augmented interface to demangling, provides a malloc-less version of java_demangle_v3. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@121305 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-06* ansidecl.h (ATTRIBUTE_PACKED): Define. Nick Clifton
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@119587 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-30include:Andrew Stubbs
2006-05-03 Andrew Stubbs <andrew.stubbs@st.com> J"orn Rennecke <joern.rennecke@st.com> PR driver/29931 * libiberty.h (make_relative_prefix_ignore_links): Declare. libiberty: 2006-05-03 Andrew Stubbs <andrew.stubbs@st.com> J"orn Rennecke <joern.rennecke@st.com> PR driver/29931 * make-relative-prefix.c (make_relative_prefix_1): New function, broken out of make_relative_prefix. Make link resolution dependent on new parameter. (make_relative_prefix): Use make_relative_prefix_1. (make_relative_prefix_ignore_links): New function. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@119366 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-27 * xtensa-config.h (XSHAL_ABI): New.Bob Wilson
(XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@119261 138bc75d-0d04-0410-961f-82ee72b054a4
2006-06-01Patch to provide pex_run_in_environment.Mark Shinwell
* include/libiberty.h: Declare pex_run_in_environment. libiberty: * pex-common.c: New function pex_run_in_environment. * pex-common.h: Add environment parameter to exec_child. * pex-msdos.c: Add environment parameter to pex_msdos_exec_child. * pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child. (pex_djgpp_exec_child): Pass environment to child process. * pex-unix.c: Add environment parameter to pex_unix_exec_child. (pex_unix_exec_child): Pass environment to child process. * pex-win32.c: Add environment parameter to pex_win32_exec_child. New function env_compare for comparing VAR=VALUE pairs. (win32_spawn): Assemble environment block and pass to CreateProcess. (spawn_script): Pass environment through to win32_spawn. (pex_win32_exec_child): Pass environment through to spawn_script and win32_spawn. * functions.texi: Regenerate. * pexecute.txh: Document pex_run_in_environment. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@114302 138bc75d-0d04-0410-961f-82ee72b054a4