OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * diagnostic.c (inform): New function.
gdr [Sun, 4 Aug 2002 14:38:40 +0000 (14:38 +0000)]
* diagnostic.c (inform): New function.
* diagnostic.h (inform): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56022 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR 7470.
nathan [Sun, 4 Aug 2002 13:13:56 +0000 (13:13 +0000)]
PR 7470.
C++ ABI change - vfunc ordering.
* class.c (add_virtual_function): Remove.
(dfs_modify_all_vtables): Take list of all declared
virtuals. Assign all that are not in primary base.
(check_for_override): Adjust comments.
(create_vtable_ptr): Take single list of virtuals. Build chain
of declared virtuals here.
(layout_class_type): Take single list of virtuals. Adjust.
(finish_struct_1): Keep virtuals on single list. Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56021 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sun, 4 Aug 2002 07:17:06 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56019 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.dg/builtins-1.c: New testcase.
sayle [Sun, 4 Aug 2002 02:08:20 +0000 (02:08 +0000)]
* gcc.dg/builtins-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56012 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
dje [Sat, 3 Aug 2002 23:23:49 +0000 (23:23 +0000)]
    * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
        (movhi_internal): Same.
        (movqi_internal): Same.
        (movdi_internal64): Same.

        * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.

        * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
        (ASM_OUTPUT_SKIP): Use it.  SIZE unsigned.
        (COMMON_ASM_OP): Define.
        (ASM_OUTPUT_ALIGNED_COMMON): Use it.  SIZE unsigned.
        Use ALIGN parameter.
        (LOCAL_COMMON_ASM_OP): Define.
        (ASM_OUTPUT_LOCAL): Use it.  SIZE unsigned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56011 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * builtins.def: Define new builtin functions exp, expf, expl,
sayle [Sat, 3 Aug 2002 23:21:31 +0000 (23:21 +0000)]
* builtins.def: Define new builtin functions exp, expf, expl,
log, logf and logl (and their __builtin_* variants).
* optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
Define exp_optab and log_optab.
* optabs.c (init_optans): Initialize exp_optab and log_optab.
* genopinit.c (optabs): Implement exp_optab and log_optab
using exp?f2 and log?f2 patterns.
* builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
and BUILT_IN_LOG* using exp_optab and log_optab respectively.
(expand_builtin): Ignore the new builtins (and all cos and
sin variants) when not optimizing.  Expand new builtins via
expand_builtin_mathfn when flag_unsafe_math_optimizations.

* doc/extend.texi: Document new exp and log builtins.
* doc/md.texi: Document new exp?f2 and log?f2 patterns
(and previously undocumented cos?f2 and sin?f2 patterns).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56010 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * explow.c (int_expr_size): New fn.
jason [Sat, 3 Aug 2002 20:20:35 +0000 (20:20 +0000)]
    * explow.c (int_expr_size): New fn.
        * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
        * expr.h: Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56009 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
