1. 03 Feb, 2003 5 commits
  2. 02 Feb, 2003 12 commits
  3. 01 Feb, 2003 16 commits
    • index.html: Correct link to libg++ information. · d6ed6fcc
      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. · 5d7bed9d
      	* 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. · 53585c36
              * 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
    • i386.md (addsi_1_zext splitter): Add TARGET_64BIT to the conditional. · bc8a6d63
              * 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
    • [multiple changes] · 2928cd7a
      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
    • * reload.c: Revert 2003-01-31 change. · 112f7223
      From-SVN: r62249
      Ulrich Weigand committed
    • Const correctness issue: http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html · 064994a3
      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
    • flags.h (flag_volatile): Remove declaration. · 271bd540
      	* 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
    • Fix wrongly applied last patch. · 3123c967
      From-SVN: r62239
      Andreas Jaeger committed
    • Correct ChangeLog entry. · 5175d1b8
      From-SVN: r62236
      Loren J. Rittle committed
    • pa.c (pa_output_function_prologue, [...]): Move updating of total_code_bytes… · 17e6098e
      pa.c (pa_output_function_prologue, [...]): Move updating of total_code_bytes from prologue to epilogue.
      
      	* pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move
      	updating of total_code_bytes from prologue to epilogue.
      
      From-SVN: r62233
      John David Anglin committed
    • Makefile.in: Rebuilt. · ccbaec26
             * Makefile.in: Rebuilt.
             * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
      
      From-SVN: r62231
      Mark Wielaard committed
    • * gjavah.c (throwable_p): Allocate 1 more byte for string. · 36da0e78
      From-SVN: r62228
      Mark Wielaard committed
    • reload.c (find_reloads): Do not use the mode specified in the insn pattern as… · 2f278625
      reload.c (find_reloads): Do not use the mode specified in the insn pattern as reload mode for address...
      
      gcc/
      	* reload.c (find_reloads): Do not use the mode specified in the insn
      	pattern as reload mode for address operands.  Do not generate optional
      	reloads for operands where a mandatory reload was already pushed.
      	Generate optional reloads only in the final pass though find_reloads.
      	(have_replacement_p): New function.
      
      gcc/testsuite/
      	* gcc.dg/20030129-1.c: New test.
      
      From-SVN: r62225
      Ulrich Weigand committed
    • Daily bump. · e4b9b5fb
      From-SVN: r62224
      GCC Administrator committed
  4. 31 Jan, 2003 7 commits
    • install.texi (Testing): Remove a reference to our obsolete /testresults web… · 05c425a9
      install.texi (Testing): Remove a reference to our obsolete /testresults web pages and strip redundant...
      
      	* doc/install.texi (Testing): Remove a reference to our obsolete
      	/testresults web pages and strip redundant information concerning
      	test results.
      	(Binaries): Refer to Microsoft Windows instead of listing all
      	possible variants.
      
      From-SVN: r62214
      Gerald Pfeifer committed
    • loop.c (emit_prefetch_instructions): Do conversion at right place in RTL chain. · b0c42aed
      	* loop.c (emit_prefetch_instructions):  Do conversion at right place in
      	RTL chain.
      
      	* combine.c (simplify_set): Reverse order of ragumetns to
      	REG_CANNOT_CHANGE_MODE_P
      	* df.c (df_def_record_1): Likewise.
      	* recog.c (register_operand): Likewise.
      	* simplify-rtx.c (simplify_subreg): Likewise.
      	* hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): Update use of
      	CANNOT_CHANGE_MODE_CLASS.
      	* regclass.c (cannot_change_mode_set_regs, invalid_mode_change_p):
      	Likewise.
      	* reload.c (push_reload): Likewise.
      	* alpha.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
      	* ia64.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
      	* mips.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
      	* mips-protos.h (mips_cannot_change_mode_class): Update prototype.
      	* mips.c (mips_cannot_change_mode_class): Update.
      	* pa64-regs.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
      	* rs6000.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
      	* s390.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
      	* sh.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
      	* sh-protos.h (sh_cannot_change_mode_class): Update prototype.
      	* sh.c (sh_cannot_change_mode_class): Update.
      	* i386.h (CANNOT_CHANGE_MODE_CLASS): New.
      	* tm.texi (CANNOT_CHANGE_MODE_CLASS): Update documentation.
      
      From-SVN: r62212
      Jan Hubicka committed
    • darwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent change to LINK_COMMAND_SPEC in gcc.c. · 1f61a15d
      	* config/darwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent
      	change to LINK_COMMAND_SPEC in gcc.c.
      
      From-SVN: r62211
      Geoffrey Keating committed
    • jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be cast to element type. · 9bc825c4
      	* jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
      	cast to element type.
      	(_Jv_JNI_SetObjectArrayElement): Check array bounds.
      	(_Jv_JNI_GetObjectArrayElement): Likewise.
      
      From-SVN: r62210
      Tom Tromey committed
    • jartool.c (extract_jar): Don't lseek to skip extra fields. · 0120f3d4
      2003-01-31  Daiki Ueno  <ueno@unixuser.org>
      
      	* jartool.c (extract_jar): Don't lseek to skip extra fields.
      	(consume): If the stream is seekable, do lseek.
      
      From-SVN: r62208
      Daiki Ueno committed
    • re PR target/9506 (ABI breakage: structure return) · 7c712dcc
      	PR c/9506
      	* i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN.
      	* gcc.dg/struct-ret-libc.c: New test.
      
      From-SVN: r62204
      Loren J. Rittle committed
    • Makefile.in: Rebuilt. · 072b0db2
      	* Makefile.in: Rebuilt.
      	* Makefile.am (cond_x_ltlibrary): Renamed library to
      	lib-gnu-awt-xlib.la.
      	(lib_gnu_awt_xlib_la_SOURCES): Renamed.
      	(EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
      	(lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
      	(lib_gnu_awt_xlib_la_LIBADD): Likewise.
      	(lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
      	(lib_gnu_awt_xlib_la_LINK): Likewise.
      	(install-exec-hook): Removed.
      	(lib-gnu-awt-xlib.la): Renamed.
      
      From-SVN: r62201
      Tom Tromey committed