OSDN Git Service

pf3gnuchains/gcc-fork.git
24 years ago * Makefile.in (MARLINK, MSHLINK): Handle library version
law [Thu, 5 Aug 1999 08:01:12 +0000 (08:01 +0000)]
    * Makefile.in (MARLINK, MSHLINK): Handle library version
        number components with more than one numeric digit.

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

24 years agoDaily bump.
law [Thu, 5 Aug 1999 07:45:09 +0000 (07:45 +0000)]
Daily bump.

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

24 years ago * rs6000.c (current_file_function_operand): Return zero for
law [Thu, 5 Aug 1999 07:17:35 +0000 (07:17 +0000)]
    * rs6000.c (current_file_function_operand): Return zero for
        weak functions.
        (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
        weak symbols.
        * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
        for weak symbols.

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

24 years ago * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
law [Thu, 5 Aug 1999 06:59:54 +0000 (06:59 +0000)]
    * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
        allocate space in the stack frame for the PIC register.

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

24 years ago * m68k.md (xordi3, anddi3): These patterns are not available on
law [Thu, 5 Aug 1999 06:22:16 +0000 (06:22 +0000)]
    * m68k.md (xordi3, anddi3): These patterns are not available on
        the coldfire.

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

24 years ago * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
law [Thu, 5 Aug 1999 05:41:34 +0000 (05:41 +0000)]
    * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
        (PUT_REAL): Likewise.

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

24 years ago1999-08-04 Per Bothner <per@bothner.com>
tromey [Thu, 5 Aug 1999 05:21:44 +0000 (05:21 +0000)]
1999-08-04  Per Bothner <per@bothner.com>

* configure.in:  Also do AC_SUBST for DIVIDESPEC.

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

24 years ago * gcc.c-torture/execute/970312-1.c: Delete duplicate test.
law [Thu, 5 Aug 1999 03:34:54 +0000 (03:34 +0000)]
    * gcc.c-torture/execute/970312-1.c: Delete duplicate test.

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

24 years ago * a29k/t-a29kbare: Fix some comments.
law [Thu, 5 Aug 1999 03:27:49 +0000 (03:27 +0000)]
* a29k/t-a29kbare: Fix some comments.
(LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
(FPBIT, DPBIT): Define.
* a29k/t-vx29k: Likewise.
* arc/t-arc: Likewise.
* arm/t-arm-elf: Likewise.
* arm/t-bare: Likewise.
* arm/t-pe: Likewise.
* arm/t-pe-thumb: Likewise.
* arm/t-semi: Likewise.
* arm/t-thumb: Likewise.
* arm/t-thumb-elf: Likewise.
* arm/t-thumb-linux: Likewise.
* h8300/t-h8300: Likewise.
* i960/t-i960: Likewise.
* i960/t-vxworks960: Likewise.
* m32r/t-m32r: Likewise.
* mips/t-ecoff: Likewise.
* mips/t-elf: Likewise.
* mips/t-r3900: Likewise.
* pa/t-pro: Likewise.
* rs6000/t-aix43: Likewise.
* rs6000/t-beos: Likewise.
* rs6000/t-newas: Likewise.
* rs6000/t-ppccomm: Likewise.
* rs6000/t-rs6000: Likewise.
* rs6000/t-winnt: Likewise.
* rs6000/t-xnewas: Likewise.
* rs6000/t-xrs6000: Likewise.
* sh/t-sh: Likewise.
* sparc/t-elf: Likewise.
* sparc/t-sparcbare: Likewise.
* sparc/t-sparclite: Likewise.
* sparc/t-splet: Likewise.
* v850/t-v850: Likewise.
* mn10200/t-mn10200: Fix comments.
* mn10300/t-mn10300: Likewise.

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

24 years ago * final.c (shorten_branches): Don't add an alignment for loops
amylaar [Wed, 4 Aug 1999 22:13:14 +0000 (22:13 +0000)]
* final.c (shorten_branches): Don't add an alignment for loops
that have no label inside.

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

24 years agoRemoved extra ';;'
tromey [Wed, 4 Aug 1999 20:57:53 +0000 (20:57 +0000)]
Removed extra ';;'

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

24 years agoWarning fixes:
ghazi [Wed, 4 Aug 1999 20:47:45 +0000 (20:47 +0000)]
Warning fixes:

* builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
prototypes in macro HAVE_cmpstrsi.

* cpplib.c (cpp_get_token): Remove unused label `op3'.

* emit-rtl.c (operand_subword): Remove unused variable
`bits_per_word'.

* rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.

* tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.

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

24 years agoregen
jason [Wed, 4 Aug 1999 20:43:02 +0000 (20:43 +0000)]
regen

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

24 years agoWed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
zack [Wed, 4 Aug 1999 20:39:33 +0000 (20:39 +0000)]
Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>

* cpphash.c (macroexpand): Delete leading whitespace when arg
is concatenated before.
(unsafe_chars): Correct test for whether + and - can extend a
token.

* cppinit.c (cpp_start_read): Do dependencies for
-include/-imacros files also.

* cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
tokenizing non-directive lines.
(cpp_expand_to_buffer): Temporarily disable no-output mode.
* cppmain.c: In no-output mode, just call cpp_scan_buffer for
the input file.

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

24 years ago * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
jason [Wed, 4 Aug 1999 20:32:26 +0000 (20:32 +0000)]
* expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.

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

24 years ago * configure.in: Added missing `;;'. From Anthony Green.
tromey [Wed, 4 Aug 1999 20:25:54 +0000 (20:25 +0000)]
* configure.in: Added missing `;;'.  From Anthony Green.

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

24 years agoregen
jason [Wed, 4 Aug 1999 19:57:59 +0000 (19:57 +0000)]
regen

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

24 years ago * c-parse.in: Add END_OF_LINE token.
jason [Wed, 4 Aug 1999 19:57:26 +0000 (19:57 +0000)]
* c-parse.in: Add END_OF_LINE token.

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

24 years ago * c-lex.c: Sync with C++ frontend.
jason [Wed, 4 Aug 1999 19:55:31 +0000 (19:55 +0000)]
* c-lex.c: Sync with C++ frontend.
(linemode): New variable.
(parse_float): imag, conversion_errno, and type are output only.
(yylex): Adjust.  Move initial '.' case into main switch.
Use linemode.
(handle_generic_pragma): Just deal with tokens.
(readescape): Use ISXDIGIT and ISGRAPH.
* c-parse.in: Add END_OF_LINE token.

* c-lex.c (lang_init): Generalize.
(nextchar): Remove.  Replace uses with UNGETC.
(skip_white_space): Handle linemode here.  Optimize for cpplib.
(skip_white_space_on_line): Remove.
(extend_token_buffer_to): New fn.
(extend_token_buffer): Use it.
(read_line_number, check_newline): Just deal with tokens.
(token_getch, token_put_back): New fns.
(yylex): Use them.  More cpplib optimizations.  Simplify.

* c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
(consume_string): Make this smart about USE_CPPLIB.
(check_newline): Rewrite to be intelligent about USE_CPPLIB.
(yylex): Rewrite to be intelligent about USE_CPPLIB.
Also, clean up cases where we redundantly set token_buffer[0].
(read_line_number): New fn.
(ignore_escape_flag): New variable.

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

24 years agoUpdated THANKS
tromey [Wed, 4 Aug 1999 19:55:25 +0000 (19:55 +0000)]
Updated THANKS

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

24 years agoMon Aug 2 23:09:41 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
tromey [Wed, 4 Aug 1999 19:51:34 +0000 (19:51 +0000)]
Mon Aug  2 23:09:41 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.

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

24 years ago * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
law [Wed, 4 Aug 1999 19:27:02 +0000 (19:27 +0000)]
    * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
        dummy operand.  Allocate a new pseudo for the dummy operand.
        (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.

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

24 years ago * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
law [Wed, 4 Aug 1999 19:13:09 +0000 (19:13 +0000)]
* pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.

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

24 years ago * configure: Rebuilt.
tromey [Wed, 4 Aug 1999 18:28:22 +0000 (18:28 +0000)]
* configure: Rebuilt.
* configure.in: Removed --enable-java-gc option and JAVAGC subst.

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

24 years ago* arm.c (typedef minipool_node): Renamed from pool_node.
rearnsha [Wed, 4 Aug 1999 13:40:10 +0000 (13:40 +0000)]
* arm.c (typedef minipool_node): Renamed from pool_node.
(minipool_vector, minipool_size, minipool_vector_label): Similarly.
(add_minipool_constant): New function.
(dump_minipool): New function.
(find_barrier): Remove special case for getting the insn size of
an insn that references the constant pool.
(minipool_fixup): New structure.
(push_minipool_barrier): New function.
(push_minipool_fix): New function.
(note_invalid_constants): New function.
(add_pool_constant, dump_table, fixit, broken_move): Delete.
(arm_reorg): Rewrite code to fix up the constant pool into a
series of mini-pools embedded in the insn stream.
(arm_output_epilogue): New function, made mainly from the body
of output_func_epilogue.
(output_func_epilogue): Move insn generation part of epilogue code
to arm_output_epilogue.
* arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
* arm.md (pool_range): New attribute.
(zero_extendqidi2): Add attribute pool_range.
(zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
(epilogue): New expand.
(epilogue_insn): New insn.  Call arm_output_epilogue.

* arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
* arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.

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

24 years agoWarning fixes:
ghazi [Wed, 4 Aug 1999 13:30:51 +0000 (13:30 +0000)]
Warning fixes:

        * Makefile.in (lang.o): Depend on $(RTL_H) $(EXPR_H).

        * expr.c (java_stack_pop, java_array_data_offset,
        build_java_throw_out_of_bounds_exception, case_identity,
        build_java_check_indexed_type): Add static prototypes.
        (linenumber_table, expand_invoke, expand_java_field_op,
        build_primtype_type_ref, expand_byte_code): Constify a char*.

        * java-tree.h (build_primtype_type_ref, linenumber_table):
        Constify a char*.
        (java_lang_expand_expr): Add prototype.

        * lang.c: Include rtl.h and expr.h.  Remove extern prototype for
        `java_lang_expand_expr'.

        * lex.c (java_lex_error): Constify a char*.
        (java_get_unicode, java_read_char, java_allocate_new_line,
        java_unget_unicode, java_sneak_unicode): Prototype.

        * parse-scan.y (current_class, package_name, method_declarator,
        report_class_declaration, yyerror): Constify a char*.

        * parse.h (java_report_errors): Prototype.
        (yyerror): Constify a char*.

        * parse.y (classitf_redefinition_error, check_modifiers,
        parse_jdk1_1_error, lookup_package_type,
        lookup_package_type_and_set_next, get_printable_method_name,
        purify_type_name): Constify a char*.
        (build_super_invocation, maybe_generate_finit,
        verify_constructor_super, parser_add_interface,
        add_superinterfaces, jdep_resolve_class, note_possible_classname,
        java_complete_expand_methods, java_expand_finals,
        cut_identifier_in_qualified, java_stabilize_reference,
        do_unary_numeric_promotion, operator_string, do_merge_string_cste,
        merge_string_cste): Prototype.
        (single_type_import_declaration, yyerror,
        variable_redefinition_error, build_array_from_name,
        build_unresolved_array_type, check_class_interface_creation,
        resolve_class, complete_class_report_errors,
        note_possible_classname, read_import_dir,
        find_in_imports_on_demand, resolve_package, fix_constructors,
        check_deprecation, lookup_method_invoke,
        maybe_build_primttype_type_ref, array_constructor_check_entry):
        Constify a char*.
        (java_complete_expand_methods, java_expand_finals): Make static.
        (convert_narrow): Remove static prototype.

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

24 years ago* recog.c (preproces_constraints): Zero recog_op_alt before
rearnsha [Wed, 4 Aug 1999 13:11:20 +0000 (13:11 +0000)]
* recog.c (preproces_constraints): Zero recog_op_alt before
processing the constraints.

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

24 years ago * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
jason [Wed, 4 Aug 1999 11:27:20 +0000 (11:27 +0000)]
* linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.

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

24 years ago * g++.old-deja/g++.eh/spec6.C: Add more tests. Remove XFAILS.
nathan [Wed, 4 Aug 1999 09:09:21 +0000 (09:09 +0000)]
* g++.old-deja/g++.eh/spec6.C: Add more tests. Remove XFAILS.

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

24 years ago * cp-tree.h (empty_except_spec): New global var.
nathan [Wed, 4 Aug 1999 09:07:51 +0000 (09:07 +0000)]
* cp-tree.h (empty_except_spec): New global var.
(compexcepttypes): Remove prototype.
(comp_except_specs): Prototype new global function.
(add_exception_specifier): Prototype new global function.
* decl.c (empty_except_spec): Define new global var.
(duplicate_decls): Use comp_except_specs, reword error message.
(init_decl_processing): Initialize empty_except_spec.
Adjust build_exception_variant calls.
* parse.y (exception_specification_opt): Use empty_except_spec.
(ansi_raise_identifier): Call check_for_new_type.
(ansi_raise_identifiers): Use add_exception_specifier.
* pt.c (tsubst): Use add_exception_specifier to build exception
specifier.
* search.c (check_final_overrider): New static function, broken
out of get_matching_virtual. Check throw specifiers, reword
diagnostics.
(get_matching_virtual): Use check_final_overrider.
* tree.c (build_exception_variant): Use comp_except_specs.
* typeck.c (compexcepttypes): Remove.
(comp_except_types): New static function, helper for
comp_except_specs. Compare two types as exception specifiers.
(comp_except_specs): New global function, compare two exception
specifiers.
(comptypes): Adjust for comp_except_specs.
* typeck2.c (add_exception_specifier): New global function.

* class.c (check_for_override): Reword error message.

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

24 years ago * gcc/config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
law [Wed, 4 Aug 1999 08:58:39 +0000 (08:58 +0000)]
    * gcc/config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.

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

24 years ago * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
law [Wed, 4 Aug 1999 08:19:36 +0000 (08:19 +0000)]
    * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.

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

24 years ago * config.sub (vxworks case): Use os=-vxworks, not os=vxworks.
law [Wed, 4 Aug 1999 08:07:57 +0000 (08:07 +0000)]
    * config.sub (vxworks case): Use os=-vxworks, not os=vxworks.

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

24 years ago * global.c: Fix comment.
law [Wed, 4 Aug 1999 07:50:08 +0000 (07:50 +0000)]
    * global.c: Fix comment.

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

24 years agoDaily bump.
law [Wed, 4 Aug 1999 07:46:10 +0000 (07:46 +0000)]
Daily bump.

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

24 years ago * gcc.c (access_check): New static function.
law [Wed, 4 Aug 1999 07:45:10 +0000 (07:45 +0000)]
    * gcc.c (access_check): New static function.
        (find_a_file): Use it when searching a directory list.
        * collect2.c (find_a_file): Don't accept directories found when
        searching a directory list.

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

24 years ago * tlink.c (symbol_hash_lookup): Do not prefix functions used as
law [Wed, 4 Aug 1999 07:41:48 +0000 (07:41 +0000)]
    * tlink.c (symbol_hash_lookup): Do not prefix functions used as
        function parameters with `&'.
        (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.

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

24 years ago * gcc.c-torture/execute/990804-1.c: New test.
law [Wed, 4 Aug 1999 07:18:41 +0000 (07:18 +0000)]
    * gcc.c-torture/execute/990804-1.c: New test.

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

24 years ago * flow.c (delete_unreachable_blocks): Do not call merge_blocks
law [Wed, 4 Aug 1999 07:11:26 +0000 (07:11 +0000)]
    * flow.c (delete_unreachable_blocks): Do not call merge_blocks
        or tidy_fallthru_edge if the last insn in the block is not
        an unconditional jump or a simple conditional jump.

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

24 years agoForgot to check this in yesterday.
rth [Wed, 4 Aug 1999 05:46:42 +0000 (05:46 +0000)]
Forgot to check this in yesterday.

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

24 years ago * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
tromey [Wed, 4 Aug 1999 03:26:15 +0000 (03:26 +0000)]
* gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

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

24 years ago * Makefile.in (c-decl.o): Depends on defaults.h.
amylaar [Tue, 3 Aug 1999 22:01:21 +0000 (22:01 +0000)]
* Makefile.in (c-decl.o): Depends on defaults.h.
* java/Makefile.in (decl.o): Depends on $(srcdir)/../defaults.h.

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

24 years ago * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
law [Tue, 3 Aug 1999 20:17:38 +0000 (20:17 +0000)]
    * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
        PA1.1 and above.
        (CLASS_MAX_NREGS): Likewise.

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

24 years ago * g++.old-deja/g++.brendan/crash63.C: Expect a POD warning
nathan [Tue, 3 Aug 1999 15:05:25 +0000 (15:05 +0000)]
    * g++.old-deja/g++.brendan/crash63.C: Expect a POD warning
        * g++.old-deja/g++.brendan/crash64.C: Likewise
        * g++.old-deja/g++.brendan/overload8.C: Likewise

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

24 years ago * call.c (convert_arg_to_ellipsis): Use pod_type_p.
nathan [Tue, 3 Aug 1999 15:04:49 +0000 (15:04 +0000)]
    * call.c (convert_arg_to_ellipsis): Use pod_type_p.
        * cp-tree.h (struct lang_type): Added non_pod_class flag.
        (CLASSTYPE_NON_POD_P): New macro to access it.
        * class.c (finish_struct_1): Determine non-PODness.
        Check for arrays of pointers (-Weffc++).
        Remove array inspection duplicated code.
        * tree.c (pod_type_p): Detect non-pod non-aggregate types.
        Use CLASSTYPE_NON_POD_P.

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

24 years ago * g++.old-deja/g++.other/struct1.C: New test.
nathan [Tue, 3 Aug 1999 14:46:14 +0000 (14:46 +0000)]
    * g++.old-deja/g++.other/struct1.C: New test.

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

24 years ago * class.c (duplicate_tag_error): Preserve template information.
nathan [Tue, 3 Aug 1999 14:45:20 +0000 (14:45 +0000)]
    * class.c (duplicate_tag_error): Preserve template information.

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

24 years ago * g++.old-deja/g++.other/enum2.C: New test.
nathan [Tue, 3 Aug 1999 14:25:10 +0000 (14:25 +0000)]
    * g++.old-deja/g++.other/enum2.C: New test.

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

24 years ago * decl.c (start_enum): Show location of previous definition.
nathan [Tue, 3 Aug 1999 14:24:07 +0000 (14:24 +0000)]
    * decl.c (start_enum): Show location of previous definition.
        * parse.y (enumlist_opt): New reduction.
        (structsp): Simplify enum rules to use enumlist_opt.

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

24 years ago* ext1.C: New test.
oliva [Tue, 3 Aug 1999 13:51:50 +0000 (13:51 +0000)]
* ext1.C: New test.

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

24 years ago* dwarf1.C, dwarf2.C, dwarf3.C: New tests.
oliva [Tue, 3 Aug 1999 12:51:02 +0000 (12:51 +0000)]
* dwarf1.C, dwarf2.C, dwarf3.C: New tests.

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

24 years agonew
jason [Tue, 3 Aug 1999 11:35:17 +0000 (11:35 +0000)]
new

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

24 years ago * lex.c (yyprint): Handle PFUNCNAME.
jason [Tue, 3 Aug 1999 10:18:13 +0000 (10:18 +0000)]
* lex.c (yyprint): Handle PFUNCNAME.

* decl2.c (build_expr_from_tree, case METHOD_CALL_EXPR): Only
build_expr_from_tree on the args of a TEMPLATE_ID_EXPR.

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

24 years ago * cse.c (cse_insn): Fix dumb thinko in last change.
law [Tue, 3 Aug 1999 10:00:27 +0000 (10:00 +0000)]
    * cse.c (cse_insn): Fix dumb thinko in last change.

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

24 years agoDelete questionable files
law [Tue, 3 Aug 1999 09:40:46 +0000 (09:40 +0000)]
Delete questionable files

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

24 years agoWarning fix
crux [Tue, 3 Aug 1999 09:38:51 +0000 (09:38 +0000)]
Warning fix

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

24 years agoDelete questionable files
law [Tue, 3 Aug 1999 09:34:18 +0000 (09:34 +0000)]
Delete questionable files

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

24 years agoDelete questionable files
law [Tue, 3 Aug 1999 09:26:29 +0000 (09:26 +0000)]
Delete questionable files

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

24 years agoDelete questionable files
law [Tue, 3 Aug 1999 09:13:02 +0000 (09:13 +0000)]
Delete questionable files

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

24 years agoRemove questionable files
law [Tue, 3 Aug 1999 09:12:27 +0000 (09:12 +0000)]
Remove questionable files

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

24 years agoDelete questionable tests
law [Tue, 3 Aug 1999 08:30:01 +0000 (08:30 +0000)]
Delete questionable tests

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

24 years agoDelete questionable tests
law [Tue, 3 Aug 1999 08:19:35 +0000 (08:19 +0000)]
Delete questionable tests

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

24 years agoDelete questionable tests.
law [Tue, 3 Aug 1999 08:04:46 +0000 (08:04 +0000)]
Delete questionable tests.

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

24 years agoRemove copyrighted testcase
law [Tue, 3 Aug 1999 07:55:12 +0000 (07:55 +0000)]
Remove copyrighted testcase

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

24 years agoDaily bump.
law [Tue, 3 Aug 1999 07:45:14 +0000 (07:45 +0000)]
Daily bump.

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

24 years ago * decl.c (start_decl): Set attributes before duplicate_decls call.
jason [Tue, 3 Aug 1999 07:03:03 +0000 (07:03 +0000)]
* decl.c (start_decl): Set attributes before duplicate_decls call.

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

24 years ago * dwarf2out.c (add_location_or_const_value_attribute): Correct
jason [Tue, 3 Aug 1999 06:46:05 +0000 (06:46 +0000)]
* dwarf2out.c (add_location_or_const_value_attribute): Correct
test for sizes of passed and declared parameter types.

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

24 years ago * fixincludes: Fix the return type of bsearch, char* -> void*.
ghazi [Tue, 3 Aug 1999 04:06:31 +0000 (04:06 +0000)]
    * fixincludes: Fix the return type of bsearch, char* -> void*.

        * fixinc/inclhack.def: Likewise.

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

24 years agoregen
jason [Tue, 3 Aug 1999 03:56:11 +0000 (03:56 +0000)]
regen

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

24 years ago * aclocal.m4, configure: Rebuilt for new libtool.
tromey [Tue, 3 Aug 1999 03:19:52 +0000 (03:19 +0000)]
* aclocal.m4, configure: Rebuilt for new libtool.

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

24 years ago * aclocal.m4, configure: Rebuilt for new libtool.
tromey [Tue, 3 Aug 1999 03:09:12 +0000 (03:09 +0000)]
* aclocal.m4, configure: Rebuilt for new libtool.

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

24 years ago * aclocal.m4, configure: Rebuilt for new libtool.
tromey [Tue, 3 Aug 1999 03:07:04 +0000 (03:07 +0000)]
* aclocal.m4, configure: Rebuilt for new libtool.

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

24 years ago * invoke.texi (-fdump-translation-unit): New option.
mmitchel [Tue, 3 Aug 1999 01:37:47 +0000 (01:37 +0000)]
* invoke.texi (-fdump-translation-unit): New option.
* Make-lang.in (CXX_SRCS): Add dump.c.
* Makefile.in (CXX_OBJS): Add dump.o.
(dump.o): New target.
* cp-tree.h (DECL_CONV_FN_P): Document.
(DECL_OVERLOADED_OPERATOR_P): New function.
(TYPE_PTRMEM_CLASS_TYPE): New macro.
(TYPE_PTRMEM_POINTED_TO_TYPE): Likewise.
(PTRMEM_CST_CLASS): Use TYPE_PTRMEM_CLASS_TYPE.
(ASM_VOLATILE_P): New macro.
(STMT_LINENO): Likewise.
(cp_namespace_decls): New function.
(dump_node_to_file): New function.
* decl.c (cp_namespace_decls): New function.
(walk_namespaces_r): Use it.
(wrapup_globals_for_namespace): Likewise.
* decl2.c (flag_dump_translation_unit): New variable.
(lang_decode_option): Handle -fdump-translation-unit.
(finish_file): If flag_dump_translation_unit is set, dump the
translation unit.
* dump.c: New file.
* lang-options.h: Add -fdump-translation-unit.
* pt.c (tsubst_template_parms): Robustify.
(tsubst_decl): Use DECL_OVERLOADED_OPERATOR_P.
(tsubst_expr): Use STMT_LINENO.
* semantics.c (finish_asm_stmt): Eliminate duplicate code.  Check
for invalid cv-qualifiers even while building templates.

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

24 years ago * expr.h (PROMOTE_PROTOTYPES): Move ...
rth [Tue, 3 Aug 1999 00:58:44 +0000 (00:58 +0000)]
    * expr.h (PROMOTE_PROTOTYPES): Move ...
        * defaults.h: ... to here.
        * c-decl.c: Include defaults.h instead of expr.h.
        * c-typeck.c: Include defaults.h.

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

24 years ago * call.c: Include defaults.h instead of expr.h.
rth [Tue, 3 Aug 1999 00:58:19 +0000 (00:58 +0000)]
    * call.c: Include defaults.h instead of expr.h.
        * decl.c: Likewise.
        * pt.c: Likewise.
        * typeck.c: Include defaults.h.

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

24 years ago * decl.c: Include defaults.h instead of expr.h.
rth [Tue, 3 Aug 1999 00:57:50 +0000 (00:57 +0000)]
    * decl.c: Include defaults.h instead of expr.h.
        * parse.y: Likewise.

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

24 years ago * java/io/natFile.cc (performMkdir): Remove FIXME.
bryce [Tue, 3 Aug 1999 00:32:14 +0000 (00:32 +0000)]
    * java/io/natFile.cc (performMkdir): Remove FIXME.
        * java/io/natFileDescriptorPosix.cc (open): Use 0644 file mode.

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

24 years ago * java/net/ServerSocket.java: Define ANY_IF.
bryce [Tue, 3 Aug 1999 00:30:53 +0000 (00:30 +0000)]
    * java/net/ServerSocket.java: Define ANY_IF.
        (ServerSocket (int,int)): Use ANY_IF instead of null to bind to
        all network interfaces.
        * java/net/DatagramSocket.java (DatagramSocket): ditto.
        * java/net/natPlainSocketImpl.cc (bind): Expect 0.0.0' instead of
        null.
        * java/net/natPlainDatagramSocketImpl (bind): Expect 0.0.0'
        instead of null.

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

24 years ago * boehm.cc (_Jv_RegisterFinalizer): Cast \reth' to GC_PTR.
bryce [Tue, 3 Aug 1999 00:23:03 +0000 (00:23 +0000)]
    * boehm.cc (_Jv_RegisterFinalizer): Cast \reth' to GC_PTR.
        * exception.cc (_Jv_Throw): Cast _Jv_type_matcher' to __eh_matcher.

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

24 years ago * lex.c (errorcount, sorrycount): Don't declare.
mmitchel [Tue, 3 Aug 1999 00:13:45 +0000 (00:13 +0000)]
* lex.c (errorcount, sorrycount): Don't declare.
* repo.c (errorcount, sorrycount): Likewise.
* typeck2.c (errorcount, sorrycount): Likewise.

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

24 years ago * toplev.h (errorcount): Declare.
mmitchel [Tue, 3 Aug 1999 00:07:52 +0000 (00:07 +0000)]
* toplev.h (errorcount): Declare.
(warningcount): Likewise.
(sorrycount): Likewise.
* c-lex.c (errorcount): Don't declare.
* dwarf2out.c (errorcount): Don't declare.

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

24 years ago * config/libgloss.h: Add a note discouraging use with ELF.
jason [Tue, 3 Aug 1999 00:06:05 +0000 (00:06 +0000)]
* config/libgloss.h: Add a note discouraging use with ELF.
* configure.in: Don't use libgloss.h for ELF targets.

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

24 years agoOptimize duplicate zero_extend operations.
wilson [Mon, 2 Aug 1999 23:53:14 +0000 (23:53 +0000)]
Optimize duplicate zero_extend operations.
* combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
(force_to_mode, case ASHIFTRT): Add shiftrt label.

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

24 years ago * loop.c (strength_reduce): When doing biv->giv conversion, update
amylaar [Mon, 2 Aug 1999 23:50:36 +0000 (23:50 +0000)]
* loop.c (strength_reduce): When doing biv->giv conversion, update
reg note of NEXT->insn.

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

24 years agoJakub Jelinek <jj@ultra.linux.cz>
rth [Mon, 2 Aug 1999 23:23:45 +0000 (23:23 +0000)]
Jakub Jelinek  <jj@ultra.linux.cz>

        * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.

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

24 years ago * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
rth [Mon, 2 Aug 1999 23:19:33 +0000 (23:19 +0000)]
    * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
        * config/convex/convex.h: Ditto.
        * config/dsp16xx/dsp16xx.h: Ditto.
        * config/fx80/fx80.h: Ditto.
        * config/gmicro/gmicro.h: Ditto.
        * config/i370/i370.h: Ditto.
        * config/i386/i386.h: Ditto.
        * config/m32r/m32r.h: Ditto.
        * config/m68k/m68k.h: Ditto.
        * config/m88k/m88k.h: Ditto.
        * config/mips/mips.h: Ditto.
        * config/pa/pa.h: Ditto.
        * config/pyr/pyr.h: Ditto.
        * config/tahoe/tahoe.h: Ditto.
        * config/we32k/we32k.h: Ditto.

        * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
        based on arch size.

        * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.

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

24 years agoJakub Jelinek <jj@ultra.linux.cz>
rth [Mon, 2 Aug 1999 23:17:06 +0000 (23:17 +0000)]
Jakub Jelinek  <jj@ultra.linux.cz>

        * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
        PROMOTE_PROTOTYPES, so that it tests it as a C expression.
        Ensure expr.h is included.
        * c-typecheck.c (convert_arguments): Ditto.

        * expr.h: Supply default for PROMOTE_PROTOTYPES (0).

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

24 years agoJakub Jelinek <jj@ultra.linux.cz>
rth [Mon, 2 Aug 1999 23:14:31 +0000 (23:14 +0000)]
Jakub Jelinek  <jj@ultra.linux.cz>

        * java/decl.c (start_java_method): Change all uses of
        PROMOTE_PROTOTYPES, so that it tests it as a C expression.
        Ensure expr.h is included.
        * java/expr.c (pop_arguments): Ditto.
        * java/parse.y (expand_start_java_method): Ditto.

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

24 years agoJakub Jelinek <jj@ultra.linux.cz>
rth [Mon, 2 Aug 1999 23:14:12 +0000 (23:14 +0000)]
Jakub Jelinek  <jj@ultra.linux.cz>

        * call.c (convert_default_arg, build_over_call): Change all uses of
        PROMOTE_PROTOTYPES, so that it tests it as a C expression.
        Ensure expr.h is included.
        * decl.c (grokparams): Ditto.
        * pt.c (tsubst_decl): Ditto.
        * typeck.c (convert_arguments): Ditto.

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

24 years ago * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
rth [Mon, 2 Aug 1999 23:08:49 +0000 (23:08 +0000)]
    * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
        for the register spill block.
        (m32r_va_arg): New.
        * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
        (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.

        * m32r.h (INT8_P): Don't short-cut test with (unsigned).
        (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
        (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.

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

24 years ago * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
rth [Mon, 2 Aug 1999 23:06:52 +0000 (23:06 +0000)]
    * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
        MAX_WCHAR_TYPE defined in sparc.h.
        * config/sparc/linuxaout.h: Likewise.
        * config/sparc/linux64.h: Likewise.
        Also default to -mvis if CPU is UltraSPARC.

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

24 years ago * class.c (mark_overriders): Fix order of args to overrides.
jason [Mon, 2 Aug 1999 22:59:03 +0000 (22:59 +0000)]
* class.c (mark_overriders): Fix order of args to overrides.
(warn_hidden): Likewise.  Fix for having virtual and non-virtual
functions with the same name.

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

24 years agoJakub Jelinek <jj@ultra.linux.cz>
rth [Mon, 2 Aug 1999 22:58:04 +0000 (22:58 +0000)]
Jakub Jelinek  <jj@ultra.linux.cz>

        * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
        (RTX_OK_FOR_OLO10): Likewise.
        (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
        %lo(), allow it in addresses...
        (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
        * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
        does not make sense.
        * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
        (sparc_output_scratch_registers): New function.
        (output_function_prologue, sparc_flat_output_function_prologue): Use
        it.
        * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
        defined.
        * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
        * configure.in: Add check for .register pseudo-op support in as and
        check for offsetable %lo().
        * acconfig.h: Add templates for the above checks.
        * configure: Regenerate.

Richard Henderson  <rth@cygnus.com>

        * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
        * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
        * sparc/sol2.h (TARGET_DEFAULT): Likewise.

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

24 years ago * loop.c (strength_reduce): When doing biv->giv conversion, fix up
amylaar [Mon, 2 Aug 1999 22:50:49 +0000 (22:50 +0000)]
* loop.c (strength_reduce): When doing biv->giv conversion, fix up
reg_biv_class.

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

24 years agoJakub Jelinek <jj@ultra.linux.cz>
rth [Mon, 2 Aug 1999 22:34:17 +0000 (22:34 +0000)]
Jakub Jelinek  <jj@ultra.linux.cz>

        * config/float-sparc.h: New file.
        * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
        sparc-*-linux-gnu and sparc64-*-linux*.

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

24 years ago * cp-tree.h (TYPE_PTRMEMFUNC_P): Check TYPE_LANG_SPECIFIC non-null.
rth [Mon, 2 Aug 1999 21:33:32 +0000 (21:33 +0000)]
* cp-tree.h (TYPE_PTRMEMFUNC_P): Check TYPE_LANG_SPECIFIC non-null.

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

24 years agoFranz Sirl <Franz.Sirl-kernel@lauterbach.com>
rth [Mon, 2 Aug 1999 20:40:56 +0000 (20:40 +0000)]
Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * rs6000.c (rs6000_va_list): Type is an array.
        (rs6000_va_start): Don't doubly adjust for varargs.
        (rs6000_va_arg): Evaluate long long GPR adjustment.

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

24 years ago Adapted from tests from Franz Sirl:
rth [Mon, 2 Aug 1999 20:36:53 +0000 (20:36 +0000)]
    Adapted from tests from Franz Sirl:
        * gcc.c-torture/execute/va-arg-7.c: New test.
        * gcc.c-torture/execute/va-arg-8.c: New test.

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

24 years agoMon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
dje [Mon, 2 Aug 1999 20:20:12 +0000 (20:20 +0000)]
Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>

* rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
-maix64 and -maix32.
(ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
LINK_SPEC): Change appropriately.
* rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
(u_short_cint_operand): Likewise.
* rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
for 64-bit hosts.
* rs6000/t-aix43 (MULTILIB): Change to -m64.

* invoke.texi (RS/6000 Submodel): Document 64-bit processor options.

Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>

* rs6000/rs6000.c (num_insns_constant_wide): Correct
for type promotion.
(add_operand): Get test correct for 64-bit HOST_WIDE_INT.
(non_add_cint_operand): Likewise.
(logical_operand): Likewise.
(non_logical_cint_operand): Likewise.
(print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
(print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
(rs6000_select_rtx_section): Suppress warning.
(small_data_operand): Suppress warning.
(rs6000_got_register): Suppress warning.
* rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
type, so `J' is generally the wrong constraint for a SImode value;
use `L' instead.
(andsi3_internal2): Likewise.
(andsi3_internal3): Likewise.
(iorsi3_internal1): Likewise.
(xorsi3_internal1): Likewise.
(movsi): Likewise.
(movsf_softfloat): Likewise.
(scc insns): Likewise.
(movsi+2): Preserve sign bits of SImode constant.
(floatsidf2_internal+1): Sign-extend SImode constant correctly.
(movdf+1): Sign-extend properly.
(movdi_32+1): Sign-extend properly.
(scc insns): Sign-extend properly.

* md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
K, L, and T.

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

24 years ago * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
rth [Mon, 2 Aug 1999 19:37:58 +0000 (19:37 +0000)]
    * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
        -mcpu parsing code.
        (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
        * alpha.md (all fp insns): Likewise.

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