OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago* arm.md (movqi): If optimizing and we can create pseudos, use
rearnsha [Mon, 22 Jul 2002 17:41:27 +0000 (17:41 +0000)]
* arm.md (movqi): If optimizing and we can create pseudos, use
a ZERO_EXTEND to load from memory, then copy the result into the
target.
(movhi): Likewise, but only for ARMv4.

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

21 years ago * ssa-ccp.c (PHI_PARMS): Remove.
neil [Mon, 22 Jul 2002 17:31:42 +0000 (17:31 +0000)]
* ssa-ccp.c (PHI_PARMS): Remove.

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

21 years ago * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
rsandifo [Mon, 22 Jul 2002 17:25:05 +0000 (17:25 +0000)]
* config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
on big-endian targets.

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

21 years ago * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
ghazi [Mon, 22 Jul 2002 17:11:57 +0000 (17:11 +0000)]
* hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE):
New formatting macros.

* ra-debug.c (dump_static_insn_cost): Avoid string concatenation.

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

21 years ago * rtlanal.c (subreg_regno_offset): Return correct offset for
amylaar [Mon, 22 Jul 2002 14:29:28 +0000 (14:29 +0000)]
* rtlanal.c (subreg_regno_offset): Return correct offset for
big endian paradoxical subregs.

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

21 years ago PR c++/7347, c++/7348
lerdsuwa [Mon, 22 Jul 2002 14:23:37 +0000 (14:23 +0000)]
PR c++/7347, c++/7348
* cp-tree.h (tsubst_flags_t): Add tf_parsing.
* decl.c (make_typename_type): Use it.
(make_unbound_class_template): Likewise.
(lookup_name_real): Don't call type_access_control if scope is
template parameter dependent.
* parse.y (template_arg): Call make_unbound_class_template with
tf_parsing set.
(nest_name_specifier): Call make_typename_type with tf_parsing set.
(typename_sub0): Likewise.
(typename_sub1): Likewise.
(instantiate_decl): Push class scope.
* pt.c (regenerate_decl_from_template): Call pushclass and popclass
for both static variable and member function template.
(instantiate_decl) Call pushclass and popclass when tsubst'ing type
and arguments.
* search.c (type_access_control): Do type access for TEMPLATE_DECL
too.

* g++.dg/template/access4.C: New test.
* g++.dg/template/access5.C: New test.
* g++.old-deja/g++.pt/memtemp85.C: Fix access problem.
* g++.old-deja/g++.pt/memtemp86.C: Likewise.
* g++.old-deja/g++.pt/ttp58.C: Likewise.
* g++.old-deja/g++.pt/memtemp89.C: Remove XFAIL.

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

21 years ago * optabs.c (expand_vector_unop): Don't expand using sub_optab
amylaar [Mon, 22 Jul 2002 14:22:58 +0000 (14:22 +0000)]
* optabs.c (expand_vector_unop): Don't expand using sub_optab
if we got the wrong mode.

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

21 years ago * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
amylaar [Mon, 22 Jul 2002 14:20:20 +0000 (14:20 +0000)]
* hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
* genrecog.c (write_switch, write_cond): Use it.
* genemit.c (gen_exp): Likewise.

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

21 years ago * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
jakub [Mon, 22 Jul 2002 10:15:49 +0000 (10:15 +0000)]
* c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.

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

21 years ago * c-decl.c (build_compound_literal): Defer compound literal decls
jakub [Mon, 22 Jul 2002 10:11:16 +0000 (10:11 +0000)]
* c-decl.c (build_compound_literal): Defer compound literal decls
until until file end to emit them only if they are actually used.

* gcc.dg/gnu89-init-2.c: New test.

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

21 years agoDaily bump.
gccadmin [Mon, 22 Jul 2002 07:16:57 +0000 (07:16 +0000)]
Daily bump.

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

