- 03 Feb, 2003 18 commits
-
-
hooks.c (hook_rtx_rtx_identity): Generic hook function that takes a single rtx and returns it unmodified. * hooks.c (hook_rtx_rtx_identity): Generic hook function that takes a single rtx and returns it unmodified. * hooks.h (hook_rtx_rtx_identity): Prototype here. * target.h (struct gcc_target): Add "delegitimize_address" field to target structure. * target-def.h (TARGET_DELEGITIMIZE_ADDRESS): Provide default for delegitimize_address target using hook_rtx_rtx_identity. (TARGET_INITIALIZER): Initialize delegitimize_address field using TARGET_DELEGITIMIZE_ADDRESS macro. * simplify-rtx.c (avoid_constant_pool_reference): Handle float extensions of constant pool references. Use delegitimize_address to undo the obfuscation of "-fpic". * Makefile.in (simplify-rtx.o): Add dependency on target.h. * config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as i386_simplify_dwarf_addr. (ix86_find_base_term): Simplify using i386_simplify_dwarf_addr. (maybe_get_pool_constant): Likewise. From-SVN: r62336
Roger Sayle committed -
2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> Phil Edwards <pme@gcc.gnu.org> * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use numeric_limits for bits-per-word values. (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count): Use __builtin_popcountl instead. (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next, _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next): Use __builtin_ctzl instead. (_S_bit_count, _S_first_one): Remove. * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count. * src/Makefile.am (sources): Remove bitset.cc. * src/bitset.cc: Delete file. * src/Makefile.in: Regenerate. Co-Authored-By: Phil Edwards <pme@gcc.gnu.org> From-SVN: r62335
Falk Hueffner committed -
parse.y (java_expand_classes): Scan the whole class list looking for access methods that haven't yet been expanded. 2003-01-31 Andrew Haley <aph@redhat.com> * parse.y (java_expand_classes): Scan the whole class list looking for access methods that haven't yet been expanded. From-SVN: r62329
Andrew Haley committed -
From-SVN: r62328
Andrew Haley committed -
2003-02-03 Andrew Haley <aph@emcee.cambridge.redhat.com> * configure.host (x86_64): Enable interpreter. From-SVN: r62326
Andrew Haley committed -
From-SVN: r62323
Phil Edwards committed -
2003-02-03 Phil Edwards <pme@gcc.gnu.org> PR libstdc++/9527, PR libstdc++/8713 * docs/html/install.html: Mention glibc version requirement. * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed with 3.2.1+ (formatting bugfixes). * docs/html/faq/index.txt: Regenerate. From-SVN: r62322
Phil Edwards committed -
* libjava.jacks/jacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATH to find libgcc_s. Set JAVA_CLASSPATH to find libgcj.jar. From-SVN: r62318
Ulrich Weigand committed -
2003-02-03 Andrew Haley <aph@redhat.com> * libgcj.spec.in (jc1): Add BACKTRACESPEC. * configure.host (x86_64): Default to -fno-omit-frame-pointer. * configure.in (BACKTRACESPEC): New. * configure: Regenerate. From-SVN: r62316
Andrew Haley committed -
From-SVN: r62314
Jan Hubicka committed -
From-SVN: r62313
Jan Hubicka committed -
* i386.c (ix86_expand_int_movcc): Fix setcc sign bit case. [[Split portion of a mixed commit.]] From-SVN: r62312.2
Jan Hubicka committed -
2003-01-31 Adrian Bunk <bunk@fs.tum.de> Fix for java/4269: * jv-scan.c: Use HAVE_LANGINFO_CODESET instead of HAVE_NL_LANGINFO to fix bootstrap on sparc-unknown-netbsdelf1.5. * jcf-parse.c: Likewise. From-SVN: r62310
Adrian Bunk committed -
PR libstdc++/9234 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary operator. * include/bits/valarray_before.h (__not_equal_to): Use != instead of ==. * testsuite/26_numerics/valarray_operators.cc: New test. From-SVN: r62309
Volker Reichelt committed -
* gcc.c-torture/exectue/ieee/20000320-1.c: The ARM VFP format is 'natural-endian'. From-SVN: r62306
Richard Earnshaw committed -
* Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir) be created if necessary. (ada.install-common): Let $(DESTDIR)$(bindir) be created if necessary. Remove erroneous and redundant gnatchop installation commands. Test for gnatdll before attempting to install it. (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr, and gnatdll from all plausible locations. From-SVN: r62304
Christian Cornelssen committed -
From-SVN: r62302
Jan Hubicka committed -
From-SVN: r62299
GCC Administrator committed
-
- 02 Feb, 2003 12 commits
-
-
* configure: Rebuilt. * configure.in (TOOLKIT) [xlib]: Set correctly. From-SVN: r62292
Tom Tromey committed -
* Makefile.in: Rebuilt. * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against libstdc++. From-SVN: r62291
Tom Tromey committed -
From-SVN: r62287
Christian Cornelssen committed -
* mips/_tilib.c: Don't include tsystem.h or defaults.h. Don't define LIBGCC2_WORDS_BIG_ENDIAN. Include coretypes.h and tm.h. From-SVN: r62284
Kaveh R. Ghazi committed -
From-SVN: r62282
Andreas Schwab committed -
* arm.md (sibcall_epilogue): Set the "conds" to "clob". (epilogue_insns): Likewise. From-SVN: r62281
Richard Earnshaw committed -
From-SVN: r62273
John David Anglin committed -
* pa-protos.h (attr_length_millicode_call): Remove second argument. (attr_length_indirect_call, attr_length_indirect_call, attr_length_save_restore_dltp): New prototypes. * pa.c (attr_length_millicode_call): Remove second argument. Check INSN_ADDRESSES_SET_P in distance calculation. (output_millicode_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES. (attr_length_call): Check INSN_ADDRESSES_SET_P in distance calculation. (output_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES. Call attr_length_call directly. (attr_length_indirect_call, output_indirect_call, attr_length_save_restore_dltp): New functions. * pa.md (attr_length_millicode_call): Drop second argument from all patterns. (return_internal_pic): Delete. (return_external_pic): Remove use of PIC register and pic operand and flag checks. (epilogue): Use return_internal for both normal and pic code. (call, call_value): Emit new 32-bit pic patterns for symref and indirect calls. Remove uses for arg pointer and pic register. (call_symref_pic, call_symref_pic_post_reload, call_reg_pic, call_reg_pic_post_reload, call_val_symref_pic, call_val_symref_pic_post_reload, call_val_reg_pic, call_val_reg_pic_post_reload): New pre and post reload insn patterns. Implement define_split and define_peephole2 patterns for pre reload patterns. (call_symref_64bit, call_internal_reg_64bit, call_value_symref_64bit, call_value_internal_reg_64bit): Shorten names. (all call patterns): Explicitly indicate registers used and clobbered. Use attr_length_indirect_call and attr_length_save_restore_dltp for attribute length calculation. Move code generation for indirect calls to output_indirect_call. (sibcall, sibcall_value): Don't restore PIC register. (exception_receiver, builtin_setjmp_receiver): Add blockage after PIC register retore. From-SVN: r62272
John David Anglin committed -
* doc/install.texi (Testing): Simplify and compress instructions concerning Dejagnu. From-SVN: r62270
Gerald Pfeifer committed -
* collect2.c (pexecute_pid): Rename to pid. (collect_wait, collect_execute, scan_prog_file, scan_libraries): Use pid. From-SVN: r62269
John David Anglin committed -
extend.texi (Function Attributes): Remove documentation for PowerPC Windows NT function attributes.. * doc/extend.texi (Function Attributes): Remove documentation for PowerPC Windows NT function attributes.. From-SVN: r62268
Geoffrey Keating committed -
From-SVN: r62267
GCC Administrator committed
-
- 01 Feb, 2003 10 commits
-
-
2003-02-01 Phil Edwards <pme@gcc.gnu.org> * docs/html/faq/index.html: Correct link to libg++ information. * docs/html/faq/index.txt: Regenerated. From-SVN: r62259
Phil Edwards committed -
* dwarf2out.c (gen_type_die): Check for typedefs before calling for TYPE_MAIN_VARIANT. From-SVN: r62258
Daniel Jacobowitz committed -
* libgcc2.c: Include auto-host.h. (ATTRIBUTE_HIDDEN): New. (__clz_tab): Don't declare here for clz and ctz. (__clzsi2, __clzdi2): Use count_leading_zeros. (__ctzsi2, __ctzdi2): Use count_trailing_zeros. (__popcount_tab): Mark ATTRIBUTE_HIDDEN. (__paritysi2, __paritydi2): Use shifts instead of __popcount_tab. * longlong.h (__clz_tab): Mark ATTRIBUTE_HIDDEN. From-SVN: r62256
Richard Henderson committed -
* config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT to the conditional. (ashlsi3_1_zext splitter): Likewise. From-SVN: r62254
Richard Henderson committed -
2003-02-01 Richard Henderson <rth@redhat.com> * optabs.c (expand_unop): Use word_mode for outmode of bit scaners. * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2, __popcountsi2, __popcountdi2, __paritysi2 __paritydi2): Change return type to Wtype. * libgcc-std.ver (GCC_3.4): Fix inheritance. * config/i386/i386.md (ffssi2): Use nonimmediate_operand for expander input constraint. 2003-02-01 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> * optabs.h (optab_index): Add OTI_clz, OTI_ctz, OTI_popcount and OTI_parity. (clz_optab, ctz_optab, popcount_optab, parity_optab): New. * optabs.c (widen_clz, expand_parity): New. (expand_unop): Handle clz and parity. Hardcode SImode as outmode for libcalls to clz, ctz, popcount, and parity. (init_optabs): Init clz_optab, ctz_optab, popcount_optab and parity_optab, and set up libfunc handlers. * libgcc2.c (__clzsi2, __clzdi2, __ctzsi2, __ctzdi2, __popcountsi2, __popcountdi2, __paritysi2 __paritydi2, __popcount_tab): New. * libgcc2.h: Declare them. * libgcc-std.ver (GCC_3.4): Add new functions from libgcc2.c. * genopinit.c (optabs): Add clz_optab, ctz_optab, popcount_optab and parity_optab. * builtin-types.def (BT_FN_INT_LONG, BT_FN_INT_LONGLONG): New. * builtins.def (BUILT_IN_CLZ, BUILT_IN_CTZ, BUILT_IN_POPCOUNT, BUILT_IN_PARITY, BUILT_IN_FFSL, BUILT_IN_CLZL, BUILT_IN_CTZL, BUILT_IN_POPCOUNTL, BUILT_IN_PARITYL, BUILT_IN_FFSLL, BUILT_IN_CLZLL, BUILT_IN_CTZLL, BUILT_IN_POPCOUNTLL, BUILT_IN_PARITYLL): New. * builtins.c (expand_builtin_unop): Rename from expand_builtin_ffs and add optab argument. (expand_builtin): Expand BUILT_IN_{FFS,CLZ,POPCOUNT,PARITY}*. * tree.def (CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, PARITY_EXPR): New. * expr.c (expand_expr): Handle them. * fold-const.c (tree_expr_nonnegative_p): Likewise. * rtl.def (CLZ, CTZ, POPCOUNT, PARITY): New. * reload1.c (eliminate_regs): Handle them. (elimination_effects): Likewise. * function.c (instantiate_virtual_regs_1): Likewise * genattrtab.c (check_attr_value): Likewise. * simplify-rtx.c (simplify_unary_operation): Likewise. * c-common.c (c_common_truthvalue_conversion): Handle POPCOUNT_EXPR. * combine.c (combine_simplify_rtx): Handle POPCOUNT and PARITY. (nonzero_bits): Handle CLZ, CTZ, POPCOUNT and PARITY. * config/alpha/alpha.md (clzdi2, ctzdi2, popcountdi2): New. * config/arm/arm.c (arm_init_builtins): Rename __builtin_clz to __builtin_arm_clz. * Makefile.in (LIB2FUNCS_1, LIB2FUNCS_2): Move... * mklibgcc.in (lib2funcs): ...here and merge. Add new members. * doc/extend.texi (Other Builtins): Add new builtins. * doc/md.texi (Standard Names): Add new patterns. From-SVN: r62252
Richard Henderson committed -
From-SVN: r62249
Ulrich Weigand committed -
http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
2003-02-01 Paolo Carlini <pcarlini@unitus.it> Benjamin Kosnik <bkoz@redhat.com> Const correctness issue: http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html * include/bits/locale_classes.h (locale::_Impl::_M_facets): Change type to const facet**. (locale::_Impl::_M_install_facet): Change declaration to take const facet*. (locale::facet::_M_references): Make mutable. (locale::facet::_M_add_reference): Declare const. (locale::facet::_M_remove_reference): Likewise. * include/bits/locale_facets.tcc (use_facet(const locale&)): Tweak for const facet** _M_facets. (has_facet(const locale&)): Likewise. * src/locale.cc (locale::facet::_M_add_reference): Adjust definition. (locale::facet::_M_remove_reference): Likewise. * src/localename.cc (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for const facet** _M_facets. (locale::_Impl::_Impl(const char*, size_t)): Likewise. (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise. (locale::_Impl::_M_install_facet): Adjust definition to take const facet* and for const facet** _M_facets. * testsuite/22_locale/locale/cons/8.cc: Add. Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com> From-SVN: r62248
Paolo Carlini committed -
From-SVN: r62246
Jan Hubicka committed -
* flags.h (flag_volatile): Remove declaration. (flag_volatile_global, flag_volatile_static): Likewise. * c-typeck.c (build_indirect_ref): Don't check flag_volatile. * toplev.c (flag_volatile): Remove definition. (flag_volatile_global, flag_volatile_static): Likewise. (f_options): Remove corresponding entries here. * varasm.c (make_decl_rtl): Don't check flag_volatile_global or flag_volatile_static. * doc/invoke.texi: Remove documentation of -fvolatile, -fvolatile-global and -fvolatile-static. cp/ * typeck.c (build_indirect_ref): Don't check flag_volatile. ada/ * utils2.c (build_unary_op): Don't check flag_volatile. * gnat_ug.texi: Remove -fvolatile from example. * gnat_ug_vxw.texi: Likewise. testsuite/ * g++.dg/init/new1.C: Remove -fvolatile dg-options line. * g++.dg/init/new2.C: Likewise. * g++.dg/other/new1.C: Likewise. From-SVN: r62245
Richard Sandiford committed -
From-SVN: r62239
Andreas Jaeger committed
-