gdr [Sat, 3 Aug 2002 19:56:17 +0000 (19:56 +0000)]
* testsuite/26_numerics/valarray_name_lookup.cc: Rename from
testsuite/26_numerics/valarray_name_lookup.C

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56008 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sat, 3 Aug 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56007 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
gdr [Fri, 2 Aug 2002 23:08:40 +0000 (23:08 +0000)]
* include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
object function surrogates.
* include/bits/valarray_meta.h (__shift_left): Fix typo.
(_BinFunClos<>): Remove.
(_BinFunBase<>): Likewise.
(_BinFunBase1<>):Likewise.
(_BinFunBase2<>): Likewise.
(_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
(_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
(_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
* include/std/std_valarray.h: Dont #include <functional> anymore.
(_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
_Shift_right<>): Remove.
(_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
(_DEFINE_BINARY_OPERATOR): Tweak definition.
(_DEFINE_LOGICAL_OPERATOR): Remove.
* testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56001 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * init.c (build_member_call): Use build_new_method_call, not
mmitchel [Fri, 2 Aug 2002 22:42:03 +0000 (22:42 +0000)]
* init.c (build_member_call): Use build_new_method_call, not
build_method_call.
* g++.dg/inherit/access3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56000 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
kristerw [Fri, 2 Aug 2002 22:30:09 +0000 (22:30 +0000)]
    * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
        gengtype-* dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55999 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-02 Eric Christopher <echristo@redhat.com>
echristo [Fri, 2 Aug 2002 20:22:35 +0000 (20:22 +0000)]
2002-08-02  Eric Christopher  <echristo@redhat.com>

* config.gcc (mips*-*-linux*): Fix ordering of tm_file.
* config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
#ifndef to #undef.
(TARGET_MEM_FUNCTIONS): Define instead of define to 1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55998 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Make-lang.in (spew.o, lex.o, pt.o): Add path to parse.h dependencies.
kristerw [Fri, 2 Aug 2002 19:43:25 +0000 (19:43 +0000)]
    * Make-lang.in (spew.o, lex.o, pt.o): Add path to parse.h dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55997 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * MAINTAINERS (Write After Approval): Add myself.
kristerw [Fri, 2 Aug 2002 19:02:33 +0000 (19:02 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55996 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoFix typo
mmitchel [Fri, 2 Aug 2002 18:56:48 +0000 (18:56 +0000)]
Fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55995 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * call.c (build_method_call): Issue a more helpful error message
mmitchel [Fri, 2 Aug 2002 18:53:40 +0000 (18:53 +0000)]
* call.c (build_method_call): Issue a more helpful error message
about ambiguous method names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55994 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
gdr [Fri, 2 Aug 2002 18:10:38 +0000 (18:10 +0000)]
* include/bits/valarray_meta.h (_UnFunBase<>): Remove.
(_UnFunClos<>): Same.
(_UnBase<>): Reformat.  Make first template-parameter non
template.
(_UnClos<>): Likewise.
(_Expr<>): Reformate.  Adjust unary member operator return types.
(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
(_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
* include/std/std_valarray.h (_UnClos<>): Adjust declaration.
(valarray<>::_UnaryOp<>):  New nested traits. Adjust unary member
operator return types.  Reformat.
(_Bitwise_not): Remove.
(_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
* testsuite/26_numerics/valarray_name_lookup.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55993 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * tree.c (build_shared_int_cst): Make cache file scope, and
nathan [Fri, 2 Aug 2002 17:21:34 +0000 (17:21 +0000)]
* tree.c (build_shared_int_cst): Make cache file scope, and
GTY it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55992 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR optimize/7067
dje [Fri, 2 Aug 2002 16:25:43 +0000 (16:25 +0000)]
    PR optimize/7067
        * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
        small if optimizing for size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55991 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
bkoz [Fri, 2 Aug 2002 16:10:37 +0000 (16:10 +0000)]
2002-08-02  Danny Smith  <dannysmith@users.sourceforge.net>

* config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
(scan_is): Use this->is.
(scan_not): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55990 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
bkoz [Fri, 2 Aug 2002 16:10:12 +0000 (16:10 +0000)]
2002-08-02 Danny Smith  <dannysmith@users.sourceforge.net>

* config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
(scan_is): Use this->is.
(scan_not): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55989 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 2 Aug 2002 16:04:16 +0000 (16:04 +0000)]
2002-08-02  Benjamin Kosnik  <bkoz@redhat.com>

Revert PR libstdc++/6594
* src/strstream.cc (strstreambuf): Revert.
(strstreambuf::overflow): Same.
(strstreambuf::~strstreambuf): Same.
* testsuite/backward/strstream_members.cc (test02): Add.

* docs/html/abi.txt: Update. Spell check.

* testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.

* testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
* testsuite/Makefile.in: Regenerate.
* testsuite/testsuite_hooks.h: Use __throw_exception_again,
include functexcept.h so that -fno-exceptions will build.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55988 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in (FORBUILD): Use $build_alias.
drow [Fri, 2 Aug 2002 15:57:09 +0000 (15:57 +0000)]
    * configure.in (FORBUILD): Use $build_alias.
        * configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55987 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config.gcc: Don't include mips/abi64.h in $tm_file.
rsandifo [Fri, 2 Aug 2002 14:55:08 +0000 (14:55 +0000)]
* config.gcc: Don't include mips/abi64.h in $tm_file.
* hard-reg-set.h (call_really_used_regs): Declare.
* config/mips/abi64.h: Remove file.
* config/mips/linux.h,
* config/mips/iris6.h: Don't include it.
* config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
* config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
(REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
Bring across definitions from abi64.h.
(GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
(BIGGEST_MAX_ARGS_IN_REGISTERS): New.
(struct mips_args): Use it.
* config/mips/mips.c (mips_conditional_register_usage): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55986 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * include/bits/valarray_meta.h (__unary_plus, __negate,
gdr [Fri, 2 Aug 2002 13:51:46 +0000 (13:51 +0000)]
* include/bits/valarray_meta.h (__unary_plus, __negate,
__bitwise_not, __plus, __minus, __multiplies, __divides,
__modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
__shift_left, __shift_right, __logical_and, __logical_or,
__logical_not, __equal_to, __not_equal_to, __less, __less_equal,
__greater_equal, __greater, __atan2, __pow): New function object
classes.
(__fun<>):  New function traits class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55985 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
jason [Fri, 2 Aug 2002 11:57:22 +0000 (11:57 +0000)]
    * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
        * langhooks.c (lhd_expr_size): Define default.
        * langhooks.h (struct lang_hooks): Add expr_size.
        * explow.c (expr_size): Call it.
        * expr.c (store_expr): Don't copy an expression of size zero.
        (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
        to store.
        * Makefile.in (builtins.o): Depend on langhooks.h.

        * cp-lang.c (LANG_HOOKS_EXPR_SIZE): Define.
        (cp_expr_size): New fn.
        * call.c (build_over_call): Lose empty class hackery.
        (convert_arg_to_ellipsis): Promote non-POD warning to error.
        * typeck.c (build_modify_expr): Don't use save_expr on an lvalue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55983 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * semantics.c (expand_body): Do tree optimization in the function
jason [Fri, 2 Aug 2002 11:52:38 +0000 (11:52 +0000)]
    * semantics.c (expand_body): Do tree optimization in the function
        context, too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55982 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
ghazi [Fri, 2 Aug 2002 11:44:54 +0000 (11:44 +0000)]
* Makefile.in (ra-debug.o): Depend on $(TM_P_H).
* ra-debug.c: Include "tm_p.h".
* ra-rewrite.c (is_partly_live_1): Change return type to bool.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55981 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-02 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Fri, 2 Aug 2002 11:01:31 +0000 (11:01 +0000)]
2002-08-02  Toon Moene  <toon@moene.indiv.nluug.nl>

* simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
when not honoring signalling NaNs.
(simplify_ternary_operation): a == b has a definite value
when not honoring NaNs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55980 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gdbinit.in (pct): New macro.
jason [Fri, 2 Aug 2002 09:25:46 +0000 (09:25 +0000)]
    * gdbinit.in (pct): New macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55979 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Fri, 2 Aug 2002 07:17:14 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55978 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agotipo
shebs [Fri, 2 Aug 2002 06:10:12 +0000 (06:10 +0000)]
tipo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55972 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
shebs [Fri, 2 Aug 2002 06:09:14 +0000 (06:09 +0000)]
    * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
        plays nice with Darwin headers.
        (_BSD_RUNE_T_DEFINED_): Likewise. (from Andr

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55971 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago[file missed during commit of following change]
cgd [Fri, 2 Aug 2002 05:26:50 +0000 (05:26 +0000)]
[file missed during commit of following change]
2002-08-01  Chris Demetriou  <cgd@broadcom.com>

        * config.gcc (mipsisa64sb1-*-elf*): New configuration.
        (mipsisa64sb1el-*-elf*): Likewise.
        * config/mips/mips.c (mips_cpu_info_table): Add sb1.
        * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
        (TARGET_SB1, TUNE_SB1): New macros.
        * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
        -mtune flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55970 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
zack [Fri, 2 Aug 2002 04:18:16 +0000 (04:18 +0000)]
* c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
* cppinit.c (cpp_post_options): Likewise.

* cppexp.c (cpp_classify_number): Suppress -Wtraditional
warning about 'LL' suffix (but not 'ULL' etc) when
-Wno-long-long is in effect.

* cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
Check for failing time()/localtime(), issue a warning, and
make __TIME__ and __DATE__ expand to fallback strings.

* doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
and __TIME__ when the date and time cannot be determined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55969 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agofix typo
aldyh [Fri, 2 Aug 2002 03:01:54 +0000 (03:01 +0000)]
fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55968 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
amodra [Fri, 2 Aug 2002 02:53:24 +0000 (02:53 +0000)]
* config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55967 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Daniel Jacobowitz <drow@mvista.com>
drow [Fri, 2 Aug 2002 02:41:37 +0000 (02:41 +0000)]
2002-08-01  Daniel Jacobowitz  <drow@mvista.com>

        * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55966 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 2 Aug 2002 01:16:09 +0000 (01:16 +0000)]
2002-08-01  Chris Demetriou  <cgd@broadcom.com>

        * config.gcc (mipsisa64sb1-*-elf*): New configuration.
        (mipsisa64sb1el-*-elf*): Likewise.
        * config/mips/mips.c (mips_cpu_info_table): Add sb1.
        * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
        (TARGET_SB1, TUNE_SB1): New macros.
        * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
        -mtune flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55965 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * varasm.c (asm_emit_uninitialized): Return false if global BSS
dje [Fri, 2 Aug 2002 01:12:09 +0000 (01:12 +0000)]
    * varasm.c (asm_emit_uninitialized): Return false if global BSS
        and ASM_EMIT_BSS not supported by target.
        (assemble_variable): Do not duplicate uninitialized logic.
        Fall through if asm_emit_uninitialized failed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55964 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 2 Aug 2002 01:10:53 +0000 (01:10 +0000)]
2002-08-01  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55963 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
amodra [Fri, 2 Aug 2002 01:10:16 +0000 (01:10 +0000)]
* config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
(DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55962 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
amodra [Fri, 2 Aug 2002 01:08:01 +0000 (01:08 +0000)]
* config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
HOST_BITS_PER_WIDE_INT == 64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55961 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * df.c (df_insn_table_realloc): Change parameter to unsigned.
ghazi [Fri, 2 Aug 2002 00:50:01 +0000 (00:50 +0000)]
* df.c (df_insn_table_realloc): Change parameter to unsigned.
* optabs.c (expand_binop): Make variable unsigned.
* simplify-rtx.c (simplify_subreg): Likewise.
* unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55960 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago 2002-08-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Fri, 2 Aug 2002 00:15:45 +0000 (00:15 +0000)]
2002-08-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55959 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * toplev.c (parse_options_and_default_flags): Don't set
rth [Thu, 1 Aug 2002 23:53:58 +0000 (23:53 +0000)]
    * toplev.c (parse_options_and_default_flags): Don't set
        flag_reorder_blocks for -Os.

        * config/avr/avr.c (avr_optimization_options): Remove.
        * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
        * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
        * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55958 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * output.h (DECL_READONLY_SECTION): Remove.
rth [Thu, 1 Aug 2002 23:29:55 +0000 (23:29 +0000)]
    * output.h (DECL_READONLY_SECTION): Remove.
        (decl_readonly_section): Declare.
        * varasm.c (decl_readonly_section): New.
        (default_section_type_flags, default_select_section): Use it.
        * config/arm/pe.c (arm_pe_unique_section): Likewise.
        * config/i386/interix.c (i386_pe_unique_section): Likewise.
        * config/i386/winnt.c (i386_pe_unique_section): Likewise.
        * config/mcore/mcore.c (mcore_unique_section): Likewise.
        * config/mips/mips.c (mips_unique_section): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55957 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
rth [Thu, 1 Aug 2002 23:07:33 +0000 (23:07 +0000)]
    * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
        refers to a subroutine parameter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55956 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Rick Danos <rdanos@hotmail.com>
bkoz [Thu, 1 Aug 2002 22:17:23 +0000 (22:17 +0000)]
2002-08-01  Rick Danos  <rdanos@hotmail.com>

PR libstdc++/7461
* config/os/newlib/ctype_noninline.h (classic_table): Add offset.
* config/os/newlib/ctype_inline.h (is): Use static_cast.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55955 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Neil Booth <neil@daikokuya.co.uk>
bkoz [Thu, 1 Aug 2002 22:16:46 +0000 (22:16 +0000)]
2002-08-01  Neil Booth  <neil@daikokuya.co.uk>

* libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
* libsupc++/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55954 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * varasm.c (assemble_visibility): Strip name encoding.
jakub [Thu, 1 Aug 2002 21:59:36 +0000 (21:59 +0000)]
* varasm.c (assemble_visibility): Strip name encoding.

* gcc.dg/ia64-visibility-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55953 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
rth [Thu, 1 Aug 2002 21:21:52 +0000 (21:21 +0000)]
    * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
        (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
        when there is no frame pointer.
        (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
        registers properly.
        * config/ns32k/__unorddf2.c: New file.
        * config/ns32k/__unordsf2.c: New file.
        * config/ns32k/t-ns32k: New file.
        * config.gcc (ns32k-*-netbsd*): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55949 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
aldyh [Thu, 1 Aug 2002 21:18:34 +0000 (21:18 +0000)]
* config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55948 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (__GXX_ABI_VERSION): Correct spelling.
neil [Thu, 1 Aug 2002 21:10:44 +0000 (21:10 +0000)]
* c-common.c (__GXX_ABI_VERSION): Correct spelling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55947 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 1 Aug 2002 20:10:25 +0000 (20:10 +0000)]
2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>

* c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55944 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
rsandifo [Thu, 1 Aug 2002 20:08:03 +0000 (20:08 +0000)]
* config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55943 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 1 Aug 2002 20:01:00 +0000 (20:01 +0000)]
2002-08-01  Benjamin Kosnik   <bkoz@redhat.com>

        * g++.old-deja/g++.abi/ptrflags.C (expect): Change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55942 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
rakdver [Thu, 1 Aug 2002 19:10:14 +0000 (19:10 +0000)]
* gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
n_sets): Removed.
(expr_hash_table, set_hash_table): Type changed to ...
(struct hash_table): New type.
(hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
insert_expr_in_table, insert_set_in_table, compute_hash_table,
dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
(alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
(alloc_hash_table): New.
(free_set_hash_table, free_expr_hash_table): Merged to ...
(free_hash_table): New.
(compute_set_hash_table, compute_expr_hash_table): Merged to ...
(compute_hash_table_work): New.
(classic_gcse, one_classic_gcse_pass, compute_cprop_data,
find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
hoist_code, one_code_hoisting_pass,
trim_ld_motion_mems): Altered due to changed type of hash tables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55940 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * final.c (output_alternate_entry_point):
zack [Thu, 1 Aug 2002 18:37:38 +0000 (18:37 +0000)]
* final.c (output_alternate_entry_point):
If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55939 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 1 Aug 2002 17:25:56 +0000 (17:25 +0000)]
2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
    Jakub Jelinek  <jakub@redhat.com>

* config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
GLIBCPP_3.1 to GLIBCPP_3.2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55938 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 1 Aug 2002 16:47:04 +0000 (16:47 +0000)]
2002-08-01  Benjamin Kosnik   <bkoz@redhat.com>

* g++.old-deja/g++.abi/ptrflags.C (expect): Change
__qualifier_flags to __flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55937 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 1 Aug 2002 16:45:55 +0000 (16:45 +0000)]
2002-08-01  Benjamin Kosnik   <bkoz@redhat.com>

* g++.old-deja/g++.abi/ptrflags.C (expect): Change
__qualifier_flags to __flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55936 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Revert patch that breaks libgcj shared library on powerpc:
mark [Thu, 1 Aug 2002 16:06:00 +0000 (16:06 +0000)]
Revert patch that breaks libgcj shared library on powerpc:
* gnu/java/security/provider/Gnu.java: Reverse referencing all
implementation classes by using Class.getName(). Uses Strings again.
* gnu/java/security/der/DEREncodingException.java,
gnu/java/security/provider/DERReader.java,
gnu/java/security/provider/DERWriter.java,
gnu/java/security/provider/DSAKeyPairGenerator.java,
gnu/java/security/provider/DSAParameterGenerator.java,
gnu/java/security/provider/DSAParameters.java,
gnu/java/security/provider/DSASignature.java,
gnu/java/security/provider/GnuDSAPrivateKey.java,
gnu/java/security/provider/GnuDSAPublicKey.java,
gnu/java/security/provider/MD5.java,
gnu/java/security/util/Prime.java: Removed.
* Makefile.am (ordinary_java_source_files): Remove above files.
* Makefile.in: Regenerate.
* gnu/java/security/provider/DefaultPolicy.java
(getPermissions): Revert to maintaining static class variable of
Permissions.
* gnu/java/security/provider/SHA.java
(engineUpdate): Revert algorithm change.
(engineDigest): Revert algorithm change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55935 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * objc/objc-act.c (encode_complete_bitfield): Add prototype and
ghazi [Thu, 1 Aug 2002 15:43:51 +0000 (15:43 +0000)]
* objc/objc-act.c (encode_complete_bitfield): Add prototype and
avoid ISO C style function definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55934 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * expr.c (expand_assignment): Delete unused variable.
ghazi [Thu, 1 Aug 2002 15:40:07 +0000 (15:40 +0000)]
* expr.c (expand_assignment): Delete unused variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55933 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Thu, 1 Aug 2002 09:08:38 +0000 (09:08 +0000)]
2002-08-01  Toon Moene  <toon@moene.indiv.nluug.nl>

* c-common.c (cb_register_builtins): Set
__FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
is given, and to 0 otherwise.
* combine.c (simplify_if_then_else): HONOR_NANS
implies FLOAT_MODE_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55932 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Thu, 1 Aug 2002 07:17:12 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55931 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
neil [Thu, 1 Aug 2002 06:32:38 +0000 (06:32 +0000)]
* cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
(cpp_handle_option): Don't handle it.
(print_help): Update.
* doc/cppopts.texi: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55925 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (cb_register_builtins): If C++, define
neil [Thu, 1 Aug 2002 06:25:06 +0000 (06:25 +0000)]
* c-common.c (cb_register_builtins): If C++, define
__EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
* gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
cp:
* lang-specs.h: Simplify in accordance with new code in
c-common.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55924 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c: Define all C/ObjC/C++ warning and flag variables.
neil [Thu, 1 Aug 2002 06:20:46 +0000 (06:20 +0000)]
* c-common.c: Define all C/ObjC/C++ warning and flag variables.
* c-common.h: Declare all C/ObjC/C++ warning and flag variables.
* c-decl.c: Move all warning and flag variables to c-common.c.
* c-format.c: Move all warning variables to c-common.c.
* c-tree.h: Move all warning and flag declarations to c-common.h.
* objc/objc-act.c: Move all warning variables to c-common.c.
(flag_warn_protocol): Rename warn_protocol.
cp:
* cp-tree.h: Move all warning and flag declarations to c-common.h.
* decl.c: Move all warning and flag variables to c-common.c.
* decl2.c: Move all warning and flag variables to c-common.c.
* lex.c (flag_digraphs): Remove.
(warn_traditional): Now in c-common.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55923 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.host: Add SH support.
kkojima [Thu, 1 Aug 2002 05:34:54 +0000 (05:34 +0000)]
* configure.host: Add SH support.
        * sysdep/sh/locks.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55922 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * call.c (build_field_call): Do not look up the field by name.
mmitchel [Thu, 1 Aug 2002 04:46:23 +0000 (04:46 +0000)]
* call.c (build_field_call): Do not look up the field by name.
(build_method_call): Simplify.
(struct z_candidate): Add access_path and conversion_path.  Remove
basetype_path.
(convert_class_to_reference): Adjust use of
add_function_candidate.
(add_candidate): Add conversion_path argument.
(add_function_candidate): Use it.
(add_conv_dndidate): Likewise.
(build_builtin_candidate): Likewise.
(add_template_candidate_real): Add conversion_path argument.
(add_template_conv_candidate): Likewise.
(add_template_candidate): Likewise.
(build_user_type_conversion_1): Use it.
(build_new_function_call): Remove name lookup code.  Adjust use of
add_template_candidate and add_function_candidate.
(build_new_op): Likewise.
(convert_like_real): Use build_special_member_call.
(build_over_call): Use cand->conversion_path.
(build_special_member_call): New method.
(build_new_method_call): Remove name lookup code.
* cp-tree.def (OFFSET_REF): Update documentation.
(TEMPLATE_ID_EXPR): Likewise.
* cp-tree.h (BASELINK_ACCESS_BINFO): New macro.
(BASELINK_OPTYPE): Likewise.
(build_new_method_call): Adjust prototype.
(build_special_member_call): New method.
(build_baselink): New method.
(build_offset_ref_call_from_tree): Likewise.
(build_call_from_tree): Likewise.
(finish_qualified_call_expr): Remove.
(finish_call_expr): Adjust prototype.
(build_x_function_call): Remove.
* cvt.c (ocp_convert): Use build_special_member_call.
* decl2.c (reparse_absdcl_as_expr): Use finish_call_expr.
(build_expr_from_tree): Adjust handling for TEMPLATE_ID_EXPR and
CALL_EXPR.
(build_offset_ref_call_from_tree): New function.
(build_call_from_tree): Likewise.
* init.c (expand_cleanup): Use build_special_member_call.
(expand_default_init): Likewise.
(build_member_call): Use finish_call_expr.
(build_new_1): Use build_special_member_call.
(push_base_cleanups): Likewise.
* method.c (do_build_assign_ref): Likewise.
* parse.y (template_id): Do not pass a COMPONENT_REF to
lookup_template_function.
(primary): Use parse_finish_call_epxr, not finish_call_expr.
(parse_finish_call_expr): New function.
* pt.c (lookup_template_function): Add assertions.
* search.c (lookup_base): Allow T to be a binfo.
(build_baselink): New function.
(lookup_member): Use it.
* semantics.c (finish_call_expr): Do not do name lookup.
(finish_object_call_expr): Remove #if 0'd code.
(finish_qualified_call_expr): Remove.
* typeck.c (build_x_function_call): Remove.
(build_static_case): Use build_special_member_call.
* typeck2.c (build_functional_cast): Likewise.

* g++.dg/inherit/operator1.C: New test.
* g++.dg/lookup/disamb1.C: Fix typo in comment.
* g++.dg/other/error1.C: Change expected error message.
* g++.dg/template/conv4.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55920 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
danglin [Thu, 1 Aug 2002 01:37:45 +0000 (01:37 +0000)]
* pa-linux.h (GLOBAL_ASM_OP): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55919 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
grahams [Wed, 31 Jul 2002 23:24:18 +0000 (23:24 +0000)]
    * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
        .section prefix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55918 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
grahams [Wed, 31 Jul 2002 23:21:07 +0000 (23:21 +0000)]
* config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
.section prefix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55917 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config.gcc (i[34567]86-*-darwin*): New configuration.
shebs [Wed, 31 Jul 2002 23:18:44 +0000 (23:18 +0000)]
    * config.gcc (i[34567]86-*-darwin*): New configuration.
        * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
        defining.
        (TARGET_ENCODE_SECTION_INFO): Ditto.
        (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
        * config/darwin.c (machopic_indirect_data_reference): Remove
        setting of RTX_UNCHANGING_P.
        (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
        * config/i386/t-darwin: New file.
        * config/i386/darwin.h: New file.
        * config/i386/i386.h (TARGET_MACHO): Add default definition.
        * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
        * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
        label and not the GOT add.
        (constant_address_p): For Mach-O, seeing a CONST is enough.
        (legitimate_pic_address_disp_p): Add a Mach-O case.
        (legitimate_address_p): Also test machopic_operand_p if Mach-O.
        (legitimize_pic_address): Use generic Mach-O code to legitimize.
        (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
        if outputting a difference.
        (ix86_output_addr_diff_elt): Add Mach-O case.
        (ix86_expand_move): Similarly.
        (ix86_expand_call): Similarly.
        (current_machopic_label_num): New global.
        (machopic_output_stub): New function.
        (ix86_value_regno): New function.
        (ix86_function_value): Use it instead of VALUE_REGNO.
        (ix86_libcall_value): Ditto.
        * config/i386/unix.h (VALUE_REGNO): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55916 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.c (rs6000_hash_constant): Fix
grahams [Wed, 31 Jul 2002 23:13:25 +0000 (23:13 +0000)]
* config/rs6000/rs6000.c (rs6000_hash_constant): Fix
hash for LABEL_REF's.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55915 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
grahams [Wed, 31 Jul 2002 23:10:34 +0000 (23:10 +0000)]
    * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
        hash for LABEL_REF's.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55914 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.c (spe_init_builtins,
grahams [Wed, 31 Jul 2002 23:05:26 +0000 (23:05 +0000)]
  * config/rs6000/rs6000.c (spe_init_builtins,
  altivec_init_builtins, rs6000_common_init_builtins):
  Replace ANSI with K&R function def.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55913 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.c (spe_init_builtins,
grahams [Wed, 31 Jul 2002 22:55:34 +0000 (22:55 +0000)]
    * config/rs6000/rs6000.c (spe_init_builtins,
        altivec_init_builtins, rs6000_common_init_builtins):
        Replace ANSI with K&R function def.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55912 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 31 Jul 2002 21:50:33 +0000 (21:50 +0000)]
2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
            Mark Mitchell  <mark@codesourcery.com>

PR libstdc++/7442
* libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
Change to __hwm_bit.
(__class_type_info): And here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55911 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 31 Jul 2002 21:24:18 +0000 (21:24 +0000)]
2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/7442
* libsupc++/cxxabi.h
(__base_class_info): Change to __base_class_type_info. 2.9.5p6c
(__base_class_info::__base): Change to __base_type. 2.9.5p6c
(__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
(__vmi_class_type_info::__base_info): Don't make const, of type
__base_class_type_info, as per 2.9.5p6c
(__pbase_type_info::__qualifier_flags): Change to __flags, as per
2.9.5p7.
(__pbase_type_info::__qualifier_masks): Change to __masks, as per
2.9.5p7.
(__pointer_to_member_type_info::__context_class): Change member to
__context, as per 2.9.5p9.
* libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
__context.
* libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
__flags.
* libsupc++/tinfo.cc (__do_find_public_src): Change __base to
__base_type.
* libsupc++/tinfo.cc (__do_dyncast): Same.
* libsupc++/tinfo.cc (__do_upcast): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55910 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 31 Jul 2002 20:48:38 +0000 (20:48 +0000)]
2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>

* src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55909 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
bkoz [Wed, 31 Jul 2002 19:34:08 +0000 (19:34 +0000)]
2002-07-31  Simon Whomsley  <whomsley@avacadcam.com>

* docs/html/22_locale/howto.html: Fix.

2002-07-31  Alex Kompel  <shurik@sequoiap.com>

PR libstdc++/7445
* src/locale.cc (locale::classic): Move locks inside !_S_classic
block.

2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>

* docs/html/abi.txt: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55908 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 31 Jul 2002 17:28:08 +0000 (17:28 +0000)]
2002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
            Gabriel Dos Reis  <gdr@nerim.net>

* include/bits/char_traits.h: Remove generic definitions.
* include/bits/streambuf_iterator.h (istreambuf_iterator): Use
eof, not -2.
* include/bits/istream.tcc (istream::readsome): Don't check
against eof, instead use constants.
(istream::sync): Same.
(istream::sentry::sentry): Use eq_int_type.
(istream::get): Same.
* include/bits/ostream.tcc: Change __pad to
__pad<_CharT, _Traits>::_S_pad.
* include/bits/locale_facets.h: Add __pad_traits generic and
ostreambuf_iterator specialization.
* include/bits/locale_facets.tcc: Change __pad into struct __pad
with a _CharT and _Traits template parameter and _S_pad static
member function.
* src/locale-inst.cc: Update __pad instantiations.

* include/std/std_fstream.h: Declare _M_underflow_common
specializations.
* src/fstream.cc: New. Add _M_underflow_common specializations.
* include/bits/fstream.tcc (filebuf::close): Use traits_type.
(filebuf::_M_underflow_common(bool)): Remove generic version, as
sys_ungetc and custom int_types don't get along.
* include/std/std_streambuf.h: Add _M_pos.
* src/Makefile.am (sources): Add fstream.cc.
* src/Makefile.in: Regenerate.

* testsuite/21_strings/capacity.cc: Add char_traits specializations.
* testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
* testsuite/22_locale/ctor_copy_dtor.cc: Same.
* testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
* testsuite/27_io/filebuf.cc: ...here.
* testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
specialization for both.
* testsuite/27_io/streambuf.cc: Add instantiation test,
testsuite_hooks include.
* testsuite/27_io/istream.cc: Same.
* testsuite/27_io/ostream.cc: Same.
* testsuite/27_io/fstream.cc: Same.
* testsuite/27_io/stringstream.cc: Same.
* testsuite/27_io/filebuf.cc: Same.
* testsuite/27_io/stringbuf.cc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55905 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * rs6000.c (validate_condition_mode): Test flag_finite_math_only
dje [Wed, 31 Jul 2002 15:46:21 +0000 (15:46 +0000)]
    * rs6000.c (validate_condition_mode): Test flag_finite_math_only
        for CCFPmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55904 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/crtn.asm: Don't use __mips16 to determine the
rsandifo [Wed, 31 Jul 2002 08:55:57 +0000 (08:55 +0000)]
* config/mips/crtn.asm: Don't use __mips16 to determine the
return-address offset.  Define RA to a suitable temporary
register for the return address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55903 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
rsandifo [Wed, 31 Jul 2002 08:53:55 +0000 (08:53 +0000)]
* config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
constraints to 'd'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55902 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/awt/Frame.java (Frame): Remove println calls.
bryce [Wed, 31 Jul 2002 08:19:51 +0000 (08:19 +0000)]
* java/awt/Frame.java (Frame): Remove println calls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55901 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Wed, 31 Jul 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55900 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-30 Chris Demetriou <cgd@broadcom.com>
cgd [Wed, 31 Jul 2002 06:00:53 +0000 (06:00 +0000)]
2002-07-30  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/elf.h (STARTFILE_SPEC): Define differently if
        default ABI is MEABI.  (Undoes incorrect change in Eric Christopher's
        patch on 2002-07-29.)
        * config/mips/elf64.h (STARTFILE_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55894 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 31 Jul 2002 02:47:36 +0000 (02:47 +0000)]
2002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
            Gabriel Dos Reis  <gdr@nerim.net>

* include/bits/char_traits.h: Remove generic definitions.
* include/bits/streambuf_iterator.h (istreambuf_iterator): Use
eof, not -2.
* include/bits/istream.tcc (istream::readsome): Don't check
against eof, instead use constants.
(istream::sync): Same.
(istream::sentry::sentry): Use eq_int_type.
(istream::get): Same.
* include/bits/ostream.tcc: Change __pad to
__pad<_CharT, _Traits>::_S_pad.
* include/bits/locale_facets.h: Add __pad_traits generic and
ostreambuf_iterator specialization.
* include/bits/locale_facets.tcc: Change __pad into struct __pad
with a _CharT and _Traits template parameter and _S_pad static
member function.
* src/locale-inst.cc: Update __pad instantiations.

* include/std/std_fstream.h: Declare _M_underflow_common
specializations.
* src/fstream.cc: New. Add _M_underflow_common specializations.
* include/bits/fstream.tcc (filebuf::close): Use traits_type.
(filebuf::_M_underflow_common(bool)): Remove generic version, as
sys_ungetc and custom int_types don't get along.
* include/std/std_streambuf.h: Add _M_pos.
* src/Makefile.am (sources): Add fstream.cc.
* src/Makefile.in: Regenerate.

* testsuite/21_strings/capacity.cc: Add char_traits specializations.
* testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
* testsuite/22_locale/ctor_copy_dtor.cc: Same.
* testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
* testsuite/27_io/filebuf.cc: ...here.
* testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
specialization for both.
* testsuite/27_io/streambuf.cc: Add instantiation test,
testsuite_hooks include.
* testsuite/27_io/istream.cc: Same.
* testsuite/27_io/ostream.cc: Same.
* testsuite/27_io/fstream.cc: Same.
* testsuite/27_io/stringstream.cc: Same.
* testsuite/27_io/filebuf.cc: Same.
* testsuite/27_io/stringbuf.cc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55893 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
ghazi [Wed, 31 Jul 2002 02:13:35 +0000 (02:13 +0000)]
* alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
(ASM_GLOBALIZE_LABEL): Delete.
(GLOBAL_ASM_OP): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55892 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
ghazi [Wed, 31 Jul 2002 02:10:06 +0000 (02:10 +0000)]
* m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.

* defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
* doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55891 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/extend.texi (Hints implementation): Document that GCC
geoffk [Wed, 31 Jul 2002 00:11:31 +0000 (00:11 +0000)]
* doc/extend.texi (Hints implementation): Document that GCC
mostly ignores `register'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55890 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoNew target macro DECLARE_LIBRARY_RENAMES
bernds [Tue, 30 Jul 2002 23:55:09 +0000 (23:55 +0000)]
New target macro DECLARE_LIBRARY_RENAMES

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55889 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in: Move generic linux case to end. Copy generic
amodra [Tue, 30 Jul 2002 23:12:35 +0000 (23:12 +0000)]
* configure.in: Move generic linux case to end.  Copy generic
linux noconfigdirs to mips*-*-linux* entry and new
powerpc64*-*-linux* entry.  Add target-libffi for the latter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55888 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-30 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Tue, 30 Jul 2002 22:23:26 +0000 (22:23 +0000)]
2002-07-30  Toon Moene  <toon@moene.indiv.nluug.nl>

* flags.h: Declare flag_finite_math_only.
Use it in definition of HONOR_NANS and
HONOR_INFINITIES.
* c-common.c (cb_register_builtins): Emit
__FINITE_MATH_ONLY__ when flag_finite_math_only
is set.
* combine.c (simplify_if_then_else): If
flag_finite_math_only is set, a == b has a
definite value.
* toplev.c: Initialize flag_finite_math_only.
(set_flags_fast_math): Set it on -ffast-math.
(flag_fast_math_set_p): Test it.
doc:
* invoke.texi: Document -ffinite-math-only.
f:
* com.c (ffe_init_options): Set
flag_finite_math_only.
* invoke.texi: Document -fno-finite-math-only.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55887 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
rth [Tue, 30 Jul 2002 22:13:50 +0000 (22:13 +0000)]
    * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
        (noce_process_if_block): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55886 138bc75d-0d04-0410-961f-82ee72b054a4