21 years ago * ra-build.c (check_conflict_numbers): Hide unused function.
ghazi [Mon, 22 Jul 2002 02:04:25 +0000 (02:04 +0000)]
* ra-build.c (check_conflict_numbers): Hide unused function.
(livethrough_conflicts_bb): Avoid automatic aggregate
initialization.
(parts_to_webs_1): Avoid `U' integer constant modifier.
(conflicts_between_webs): Wrap a variable in the macro controlling
its usage.
* ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
(dump_igraph, dump_graph_cost): Avoid string concatenation
(dump_static_insn_cost): Avoid automatic aggregate
initialization.
* ra-rewrite.c (insert_stores): Avoid automatic aggregate
initialization.
(dump_cost): Avoid string concatenation

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

21 years ago * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
rth [Mon, 22 Jul 2002 00:42:54 +0000 (00:42 +0000)]
    * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
        GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.

        * lang.c (java_unsafe_for_reeval): New.
        (LANG_HOOKS_UNSAFE_FOR_REEVAL): New.

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

21 years ago * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
rth [Mon, 22 Jul 2002 00:29:56 +0000 (00:29 +0000)]
    * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
        that are not unrolled completely.

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

21 years ago * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
rth [Mon, 22 Jul 2002 00:26:03 +0000 (00:26 +0000)]
    * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
        * loop.c (strength_reduce): Update.
        * toplev.c (rest_of_compilation): Do unrolling in the first
        loop pass, not the second.

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

21 years ago * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
rth [Mon, 22 Jul 2002 00:23:47 +0000 (00:23 +0000)]
    * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
        when flag_argument_noalias == 2.
        * alias.c (nonoverlapping_memrefs_p): Handle that.
        * print-rtl.c (print_mem_expr): Likewise.

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

21 years ago * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
rth [Mon, 22 Jul 2002 00:15:49 +0000 (00:15 +0000)]
    * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
        instead of __negdi2 directly.

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

21 years ago * gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
neil [Sun, 21 Jul 2002 22:01:58 +0000 (22:01 +0000)]
* gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
* function.c (SYMBOL__MAIN): Remove definition.
* global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
* predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
* profile.c (GCOV_INDEX_TO_BB): Remove.
* sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
* simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.

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

21 years ago * c-lex.c (GET_ENVIRONMENT): Remove.
neil [Sun, 21 Jul 2002 21:59:03 +0000 (21:59 +0000)]
* c-lex.c (GET_ENVIRONMENT): Remove.
* collect2.c (GET_ENV_PATH_LIST): Remove.
(prefix_from_env): Use GET_ENVIRONMENT.
* cppinit.c (GET_ENV_PATH_LIST): Remove.
(init_standard_includes): Use GET_ENVIRONMENT.
* defaults.h (GET_ENVIRONMENT): Define here if not already.
* gcc.c (GET_ENV_PATH_LIST): Remove.
(make_relative_prefix, process_command): Update.
* protoize.c (GET_ENV_PATH_LIST): Remove.
(do_processing): Update.
java:
* jcf-path.c (GET_ENV_PATH_LIST): Remove.
(jcf_path_init): Use GET_ENVIRONMENT.

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

21 years ago2002-07-21 Gabriel Dos Reis <gdr@nerim.net>
gdr [Sun, 21 Jul 2002 21:35:17 +0000 (21:35 +0000)]
2002-07-21  Gabriel Dos Reis  <gdr@nerim.net>

        * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
        (grokdeclarator): Likewise.
        * c-format.c (C_STD_NAME): Likewise.
        * c-lex.c (interpret_integer): Likewise.
        * c-typeck.c (build_array_ref): Likewise.
        * cpplex.c (_cpp_lex_direct): Likewise.
        * toplev.c (documented_lang_options): Likewise.

testsuite/
2002-07-21  Gabriel Dos Reis  <gdr@nerim.net>

        * gcc.dg/c90-arraydecl-1.c: Change C89 too C90.

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

21 years ago * c-format.c (T99_I, T99_UI): Remove.
neil [Sun, 21 Jul 2002 20:39:34 +0000 (20:39 +0000)]
* c-format.c (T99_I, T99_UI): Remove.

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

21 years ago * c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
neil [Sun, 21 Jul 2002 20:10:51 +0000 (20:10 +0000)]
* c-typeck.c (SAVE_SPELLING_DEPTH): Remove.

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

21 years ago * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
hubicka [Sun, 21 Jul 2002 19:38:08 +0000 (19:38 +0000)]
* gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
do_local_cprop.

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

21 years ago * reload1.c (fixup_abnormal_edges): Remove unused variable.
aj [Sun, 21 Jul 2002 19:20:22 +0000 (19:20 +0000)]
    * reload1.c (fixup_abnormal_edges): Remove unused variable.

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

21 years agoEnhancements for the if-conversion pass
bernds [Sun, 21 Jul 2002 14:32:25 +0000 (14:32 +0000)]
Enhancements for the if-conversion pass

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

21 years agoDaily bump.
gccadmin [Sun, 21 Jul 2002 07:16:51 +0000 (07:16 +0000)]
Daily bump.

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

21 years ago * decl2.c (cxx_decode_option): Simplify -fhandle-exceptions
sayle [Sun, 21 Jul 2002 02:07:01 +0000 (02:07 +0000)]
* decl2.c (cxx_decode_option): Simplify -fhandle-exceptions
test by using positive_option.  Make whitespace consistent.

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

21 years ago * gcse.c: Include cselib.h
hubicka [Sat, 20 Jul 2002 22:56:05 +0000 (22:56 +0000)]
* gcse.c: Include cselib.h
(constptop_register): Break out from ...
(cprop_insn): ... here; kill basic_block argument.
(do_local_cprop, local_cprop_pass): New functions.
(one_cprop_pass): Call local_cprop_pass.

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

21 years ago * simplify-rtx.c (simplify_relational_operation): Optimize
sayle [Sat, 20 Jul 2002 22:24:58 +0000 (22:24 +0000)]
* simplify-rtx.c (simplify_relational_operation): Optimize
abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).

* gcc.c-torture/execute/20020720-1.c: New test case.

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

21 years ago * MAINTAINERS: Add myself as ra* maintainer.
matz [Sat, 20 Jul 2002 16:53:10 +0000 (16:53 +0000)]
    * MAINTAINERS: Add myself as ra* maintainer.

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

21 years ago * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
matz [Sat, 20 Jul 2002 16:52:37 +0000 (16:52 +0000)]
* ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.

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

21 years ago * cppexp.c (struct op): Add token pointer.
neil [Sat, 20 Jul 2002 13:31:56 +0000 (13:31 +0000)]
* cppexp.c (struct op): Add token pointer.
(check_promotion, CHECK_PROMOTION): New.
(optab): Update.
(_cpp_parse_expr): Update, use token pointer of struct op.
(reduce): Warn about change of sign owing to promotion.
* cppinit.c (cpp_handle_option): New warning if -Wall.
* cpplib.h (struct cpp_options): New member.
testsuite:
* gcc.dg/cpp/Wsignprom.c: New tests.

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

21 years ago * spew.c (struct uinparsed_test): Replace 'filename' and 'lineno'
gdr [Sat, 20 Jul 2002 12:45:45 +0000 (12:45 +0000)]
    * spew.c (struct uinparsed_test): Replace 'filename' and 'lineno'
        members with 'locus'.  Adjust use throughout.
        (struct feed):  Likewise.
        (alloc_unparsed_test): Change prototype, take a 'const location_t *'.
        Adjust use.
        (snarf_defarg): Use error(), not error_with_file_and_line().

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

21 years agoDaily bump.
gccadmin [Sat, 20 Jul 2002 07:16:56 +0000 (07:16 +0000)]
Daily bump.

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

21 years ago2002-07-20 Phil Edwards <pme@gcc.gnu.org>
pme [Sat, 20 Jul 2002 06:26:27 +0000 (06:26 +0000)]
2002-07-20  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/abi.txt:  New file.
* docs/html/23_containers/howto.html:  Tweak vector-overhead text.
* docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
Import from upstream, R22.

* include/bits/char_traits.h, include/bits/stl_iterator.h,
include/bits/stl_iterator_base_types.h, libsupc++/exception,
libsupc++/new, libsupc++/typeinfo:  Use @brief markup.

* include/bits/deque.tcc, include/bits/stl_alloc.h,
include/bits/stl_deque.h, include/bits/stl_list.h:  Postpone removal
of deprecated functions until 3.4.  (Same timeframe, different text.)
* include/bits/stl_vector.h:  Ditto.  Also do the same cleanups that
the other sequence classes received.

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

21 years ago * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
dje [Sat, 20 Jul 2002 02:20:16 +0000 (02:20 +0000)]
    * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
        fpu list.  Separate Power4 compare and delayed_compare.  Correct
        Power4 fpcompare.
        (fix_truncdfsi2_internal): Restore FPR preference.
        * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3,
        mcpu?power4, mcpu?604e.  Remove mpower, mpower2, mpowerpc.

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

21 years ago * reload1.c (reload_as_needed): Duplicate oldpat.
rth [Sat, 20 Jul 2002 01:30:31 +0000 (01:30 +0000)]
    * reload1.c (reload_as_needed): Duplicate oldpat.

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

21 years agoNew test.
amodra [Sat, 20 Jul 2002 00:33:49 +0000 (00:33 +0000)]
New test.

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

21 years ago PR optimization/7130
amodra [Sat, 20 Jul 2002 00:31:15 +0000 (00:31 +0000)]
PR optimization/7130
* loop.h (struct loop_info): Add "preconditioned".
* unroll.c (unroll_loop): Set it.
* doloop.c (doloop_modify_runtime): Correct count for unrolled loops.

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

21 years ago * rtl.def (CODE_LABEL): Remove slot 8.
zack [Fri, 19 Jul 2002 23:11:19 +0000 (23:11 +0000)]
* rtl.def (CODE_LABEL): Remove slot 8.
* rtl.h (struct rtx_def): Document new uses of jump and call fields.
(LABEL_ALTERNATE_NAME): Delete.
(LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New.
* defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME.

* final.c (output_alternate_entry_point): New.
(final_scan_insn): Use it instead of
ASM_OUTPUT_ALTERNATE_LABEL_NAME.  Do not consider possibility
of a case label being an alternate entry point.

* cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P.
* emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL.
Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME
(field deleted).
* print-rtl.c, ra-debug.c: Update code to output CODE_LABELs.

* doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and
LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME.
* doc/tm.texi: Delete documentation of
ASM_OUTPUT_ALTERNATE_LABEL_NAME.

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

21 years ago * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
ro [Fri, 19 Jul 2002 21:58:12 +0000 (21:58 +0000)]
* config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
(PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG.
(LINK_SPEC): Define.
(STARTFILE_SPEC): Define.
(ENDFILE_SPEC): Define.

* config/mips/iris6-o32.h (LINK_SPEC): Move ...
* config/mips/iris6-o32-as.h (LINK_SPEC): ... here.

* config/mips/iris6-o32-gas.h: New file.
* config.gcc (mips-sgi-irix6*o32): Use it.

* config/mips/t-iris5-gas: New file.
* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.

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

21 years ago * cppexp.c (ALWAYS_EVAL): Remove.
neil [Fri, 19 Jul 2002 19:24:43 +0000 (19:24 +0000)]
* cppexp.c (ALWAYS_EVAL): Remove.
(optab, reduce): Always evaluate.
(num_unary_op, num_binary_op, num_div_op): Issue diagnostics
only if not skipping evaluation.
testsuite:
* gcc.dg/cpp/expr.c: New tests.

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

21 years ago * config/avr/avr.c (debug_hard_reg_set): Remove.
marekm [Fri, 19 Jul 2002 18:30:34 +0000 (18:30 +0000)]
* config/avr/avr.c (debug_hard_reg_set): Remove.

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

21 years ago[ ChangeLog ]
cgd [Fri, 19 Jul 2002 17:12:14 +0000 (17:12 +0000)]
[ ChangeLog ]
2002-07-19  Chris Demetriou  <cgd@broadcom.com>

        * gcc.c (cpp_options): Include "%1" (cc1_spec).

[ cp/ChangeLog ]
2002-07-19  Chris Demetriou  <cgd@broadcom.com>

        * lang-specs.h (@c++): Include "%2" (cc1plus_spec) wherever
        cpp_options is included.

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

21 years ago * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
rth [Fri, 19 Jul 2002 16:31:40 +0000 (16:31 +0000)]
    * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.

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

21 years ago * configure.in (sh[34]*-*-linux*): Add brackets.
kkojima [Fri, 19 Jul 2002 15:30:58 +0000 (15:30 +0000)]
* configure.in (sh[34]*-*-linux*): Add brackets.
* configure: Regenerate.

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

21 years ago2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
bo [Fri, 19 Jul 2002 14:41:15 +0000 (14:41 +0000)]
2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>

        * java/lang/ieeefp.h: Add x86-64 support.
        * configure.in: Likewise.
        * configure.host: Likewise.
        * configure: Regenerated.
        * sysdep/x86-64/locks.h: New file with x86-64 locks.

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

21 years ago * prefix.c (update_path): Don't zap single `.' path components
amodra [Fri, 19 Jul 2002 13:24:55 +0000 (13:24 +0000)]
* prefix.c (update_path): Don't zap single `.' path components
unless followed by another `.' and fix typo last patch.

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

21 years agoRemove dead endif so x86-64 compilation works.
bo [Fri, 19 Jul 2002 11:21:36 +0000 (11:21 +0000)]
Remove dead endif so x86-64 compilation works.

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

21 years ago2002-07-18 Bo Thorsen <bo@suse.de>
bo [Fri, 19 Jul 2002 08:54:44 +0000 (08:54 +0000)]
2002-07-18  Bo Thorsen  <bo@suse.de>

* include/private/gcconfig.h: Add x86-64 definitions.
* os_dep.c: Add x86-64 support.
* configure.in: Likewise.
* configure: Regenerate.

Approved by Hans Boehm.

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

21 years agoDaily bump.
gccadmin [Fri, 19 Jul 2002 07:16:57 +0000 (07:16 +0000)]
Daily bump.

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

21 years agoe <brendan@zen.org>
gdr [Fri, 19 Jul 2002 04:51:42 +0000 (04:51 +0000)]
e  <brendan@zen.org>

        * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
        _Nname to _Name.

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

21 years ago * include/bits/slice_array.h
gdr [Fri, 19 Jul 2002 04:45:20 +0000 (04:45 +0000)]
    * include/bits/slice_array.h
        (slice_array<T>::operator=(const T&)): Constify.
        * include/bits/gslice_array.h
        (gslice_array<T>::operator=(const T&)):  Likewise.
        * include/bits/mask_array.h
        (mask_array<T>::operator=(const T&)): Likewise.
        * include/bits/indirect_array.h
        (indirect_array<T>::operator=(const T&): Likewise.
:w

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

21 years ago * Makefile.am: Add SH support.
kkojima [Fri, 19 Jul 2002 01:08:43 +0000 (01:08 +0000)]
* Makefile.am: Add SH support.
* Makefile.in: Regenerate.
* configure.in (sh-*-linux*, sh[34]*-*-linux*): Add target.
* configure: Regenerate.
* include/ffi.h.in: Add SH support.
* src/sh/ffi.c: New file.
* src/sh/sysv.S: New file.
* src/types.c: Add SH support.

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

21 years agoForgot this file.
bo [Fri, 19 Jul 2002 00:37:03 +0000 (00:37 +0000)]
Forgot this file.

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

21 years ago * g++.dg/opt/pr6713.C: Add template instantiation.
dje [Fri, 19 Jul 2002 00:07:56 +0000 (00:07 +0000)]
    * g++.dg/opt/pr6713.C: Add template instantiation.

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

21 years ago2002-07-16 Bo Thorsen <bo@suse.de>
bo [Thu, 18 Jul 2002 23:08:31 +0000 (23:08 +0000)]
2002-07-16  Bo Thorsen  <bo@suse.de>

* src/x86/ffi64.c: New file that adds x86-64 support.
* src/x86/unix64.S: New file that handles argument setup for
x86-64.
* src/x86/sysv.S: Don't use this on x86-64.
* src/x86/ffi.c: Don't use this on x86-64.
Remove unused vars.
* src/prep_cif.c (ffi_prep_cif): Don't do stack size calculation
for x86-64.
* src/ffitest.c (struct6): New test that tests a special case in
the x86-64 ABI.
(struct7): Likewise.
(struct8): Likewise.
(struct9): Likewise.
(closure_test_fn): Silence warning about this when it's not used.
(main): Add the new tests.
(main): Fix a couple of wrong casts and silence some compiler warnings.
* include/ffi.h.in: Add x86-64 ABI definition.
* fficonfig.h.in: Regenerate.
* Makefile.am: Add x86-64 support.
* configure.in: Likewise.
* Makefile.in: Regenerate.
* configure: Likewise.

2002-06-24  Bo Thorsen  <bo@suse.de>

* src/types.c: Merge settings for similar architectures.
Add x86-64 sizes and alignments.

2002-06-23  Bo Thorsen  <bo@suse.de>

* src/arm/ffi.c (ffi_prep_args): Remove unused vars.
* src/sparc/ffi.c (ffi_prep_args_v8): Likewise.
* src/mips/ffi.c (ffi_prep_args): Likewise.
* src/m68k/ffi.c (ffi_prep_args): Likewise.

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

21 years ago * cppexp.c (cpp_num_mul): Remove unused parameter.
neil [Thu, 18 Jul 2002 22:08:35 +0000 (22:08 +0000)]
* cppexp.c (cpp_num_mul): Remove unused parameter.
(UNARY, BINARY, OTHER, binary_handler): Remove.
(ALWAYS_EVAL): New.
(optab): Update.
(reduce): Refactor to a large switch, don't use a function
pointer.

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

21 years ago2002-07-18 Bo Thorsen <bo@berlioz.suse.de>
bo [Thu, 18 Jul 2002 20:56:33 +0000 (20:56 +0000)]
2002-07-18  Bo Thorsen  <bo@berlioz.suse.de>

* config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always.

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

21 years ago2002-07-18 H.J. Lu <hjl@gnu.org>
hjl [Thu, 18 Jul 2002 20:06:00 +0000 (20:06 +0000)]
2002-07-18  H.J. Lu <hjl@gnu.org>

* mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.

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

21 years ago2002-07-18 H.J. Lu (hjl@gnu.org)
hjl [Thu, 18 Jul 2002 19:41:37 +0000 (19:41 +0000)]
2002-07-18  H.J. Lu  (hjl@gnu.org)

* configure.in (machdep): Don't add mips_sgi_mach_dep.lo for
Linux/mips.

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

21 years ago * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
amylaar [Thu, 18 Jul 2002 19:26:07 +0000 (19:26 +0000)]
* sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
(sh_expand_binop_v2sf): Likewise.
* sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA.
(int_gpr_dest, trunc_hi_operand): New functions.
* sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and
trunc_hi_operand.
(SPECIAL_MODE_PREDICATES, any_register_operand): Define.
* sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about.
(adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise.
(ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise.
(and_shl_scratch+[12], zero_extendhidi2+1): Likewise.
(zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise.
(extendhisi2_media+1, extendqisi2_media+1): Likewise.
(movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise.
(movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise.
(movsf_ie+1): Likewise.
(loaddi_trunc): Use int_gpr_dest predicate.
(use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s).
(mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise.
(casesi_worker_0+[12], casesi_worker): Likewise.
(shcompact_preserve_incoming_args): Likewise.
(mov_nop): Use any_register_operand predicate.
(mperm_w0): Use trunc_hi_operand predicate.

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

21 years ago * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
danglin [Thu, 18 Jul 2002 18:18:26 +0000 (18:18 +0000)]
* pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
* pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
numbering.

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

21 years ago * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
danglin [Thu, 18 Jul 2002 17:58:44 +0000 (17:58 +0000)]
* pa.c (output_deferred_plabels): Remove unused millicode enum mulU.

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

21 years ago2002-07-18 H.J. Lu (hjl@gnu.org)
hjl [Thu, 18 Jul 2002 17:55:28 +0000 (17:55 +0000)]
2002-07-18  H.J. Lu  (hjl@gnu.org)

* Makefile.am (TARGET_SRC_MIPS_LINUX): New.
(libffi_la_SOURCES): Support MIPS_LINUX.
(libffi_convenience_la_SOURCES): Likewise.
* Makefile.in: Regenerated.

* configure.in (mips64*-*): Skip.
(mips*-*-linux*): New.
* configure: Regenerated.

* src/mips/ffi.c: Include <sgidefs.h>.

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

21 years ago * ifcvt.c (noce_get_condition): Make certain that the condition
rth [Thu, 18 Jul 2002 17:48:04 +0000 (17:48 +0000)]
    * ifcvt.c (noce_get_condition): Make certain that the condition
        is valid at JUMP.

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

21 years ago * libjava.compile/compile.exp: Sort sources.
ro [Thu, 18 Jul 2002 17:42:31 +0000 (17:42 +0000)]
* libjava.compile/compile.exp: Sort sources.
* libjava.jni/jni.exp (gcj_jni_run): Likewise.
* libjava.lang/lang.exp: Likewise.

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

21 years ago * sh.c (barrier_align, push): Shut up compiler warnings.
amylaar [Thu, 18 Jul 2002 12:47:34 +0000 (12:47 +0000)]
* sh.c (barrier_align, push): Shut up compiler warnings.
(initial_elimination_offset,sh_media_init_builtins): Likewise.
(reg_no_subreg_operand): Delete.

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

21 years ago2002-07-17 Bo Thorsen <bo@suse.de>
bo [Thu, 18 Jul 2002 08:47:42 +0000 (08:47 +0000)]
2002-07-17  Bo Thorsen  <bo@suse.de>

* config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
(STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
(STARTFILE_SPEC): Remove hardcoded library paths.
(ENDFILE_SPEC): Likewise.

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

21 years ago * gcse.c (hoist_expr_reaches_here_p): Stop once expr_bb is reached.
hubicka [Thu, 18 Jul 2002 07:40:16 +0000 (07:40 +0000)]
* gcse.c (hoist_expr_reaches_here_p):  Stop once expr_bb is reached.

* gcse.c (try_replace_reg): Do not return false positives.

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

21 years agoDaily bump.
gccadmin [Thu, 18 Jul 2002 07:19:00 +0000 (07:19 +0000)]
Daily bump.

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

21 years ago * prefix.c: (update_path): Strip ".." components when prior dir
amodra [Thu, 18 Jul 2002 06:44:35 +0000 (06:44 +0000)]
* prefix.c: (update_path): Strip ".." components when prior dir
doesn't exist.  Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.

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

21 years ago * gcc.dg/nest.c: New.
amodra [Thu, 18 Jul 2002 03:41:04 +0000 (03:41 +0000)]
* gcc.dg/nest.c: New.

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

21 years ago * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
amodra [Thu, 18 Jul 2002 03:39:44 +0000 (03:39 +0000)]
* config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
(ASM_OUTPUT_REG_POP): Likewise.

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

21 years ago * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
amodra [Thu, 18 Jul 2002 00:15:32 +0000 (00:15 +0000)]
* config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
adjustments to first_reg for profiling case.
(output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
Save static chain reg to sp + 12 on ABI_AIX_NODESC.
* config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
(ASM_OUTPUT_REG_POP): Define.
* config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
(ASM_OUTPUT_REG_POP): Undef.

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

21 years ago2002-07-17 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 17 Jul 2002 22:02:32 +0000 (22:02 +0000)]
2002-07-17  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/run_doxygen:  Remove template parameter names from
"Compound List" summary page.  Reformat.
* docs/html/documentation.html:  XHTML fixes.

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

21 years ago * cpplib.c (do_sccs): Handle #sccs on all systems.
neil [Wed, 17 Jul 2002 21:31:42 +0000 (21:31 +0000)]
* cpplib.c (do_sccs): Handle #sccs on all systems.
* system.h (SCCS_DIRECTIVE): Poison.
* config/darwin.h, config/freebsd.h, config/netbsd.h,
config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
Remove all references to SCCS_DIRECTIVE.
* doc/cpp.texi, doc/tm.texi: Update.

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

21 years ago * regrename.c (maybe_mode_change): New function.
amylaar [Wed, 17 Jul 2002 18:24:46 +0000 (18:24 +0000)]
* regrename.c (maybe_mode_change): New function.
(find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.

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

21 years ago * config/i386/i386.c (ix86_expand_int_movcc): In the general case
rth [Wed, 17 Jul 2002 18:09:56 +0000 (18:09 +0000)]
    * config/i386/i386.c (ix86_expand_int_movcc): In the general case
        suppress addition when either ct or cf are zero.

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

21 years ago PR optimization/6713
rth [Wed, 17 Jul 2002 18:00:35 +0000 (18:00 +0000)]
 PR optimization/6713
 * loop.c (loop_givs_rescan): Explicitly delete the insn that
 sets a non-replaceable giv after issuing the new one.

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

21 years ago * gcc.c-torture/execute/loop-2e.x: Let the testcase
rth [Wed, 17 Jul 2002 17:55:23 +0000 (17:55 +0000)]
 * gcc.c-torture/execute/loop-2e.x: Let the testcase
 XFAIL for all x86 processors.

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

21 years ago * gcc.c-torture/execute/20010122-1.x: Do not test with
rth [Wed, 17 Jul 2002 17:54:16 +0000 (17:54 +0000)]
    * gcc.c-torture/execute/20010122-1.x: Do not test with
        -fomit-frame-pointer.

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

21 years ago * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
neil [Wed, 17 Jul 2002 17:27:14 +0000 (17:27 +0000)]
* cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
eval_token): Clarify and correct use of "bool" variables.
* cpplib.h (struct cpp_options): Similarly.
* cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
* cpptrad.c (recursive_macro): Similarly.

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

21 years ago* mangle.c (write_unqualified_name): Handle template parm
jason [Wed, 17 Jul 2002 16:43:42 +0000 (16:43 +0000)]
* mangle.c (write_unqualified_name): Handle template parm
subtitution.
* class.c (build_base_field): Set DECL_PACKED.
(layout_class_type): Don't use tail padding of PODs.

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

21 years agoFix file name.
amylaar [Wed, 17 Jul 2002 16:10:43 +0000 (16:10 +0000)]
Fix file name.

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

21 years ago * lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
amylaar [Wed, 17 Jul 2002 16:09:43 +0000 (16:09 +0000)]
* lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
SHmedia code.

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

21 years ago * sh.md (cmpgtudi_media): Remove spurious @.
amylaar [Wed, 17 Jul 2002 16:06:18 +0000 (16:06 +0000)]
* sh.md (cmpgtudi_media): Remove spurious @.

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

21 years ago * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
amylaar [Wed, 17 Jul 2002 16:02:53 +0000 (16:02 +0000)]
* config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
* sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.

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

21 years ago * config/sh/lib1funcs.asm (init_trampoline): New entry point.
amylaar [Wed, 17 Jul 2002 15:43:18 +0000 (15:43 +0000)]
* config/sh/lib1funcs.asm (init_trampoline): New entry point.
* sh-protos.h (sh_initialize_trampoline): Declare.
* sh.c (sh_initialize_trampoline): New function.
* sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
(TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
(INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
(TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
* sh.md (initialize_trampoline, double_shori): New patterns.
(initialize_trampoline_compact): Likewise.
(shmedia32_initialize_trampoline_big): Remove.
(shmedia32_initialize_trampoline_little): Likewise.

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

21 years ago * sh-protos.h (binary_float_operator): Remove declaration.
amylaar [Wed, 17 Jul 2002 15:15:04 +0000 (15:15 +0000)]
* sh-protos.h (binary_float_operator): Remove declaration.
(sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
* sh.c (print_operand, case 'N'): Check against CONST0_RTX.
(unary_float_operator, sh_expand_unop_v2sf): New functions.
(sh_expand_binop_v2sf): Likewise.
(zero_vec_operand): Delete.
(SH_BLTIN_UDI): New builtin shared signature define.  Renumbered
all non-shared ones.
(bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
Enable nsb and byterev.
* sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
(HARD_REGNO_MODE_OK): Allow TImode in fp regs.  Allow V2SFmode
in general regs.
(enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
(SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.  Remove clause for
immediate operands.
(SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
Add DF_HI_REGS.
(CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
lowpart fp regs - only for big endian for now.
(LEGITIMATE_CONSTANT_P): Don't allow non-zero float vectors
when FPU is in use.
(EXTRA_CONTRAINT_U): Check against CONST0_RTX.
(LOAD_EXTEND_OP): NIL for SImode.
(REGISTER_MOVE_COST): Add DF_HI_REGS.  Const for moves between
general and fp registers is 4.
PREDICATE_CODES: Amend binary_float_operator entry.
Remove zero_vec_operand.  Add unary_float_operator.
* sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
subreg SET_DEST.
(truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
(truncdiqi2): Do sign extension.
(movsi_media, movdi_media): Allow to use r63 to an fp register.
(movdf_media, movsf_media): Likewise.
(movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
Collapse to one define_insn_and_split.  Allow immediate sources.
(addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
(movv4sf_i): Allow immediate sources.  Use simplify_gen_subreg.
(movv4sf): Allow immediate sources.
(movsf_media_nofpu+1): Don't split moves to FP registers.
(unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
(movv8qi_i+3): Check against CONST0_RTX.
(mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
for input and output operands.  Fix argument 3 to gen_mextr_rl.
(mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
(msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
(mshf0_w, fipr, ftrv): Likewise.
(mshfhi_l_di): Now insn_and_split.  Can handle FP regs.

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

21 years ago PR c++/2862, c++/2863
lerdsuwa [Wed, 17 Jul 2002 14:17:21 +0000 (14:17 +0000)]
PR c++/2862, c++/2863
* pt.c (determine_specialization): Compare the length of
TYPE_ARG_TYPES.  Tidy.

* g++.dg/template/instantiate2.C: New test.
* g++.dg/template/spec4.C: New test.

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

21 years ago PR c++/3797
lerdsuwa [Wed, 17 Jul 2002 14:07:42 +0000 (14:07 +0000)]
PR c++/3797
* decl.c (duplicate_decls): Don't propagate inlining parameters from
olddecl to newdecl when newdecl is a specialization of the
instantiation olddecl.

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

21 years ago PR c++/4802, c++/5387
lerdsuwa [Wed, 17 Jul 2002 13:56:46 +0000 (13:56 +0000)]
PR c++/4802, c++/5387
* decl.c (make_typename_type): Use enforce_access.

* g++.dg/template/access2.C: New test.
* g++.dg/template/access3.C: New test.

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

21 years ago PR c++/7320
nathan [Wed, 17 Jul 2002 11:46:38 +0000 (11:46 +0000)]
PR c++/7320
* rtti.c (get_tinfo_decl): Set DECL_COMDAT.

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

21 years agoFrom Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
rearnsha [Wed, 17 Jul 2002 09:54:11 +0000 (09:54 +0000)]
From Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
* arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively.  All uses changed.
* arm.c: Similarly.

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

21 years ago * config/mips/mips-protos.h (mips_sign_extend): Declare.
rsandifo [Wed, 17 Jul 2002 09:24:08 +0000 (09:24 +0000)]
* config/mips/mips-protos.h (mips_sign_extend): Declare.
* config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
(TARGET_SWITCHES): Remove debugh.
(ISA_HAS_TRUNC_W): New macro.
(CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
(PREDICATE_CODES): Remove se_nonimmediate_operand.
* config/mips/mips.c (movdi_operand): Allow sign-extensions of
any SImode move_operand.
(se_nonimmediate_operand): Remove.
(mips_sign_extend): New.
(mips_move_2words): Use it for sign-extended source operands.
(override_options): Allow integers to be put into single FPRs.
(mips_secondary_reload_class): Handle integers in float registers.
* config/mips/mips.md (extendsidi2): Turn into a define_expand.
(fix_truncsfsi2, fix_truncdfsi2): Likewise.
(fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
(fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
(fix_truncdfdi2): Provide only a single alternative, in which the
integer is in a float register.  Depend on TARGET_FLOAT64 rather
than TARGET_64BIT.
(fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
(floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
(movdi_internal2): Don't allow the source operand to be sign-extended.
Add alternatives for float registers.
(*movdi_internal2_extend): New.  Version of movdi_internal2 that
allows sign-extension.
(*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
(movsi_internal2): Rename to movsi_internal.  Add alternatives for
float registers.  Remove TARGET_DEBUG_H_MODE test.
(movhi_internal1): Rename to movhi_internal.  Don't check
TARGET_DEBUG_H_MODE.  Fix transposed *d and *f source constraints.
(movqi_internal1): Rename to movqi_internal and remove
TARGET_DEBUG_H_MODE dependency.
(movsi_internal1, movhi_internal2, movqi_internal2): Remove.

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

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

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

21 years agoFix for i960 build failure reported by Andreas Jaeger.
wilson [Wed, 17 Jul 2002 03:03:40 +0000 (03:03 +0000)]
Fix for i960 build failure reported by Andreas Jaeger.
* toplev.c (lang_dependent_init): Create function context for
init_expr_once.

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

21 years ago * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
hp [Wed, 17 Jul 2002 01:49:50 +0000 (01:49 +0000)]
* config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
--gc-sections if -r.
* config/cris/cris.h: Ditto.

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

21 years ago * config/i386/i386.c (ix86_expand_int_movcc): In the case where
rth [Wed, 17 Jul 2002 01:36:36 +0000 (01:36 +0000)]
    * config/i386/i386.c (ix86_expand_int_movcc): In the case where
        the comparison directly gives a mask suppress addition when cf is
        zero by complementing the mask.

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