gcc.git
25 years agoRemove leading and trailing double underscores from m32r specific attribute
Nick Clifton [Mon, 15 Mar 1999 12:49:36 +0000 (12:49 +0000)]
Remove leading and trailing double underscores from m32r specific attribute
names in order to match the documentation.

From-SVN: r25780

25 years agoreload.c (find_reloads): Add a REG_LABEL note if we substitute a LABEL_REF for someth...
Mark Mitchell [Mon, 15 Mar 1999 09:25:01 +0000 (09:25 +0000)]
reload.c (find_reloads): Add a REG_LABEL note if we substitute a LABEL_REF for something else.

Mon Mar 15 10:20:20 1999  Mark Mitchell  <mark@markmitchell.com>
        * reload.c (find_reloads): Add a REG_LABEL note if we substitute a
        LABEL_REF for something else.

From-SVN: r25777

25 years agofold-const.c (exact_real_inverse): Move variable `float_error' into the scope where...
Kaveh R. Ghazi [Mon, 15 Mar 1999 05:30:02 +0000 (05:30 +0000)]
fold-const.c (exact_real_inverse): Move variable `float_error' into the scope where it is used.

        * fold-const.c (exact_real_inverse): Move variable `float_error'
        into the scope where it is used.
        (const_binop_1): New static function.
        (cb_args): New struct.
        (const_binop): Use them in call to `do_float_handler'.
        (fold_convert_1): New static function.
        (fc_args): New struct.
        (fold_convert): Use them in call to `do_float_handler'.

From-SVN: r25776

25 years ago* call.c (add_function_candidate): Fix uninitialized variable.
Jason Merrill [Mon, 15 Mar 1999 04:17:26 +0000 (04:17 +0000)]
* call.c (add_function_candidate): Fix uninitialized variable.

From-SVN: r25775

25 years agortlanal.c (auto_inc_p): New function.
Michael Hayes [Mon, 15 Mar 1999 01:52:49 +0000 (01:52 +0000)]
rtlanal.c (auto_inc_p): New function.

* rtlanal.c (auto_inc_p): New function.
        * rtl.h (auto_inc_p): Prototype it.
* reload1.c (add_auto_inc_notes): New function.
(reload): Strip REG_INC notes and call add_auto_inc_notes
for each insn to restore them correctly.

From-SVN: r25774

25 years agoMakefile.in (procopen.o): List the actual dependencies.
Manfred Hollstein [Mon, 15 Mar 1999 01:34:02 +0000 (01:34 +0000)]
Makefile.in (procopen.o): List the actual dependencies.

8
* fixinc/Makefile.in (procopen.o): List the actual
dependencies.

From-SVN: r25773

25 years agoMakefile.in (procopen.o): List the actual dependencies.
Manfred Hollstein [Mon, 15 Mar 1999 01:33:59 +0000 (01:33 +0000)]
Makefile.in (procopen.o): List the actual dependencies.


* fixinc/Makefile.in (procopen.o): List the actual
dependencies.

From-SVN: r25772

25 years agoDaily bump.
Jeff Law [Mon, 15 Mar 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25771

25 years agoMore tests for uninitialized variable warnings
Zack Weinberg [Sun, 14 Mar 1999 20:19:03 +0000 (20:19 +0000)]
More tests for uninitialized variable warnings

From-SVN: r25770

25 years ago* Makefile.in (search.o): Add dependency on varray.h.
Jason Merrill [Sun, 14 Mar 1999 17:43:56 +0000 (17:43 +0000)]
* Makefile.in (search.o): Add dependency on varray.h.

From-SVN: r25769

25 years agocse.c (check_fold_consts): New static function.
Kaveh R. Ghazi [Sun, 14 Mar 1999 14:02:10 +0000 (14:02 +0000)]
cse.c (check_fold_consts): New static function.

        * cse.c (check_fold_consts): New static function.
        (cfc_args): New struct.
        (simplify_relational_operation): Use them in call to
        `do_float_handler'.
        * toplev.c (do_float_handler): New function to wrap calls to
        setjmp/set_float_handler.
        * toplev.h (do_float_handler): Add extern prototype.
        * tree.c (build_real_from_int_cst_1): New static function.
        (brfic_args): New struct.
        (build_real_from_int_cst): Use them in call to
        `do_float_handler'.

From-SVN: r25768

25 years agoNew test, for spurious "variable may be clobbered by `longjmp' or `vfork'"
Zack Weinberg [Sun, 14 Mar 1999 09:18:03 +0000 (09:18 +0000)]
New test, for spurious "variable may be clobbered by `longjmp' or `vfork'"
warnings.

From-SVN: r25765

25 years agodecl.c (duplicate_decls): Use same_type_p.
Jason Merrill [Sun, 14 Mar 1999 01:29:36 +0000 (01:29 +0000)]
decl.c (duplicate_decls): Use same_type_p.

* decl.c (duplicate_decls): Use same_type_p.
* method.c (try_old_backref): Renamed from flush_repeats.  Use
same_type_p.  Don't try to handle repeats.  Return success.
(is_back_referenceable_type): Return 0 if TYPE_FOR_JAVA.  Support
calls from old-style code, too.
(check_ktype): Use same_type_p.
(check_btype): Use same_type_p.  Don't pull out TYPE_MAIN_VARIANT.
(build_qualified_name): Simplify logic.
(build_mangled_name_for_type_with_Gcode): Remove call to
type_canonical_variant.
(process_overload_item): Strip typedefs and quals at the top.
(build_mangled_name): Likewise.  Remove support for old-style
repeats, which have been disabled since 2.7.2.  Don't mess with
TREE_USED.
(build_decl_overload_real): Don't mess with TREE_USED.

From-SVN: r25758

25 years agoBump for snapshot
Jeffrey A Law [Sun, 14 Mar 1999 01:15:11 +0000 (18:15 -0700)]
Bump for snapshot

From-SVN: r25756

25 years agoDaily bump.
Jeff Law [Sun, 14 Mar 1999 00:46:04 +0000 (17:46 -0700)]
Daily bump.

From-SVN: r25755

25 years agolex.c (java_read_char): UNGET invalid non-initial utf8 character.
Per Bothner [Sat, 13 Mar 1999 19:21:39 +0000 (11:21 -0800)]
lex.c (java_read_char): UNGET invalid non-initial utf8 character.


* lex.c (java_read_char):  UNGET invalid non-initial utf8 character.
* lex.h (UNGETC):  Change misleading macro.

From-SVN: r25754

25 years agolex.c (java_read_char): UNGET invalid non-initial utf8 character.
Per Bothner [Sat, 13 Mar 1999 19:21:38 +0000 (11:21 -0800)]
lex.c (java_read_char): UNGET invalid non-initial utf8 character.

h
* lex.c (java_read_char):  UNGET invalid non-initial utf8 character.
* lex.h (UNGETC):  Change misleading macro.

From-SVN: r25753

25 years ago* haifa-sched.c (sched_analyze_1): Only clear reg_last_uses on a SET.
Richard Henderson [Sat, 13 Mar 1999 17:38:17 +0000 (09:38 -0800)]
* haifa-sched.c (sched_analyze_1): Only clear reg_last_uses on a SET.

From-SVN: r25752

25 years agoMore g77 tests
Craig Burley [Sat, 13 Mar 1999 15:33:56 +0000 (15:33 +0000)]
More g77 tests

From-SVN: r25751

25 years agoUpdate NEWS derived file
Craig Burley [Sat, 13 Mar 1999 15:15:07 +0000 (10:15 -0500)]
Update NEWS derived file

From-SVN: r25747

25 years agoFix INTEGER*8 conversion bugs
Craig Burley [Sat, 13 Mar 1999 15:14:29 +0000 (15:14 +0000)]
Fix INTEGER*8 conversion bugs

From-SVN: r25746

25 years agoNew g77 tests
Craig Burley [Sat, 13 Mar 1999 14:45:03 +0000 (14:45 +0000)]
New g77 tests

From-SVN: r25745

25 years agoUpdate BUGS, INSTALL, NEWS derived files
Craig Burley [Sat, 13 Mar 1999 12:17:46 +0000 (07:17 -0500)]
Update BUGS, INSTALL, NEWS derived files

From-SVN: r25744

25 years agoImprove g77 doc infrastructure
Craig Burley [Sat, 13 Mar 1999 12:04:03 +0000 (12:04 +0000)]
Improve g77 doc infrastructure

From-SVN: r25743

25 years agoarm.c (arm_split_constant): Don't try to force a constant to memory after arm_reorg...
Richard Earnshaw [Sat, 13 Mar 1999 11:40:25 +0000 (11:40 +0000)]
arm.c (arm_split_constant): Don't try to force a constant to memory after arm_reorg has run.

* arm.c (arm_split_constant): Don't try to force a constant to
memory after arm_reorg has run.
(after_arm_reorg): New static variable.
(arm_reorg): Set it.
(output_func_epilogue): Clear it.

From-SVN: r25742

25 years agoerror.c (cp_printers): Add 'F' escape character.
Nathan Sidwell [Sat, 13 Mar 1999 01:49:14 +0000 (01:49 +0000)]
error.c (cp_printers): Add 'F' escape character.

* error.c (cp_printers): Add 'F' escape character.
(dump_type_real): Remove TREE_LIST (fnargs) printing.
Functionality moved to dump_parameters.
(dump_type_suffix): Use dump_parameters and dump_exception_spec.
(dump_function_decl): Extend meaning of V parameter. Use
dump_parameters and dump_exception_spec.
(dump_parameters): New static function.
(dump_exception_spec): New static function.
(fndecl_as_string): Change argument semantics. Use
dump_function_decl directly.
* sig.c (build_signature_table_constructor): Use cp_error.

From-SVN: r25741

25 years agosemantics.c (finish_switch_cond): Handle error cases gracefully.
Martin v. Löwis [Sat, 13 Mar 1999 01:16:36 +0000 (01:16 +0000)]
semantics.c (finish_switch_cond): Handle error cases gracefully.

        * semantics.c (finish_switch_cond): Handle error cases gracefully.
        Detected by g++.law/enum5.C
        * typeck.c (build_modify_expr): Check for errors after resolving
        offsets. Detected by g++.brendan/static1.C
        * decl.c (complete_array_type): Ignore initial_value if it is an
        error. Detected by g++.benjamin/17930.C
        * typeck2.c (process_init_constructor): Return error if one argument
        is in error. Detected by g++.benjamin/13478.C

From-SVN: r25740

25 years agoDaily bump.
Jeff Law [Sat, 13 Mar 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25739

25 years agoNew test case.
Martin v. Löwis [Fri, 12 Mar 1999 23:18:32 +0000 (23:18 +0000)]
New test case.

From-SVN: r25738

25 years agodecl.c (select_decl): Allow class templates when we need types.
Martin v. Löwis [Fri, 12 Mar 1999 23:17:05 +0000 (23:17 +0000)]
decl.c (select_decl): Allow class templates when we need types.

        * decl.c (select_decl): Allow class templates when we need types.
        * decl2.c (ambiguous_decl): Likewise.

From-SVN: r25737

25 years agoPatch from David Edelsohn. Use AIX float.h file.
David Edelsohn [Fri, 12 Mar 1999 20:28:04 +0000 (20:28 +0000)]
Patch from David Edelsohn.  Use AIX float.h file.

* configure.in ({rs6000,powerpc}-ibm-aix*): Set float_format to none.
* configure: Rebuilt.

From-SVN: r25734

25 years agoparse.y (java_stabilize_reference): Return NODE when patching a COMPOUND_EXPR.
Alexandre Petit-Bianco [Fri, 12 Mar 1999 18:19:04 +0000 (10:19 -0800)]
parse.y (java_stabilize_reference): Return NODE when patching a COMPOUND_EXPR.

1999-03-12  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* parse.y (java_stabilize_reference): Return NODE when patching a
COMPOUND_EXPR.
(java_complete_lhs): Put parenthesis around truth values.
1999-03-12  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* class.c (layout_class_method): Don't make rtl for interface
methods.
* parse.h (GET_TYPE_NAME): New macro.
* parse.y (if_then_statement:): Fixed indentation.
(if_then_else_statement:): Likewise.
(for_statement:): Fixed spacing.
(try_statement:): Fixed indentation.
(create_interface): Don't force interfaces to be abstract.
(method_header): Abstract methods are OK in interfaces.
(declare_local_variables): Fixed typo in comment.
(java_complete_expand_method): Fixed indentation.
(resolve_qualified_expression_name): Use GET_TYPE_NAME to report
non accessible fields.
(java_stabilize_reference): New function.
(java_complete_lhs): Fixed indentation. Use
java_stabilize_reference in compound assignement. Insert the
cast. If not processing `+' fix string constants before processing
binop.

From-SVN: r25733

25 years agolex.c (do_identifier): Correct call to enforce_access.
Mark Mitchell [Fri, 12 Mar 1999 17:16:53 +0000 (17:16 +0000)]
lex.c (do_identifier): Correct call to enforce_access.

* lex.c (do_identifier): Correct call to enforce_access.
* search.c (accessible_p): Tweak comment.
* decl2.c (validate_nonmember_using_decl): Issue sensible
error-messages on bogus qualifiers.

From-SVN: r25732

25 years agoWarning fixes:
Kaveh R. Ghazi [Fri, 12 Mar 1999 17:13:24 +0000 (17:13 +0000)]
Warning fixes:

        * constants.c (find_class_or_string_constant): Cast variable `j'
        to a `jword' when comparing against one.
        * expr.c (java_lang_expand_expr): Remove unused variables
        `has_finally_p' and `op0'.
        * gjavah.c (print_field_info): Cast a value to jint when comparing
        against one.  Likewise for a jlong.
        (add_namelet): Likewise cast a `sizeof' to an int when comparing
        against a signed quantity.
        * jcf-dump.c (print_signature_type): Remove unused variable `digit'.
        (print_signature): Don't needlessly dereference variable `str'
        * jcf-reader.c (get_attribute): Mark variables `max_stack' and
        `max_locals' with ATTRIBUTE_UNUSED.
        (jcf_parse_class): Likewise for variable `index'.
        * parse.h (reverse_jdep_list): Remove static prototype.
        * parse.y (build_jump_to_finally): Remove prototype and definition.
        (reverse_jdep_list): Add static prototype.
        * typeck.c (convert_ieee_real_to_integer): Remove unused variables
        `assignment' and `expr_decl'.
        * verify.c (verify_jvm_instructions): Remove unused label `bad_ldc'.

From-SVN: r25731

25 years agoMinor testsuite fixes for targets with 16-bit ints and targets without I/O.
Jim Wilson [Fri, 12 Mar 1999 16:19:54 +0000 (16:19 +0000)]
Minor testsuite fixes for targets with 16-bit ints and targets without I/O.

* execute/970312-1.c, execute/980605-1.c (f): Change printf to sprintf.
* execute/bf-sign-2.c (struct X): Add u15 field.
(main): Add check for u15.  Conditionalize u31 check depending on
whether ints are <32 bits or >=32 bits.

From-SVN: r25730

25 years agounroll.c (loop_iterations): Don't return a final value for EQ comparison loops.
J"orn Rennecke [Fri, 12 Mar 1999 12:46:36 +0000 (12:46 +0000)]
unroll.c (loop_iterations): Don't return a final value for EQ comparison loops.

* unroll.c (loop_iterations): Don't return a final value for EQ
comparison loops.

From-SVN: r25729

25 years agoPatch to fix reload abort while compiling hpux-x-m68k-aout gdb.
Jim Wilson [Fri, 12 Mar 1999 12:39:59 +0000 (12:39 +0000)]
Patch to fix reload abort while compiling hpux-x-m68k-aout gdb.

* reload1.c (calculate_needs_all_insns): When ignore equivalence
setting insn, clear need_elim, need_reload, and need_operand_change.

From-SVN: r25728

25 years agoMissing from fixincl-branch merge
Bruce Korb [Fri, 12 Mar 1999 08:57:04 +0000 (08:57 +0000)]
Missing from fixincl-branch merge

From-SVN: r25727

25 years agojcf-path.c (add_entry): alloca len+2 rather than len+1 bytes...
Andrew Haley [Fri, 12 Mar 1999 07:52:58 +0000 (07:52 +0000)]
jcf-path.c (add_entry): alloca len+2 rather than len+1 bytes...

1999-03-12  Andrew Haley  <aph@cygnus.com>
        * jcf-path.c (add_entry): alloca len+2 rather than len+1 bytes;
        we'll need a directory separator and a null character.

From-SVN: r25726

25 years agoMissing merges from fixincl-branch
Bruce Korb [Fri, 12 Mar 1999 07:44:19 +0000 (07:44 +0000)]
Missing merges from fixincl-branch

From-SVN: r25725

25 years agoNew test case.
Martin v. Löwis [Fri, 12 Mar 1999 05:18:20 +0000 (05:18 +0000)]
New test case.

From-SVN: r25724

25 years agoProblem fixed in g++.
Martin v. Löwis [Fri, 12 Mar 1999 03:41:32 +0000 (03:41 +0000)]
Problem fixed in g++.

From-SVN: r25723

25 years agoDaily bump.
Jeff Law [Fri, 12 Mar 1999 00:45:04 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25715

25 years agoexpr.c (expand_expr): Allow a CALL_EXPR with a mode wider than MAX_INTEGER_COMPUTATIO...
Jeffrey A Law [Fri, 12 Mar 1999 00:02:32 +0000 (00:02 +0000)]
expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than MAX_INTEGER_COMPUTATION_MODE.

        * expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than
        MAX_INTEGER_COMPUTATION_MODE.

From-SVN: r25714

25 years agoTests for various kinds of spurious uninit variable warning.
Zack Weinberg [Thu, 11 Mar 1999 16:00:04 +0000 (16:00 +0000)]
Tests for various kinds of spurious uninit variable warning.

`
Tests for various kinds of spurious uninit variable warning.
All are derived from cpplib; see comments in the files.

From-SVN: r25711

25 years agoTests for various kinds of spurious uninit variable warning.
Zack Weinberg [Thu, 11 Mar 1999 16:00:04 +0000 (16:00 +0000)]
Tests for various kinds of spurious uninit variable warning.

l
Tests for various kinds of spurious uninit variable warning.
All are derived from cpplib; see comments in the files.

From-SVN: r25710

25 years ago*** empty log message ***
Zack Weinberg [Thu, 11 Mar 1999 16:00:03 +0000 (16:00 +0000)]
*** empty log message ***

From-SVN: r25709

25 years agoAdd AUTOMATIC to list of unsupported extensions
Craig Burley [Thu, 11 Mar 1999 14:37:09 +0000 (14:37 +0000)]
Add AUTOMATIC to list of unsupported extensions

From-SVN: r25706

25 years ago* alpha.md (ev5_e0): Conflict loads and stores.
Richard Henderson [Thu, 11 Mar 1999 14:02:42 +0000 (06:02 -0800)]
* alpha.md (ev5_e0): Conflict loads and stores.

From-SVN: r25705

25 years agoalpha.h (HARD_REGNO_MODE_OK): Disallow QI/HImode in fp regs.
Richard Henderson [Thu, 11 Mar 1999 14:01:27 +0000 (06:01 -0800)]
alpha.h (HARD_REGNO_MODE_OK): Disallow QI/HImode in fp regs.

        * alpha.h (HARD_REGNO_MODE_OK): Disallow QI/HImode in fp regs.
        (MODES_TIEABLE_P): Update.

From-SVN: r25704

25 years agomachmode.h (smallest_mode_for_size): Prototype.
Richard Henderson [Thu, 11 Mar 1999 13:56:20 +0000 (05:56 -0800)]
machmode.h (smallest_mode_for_size): Prototype.

        * machmode.h (smallest_mode_for_size): Prototype.
        * stor-layout.c (smallest_mode_for_size): Remove static.

From-SVN: r25703

25 years agoloop.c (strength_reduce): Don't do biv increment -> DEST_REG giv conversion if we...
J"orn Rennecke [Thu, 11 Mar 1999 13:28:55 +0000 (13:28 +0000)]
loop.c (strength_reduce): Don't do biv increment -> DEST_REG giv conversion if we don't know the lifetime.

* loop.c (strength_reduce): Don't do biv increment -> DEST_REG giv
conversion if we don't know the lifetime.

From-SVN: r25702

25 years agoreload.1c (delete_address_reloads_1): Check for reloads of CURRENT_INSN even if it...
J"orn Rennecke [Thu, 11 Mar 1999 12:44:27 +0000 (12:44 +0000)]
reload.1c (delete_address_reloads_1): Check for reloads of CURRENT_INSN even if it sets DST.

* reload.1c (delete_address_reloads_1):  Check for reloads of
CURRENT_INSN even if it sets DST.

From-SVN: r25701

25 years agodwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset.
Jason Merrill [Thu, 11 Mar 1999 10:34:01 +0000 (05:34 -0500)]
dwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset.

* dwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset.
(print_die, size_of_die, value_format, output_die): Adjust.
* dwarf2out.c (TEXT_SECTION_LAABEL, DEBUG_LINE_SECTION_LABEL,
DEBUG_INFO_SECTION_LABEL, ABBREV_SECTION_LABEL,
text_section_laabel, debug_line_section_label,
debug_info_section_label, abbrev_section_label): New.
(output_compilation_unit_header):  Emit label associated
with section instead of section name itself.
(out_pubnames, output_aranges, output_line_info,
dwarf2out_finish): Likewise.
(dwarf2out_init): Build internal label names for sections
from static labels.

From-SVN: r25700

25 years ago* sh.md (mulsi3): End mul.l sequence with a no-op move.
J"orn Rennecke [Thu, 11 Mar 1999 09:31:33 +0000 (09:31 +0000)]
* sh.md (mulsi3): End mul.l sequence with a no-op move.

From-SVN: r25699

25 years agoactivate fixinc/mkfixinc.sh
Bruce Korb [Thu, 11 Mar 1999 09:11:19 +0000 (09:11 +0000)]
activate fixinc/mkfixinc.sh

From-SVN: r25698

25 years agoActivating fast-fixincludes
Bruce Korb [Thu, 11 Mar 1999 08:53:13 +0000 (08:53 +0000)]
Activating fast-fixincludes

From-SVN: r25697

25 years agocppfiles.c (INO_T_EQ): Handle UWIN.
Mumit Khan [Thu, 11 Mar 1999 00:58:01 +0000 (00:58 +0000)]
cppfiles.c (INO_T_EQ): Handle UWIN.

        * cppfiles.c (INO_T_EQ): Handle UWIN.
        * c-common.c (decl_attributes): Flag unrecognized attribute
        functions as warnings instead of as errors.
        Support for i386-pc-uwin.
        * i386/uwin.h: New file.
        * i386/xm-uwin.h: New file.
        * i386/t-uwin: New file.
        * i386/uwin.asm: New file.
        * configure.in (i[3456]86-*-uwin*): Define.
        Add Workaround for vfork bug when hosted on uwin.
        * configure: Regenerate.
        * cccp.c (INO_T_EQ): Undefine. UWIN has inodes.
        (absolute_filename): UWIN uses POSIX pathnames only.
        * libgcc2.c (getpagesize): Do not define for UWIN.
        (mprotect): Likewise.
        * protoize.c (dirent.h): Conditionally include.
        (fputc): Prototype only if it's not a macro.

From-SVN: r25696

25 years agoDaily bump.
Jeff Law [Thu, 11 Mar 1999 00:45:05 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25695

25 years agopexecute.c (__CYGWIN32__): Rename to
Mumit Khan [Thu, 11 Mar 1999 00:32:50 +0000 (00:32 +0000)]
pexecute.c (__CYGWIN32__): Rename to

        * pexecute.c (__CYGWIN32__): Rename to
        (__CYGWIN__): this.
        * xmalloc.c: Likewise.
        Changes to support i386-pc-uwin.
        * configure.in (*-*-uwin*): Workaround for vfork bug.
        * configure: Regenerate.
        * pexecute.c (pexecute): Be like standard Unix.
        (pwait): Likewise.
        * xmalloc.c (first_break): Define.
        (xmalloc_set_program_name): Use.
        (xmalloc): Use.

From-SVN: r25694

25 years agoconfig.sub: Add i386-uwin support.
Mumit Khan [Thu, 11 Mar 1999 00:20:22 +0000 (00:20 +0000)]
config.sub: Add i386-uwin support.

        * config.sub: Add i386-uwin support.
        * config.guess: Likewise.

From-SVN: r25693

25 years ago* configure.in: Remove init_priority stuff.
Jason Merrill [Thu, 11 Mar 1999 00:14:36 +0000 (00:14 +0000)]
* configure.in: Remove init_priority stuff.

From-SVN: r25692

25 years ago* configure.in: Add mh-*pic handling for alpha, arm, powerpc
Franz Sirl [Thu, 11 Mar 1999 00:11:25 +0000 (00:11 +0000)]
* configure.in: Add mh-*pic handling for alpha, arm, powerpc

From-SVN: r25691

25 years agoconfigure.in: Cleanup and add mh-*pic handling for arm, powerpc
Franz Sirl [Thu, 11 Mar 1999 00:10:48 +0000 (00:10 +0000)]
configure.in: Cleanup and add mh-*pic handling for arm, powerpc

Thu Mar 11 01:07:55 1999  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
        * configure.in: Cleanup and add mh-*pic handling for arm, powerpc

From-SVN: r25690

25 years agoconfig.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
Franz Sirl [Thu, 11 Mar 1999 00:10:20 +0000 (17:10 -0700)]
config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc

H
        * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc

From-SVN: r25689

25 years agoconfig.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
Franz Sirl [Thu, 11 Mar 1999 00:10:19 +0000 (17:10 -0700)]
config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc


        * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc

From-SVN: r25688

25 years agoconfigure.in: cleanup, add mh-*pic handling for arm, special case powerpc*-*-aix*
Franz Sirl [Thu, 11 Mar 1999 00:09:24 +0000 (00:09 +0000)]
configure.in: cleanup, add mh-*pic handling for arm, special case powerpc*-*-aix*


        * configure.in: cleanup, add mh-*pic handling for arm, special
        case powerpc*-*-aix*

From-SVN: r25687

25 years ago* sdbout.c (plain_type_1): Make boolean types work better with sdb.
Colin Smith [Wed, 10 Mar 1999 23:30:08 +0000 (23:30 +0000)]
* sdbout.c (plain_type_1): Make boolean types work better with sdb.

From-SVN: r25686

25 years agojcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %.
Per Bothner [Wed, 10 Mar 1999 23:22:48 +0000 (15:22 -0800)]
jcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %.

8
* jcf-write.c (generate_bytecode_insns):  Handle __builtin_fmod, for %.

From-SVN: r25683

25 years agojcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %.
Per Bothner [Wed, 10 Mar 1999 23:22:47 +0000 (15:22 -0800)]
jcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %.


* jcf-write.c (generate_bytecode_insns):  Handle __builtin_fmod, for %.

From-SVN: r25682

25 years agogcc.texi: Update bug reporting instructions to match current ezmlm list reality.
Alexandre Oliva [Wed, 10 Mar 1999 23:22:31 +0000 (16:22 -0700)]
gcc.texi: Update bug reporting instructions to match current ezmlm list reality.

X
        * gcc.texi: Update bug reporting instructions to match
        current ezmlm list reality.

From-SVN: r25681

25 years agogcc.texi: Update bug reporting instructions to match current ezmlm list reality.
Alexandre Oliva [Wed, 10 Mar 1999 23:22:28 +0000 (16:22 -0700)]
gcc.texi: Update bug reporting instructions to match current ezmlm list reality.


        * gcc.texi: Update bug reporting instructions to match
        current ezmlm list reality.

From-SVN: r25680

25 years agolcm.c: New file.
Jeffrey A Law [Wed, 10 Mar 1999 22:03:36 +0000 (22:03 +0000)]
lcm.c: New file.

        * lcm.c: New file.
        * Makefile.in (OBJS): Add lcm.o
        (lcm.o): Add dependencies.

From-SVN: r25679

25 years agogcse.c (compute_pre_local_properties): Delete.
Jeffrey A Law [Wed, 10 Mar 1999 21:36:35 +0000 (21:36 +0000)]
gcse.c (compute_pre_local_properties): Delete.

        * gcse.c (compute_pre_local_properties): Delete.
        (compute_pre_data): Use compute_local_properties instead of
        compute_pre_local_properties.

From-SVN: r25678

25 years agogcse.c: More comments, whitespace and similar fixes.
Jeffrey A Law [Wed, 10 Mar 1999 21:29:44 +0000 (21:29 +0000)]
gcse.c: More comments, whitespace and similar fixes.

        * gcse.c: More comments, whitespace and similar fixes.
        (dump_cuid_table, maybe_set_rd_gen, dump_cprop_data): Delete.
        (dump_pre_data, compute_cprop_local_properties): Likewise.
        (one_classic_gcse_pass): Lose unused argument.  All callers changed.
        (compute_hash_table, compute_expr_hash_table): Likewise.
        (compute_set_hash_table, one_pre_gcse_pass, mark_call): Likewise.
        (cprop_insn, cprop, one_cprop_pass): Add new argument ALTER_JUMPS.
        All callers changed.  Only alter jumps if ALTER_JUMPS is nonzero.
        Lose unused argument.
        (gcse_main): Always run a cprop pass after finishing global cse.
        (compute_local_properties): New function.
        (hash_scan_pat, hash_scan_insn): No longer call maybe_set_rd_gen.
        (compute_cprop_data): Use compute_local_properties.

From-SVN: r25677

25 years agogcc.c (print_file_name, [...]): Qualify a char* with the `const' keyword.
Kaveh R. Ghazi [Wed, 10 Mar 1999 20:32:13 +0000 (20:32 +0000)]
gcc.c (print_file_name, [...]): Qualify a char* with the `const' keyword.

        * gcc.c (print_file_name, print_prog_name, spec_machine,
        read_specs, set_spec, lookup_compiler, build_search_list,
        putenv_from_prefixes, find_a_file, record_temp_file,
        delete_if_ordinary, handle_braces, do_spec, do_spec_1, find_file,
        is_directory, validate_switches, used_arg, default_arg,
        pfatal_with_name, perror_with_name, pfatal_pexecute, fatal, error,
        notice, add_preprocessor_option, add_assembler_option,
        add_linker_option, process_command, execute,
        unused_prefix_warnings, clear_args, fatal_error,
        lang_specific_driver, user_specs, compiler, link_command_spec,
        option_map, translate_options, make_temp_file, temp_name,
        programname, path_prefix, machine_suffix, just_machine_suffix,
        gcc_exec_prefix, standard_exec_prefix, standard_exec_prefix_1,
        md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1,
        standard_startfile_prefix, standard_startfile_prefix_1,
        standard_startfile_prefix_2, tooldir_base_prefix, tooldir_prefix,
        multilib_dir, temp_filename, temp_file, command, switchstr,
        infile, outfiles, input_filename, input_basename, input_suffix,
        check_live_switch, main): Qualify a char* with the `const' keyword.

From-SVN: r25676

25 years agos/ /<tab>/g
Jeff Law [Wed, 10 Mar 1999 20:18:59 +0000 (13:18 -0700)]
s/        /<tab>/g

From-SVN: r25675

25 years agogcse.c: Update various comments.
Jeffrey A Law [Wed, 10 Mar 1999 20:14:05 +0000 (20:14 +0000)]
gcse.c: Update various comments.

        * gcse.c: Update various comments.
        (current_function_calls_longjmp): Delete declaration.

From-SVN: r25674

25 years agogcse.c (run_jump_opt_after_gcse): New variable.
Jeffrey A Law [Wed, 10 Mar 1999 19:45:18 +0000 (19:45 +0000)]
gcse.c (run_jump_opt_after_gcse): New variable.

        * gcse.c (run_jump_opt_after_gcse): New variable.
        (gcse_main): Returns an integer.
        (hash_scan_set): Record initializations from CONST_DOUBLEs too.
        (try_replace_reg): Update some comments.
        (cprop_insn): Allow propagation into some JUMP_INSNs too.
        * rtl.h (gcse_main): Update prototype.
        * toplev.c (rest_of_compilation): If gcse_main returns nonzero,
        then run a jump optimization pass.
        * jump.c (delete_barrier_successors): Delete nop jumps too.

From-SVN: r25673

25 years agosemantics.c (begin_class_definition): Call build_self_reference.
Mark Mitchell [Wed, 10 Mar 1999 17:58:08 +0000 (17:58 +0000)]
semantics.c (begin_class_definition): Call build_self_reference.

* semantics.c (begin_class_definition): Call build_self_reference.
(finish_member_declaration): Set DECL_CONTEXT for TYPE_DECLs.

From-SVN: r25672

25 years ago* search.c (assert_canonical_unmarked): Fix typo in prototype.
Mark Mitchell [Wed, 10 Mar 1999 12:17:47 +0000 (12:17 +0000)]
* search.c (assert_canonical_unmarked): Fix typo in prototype.

From-SVN: r25671

25 years agosh.c (fp_arith_reg_operand): Actually test if reg is suitable for FP arithmetic.
J"orn Rennecke [Wed, 10 Mar 1999 11:07:32 +0000 (11:07 +0000)]
sh.c (fp_arith_reg_operand): Actually test if reg is suitable for FP arithmetic.

* sh.c (fp_arith_reg_operand): Actually test if reg is suitable
for FP arithmetic.  Changed caller.
* sh.md (subsf3, subsf_i): Use fp_arith_reg_operand.

From-SVN: r25670

25 years agoreload1.c (choose_reload_regs): When inheriting from the frame pointer, don't clobber it.
J"orn Rennecke [Wed, 10 Mar 1999 10:59:54 +0000 (10:59 +0000)]
reload1.c (choose_reload_regs): When inheriting from the frame pointer, don't clobber it.

* reload1.c (choose_reload_regs): When inheriting from the frame
pointer, don't clobber it.

From-SVN: r25669

25 years agosearch.c (dfs_canonical_queue): New function.
Mark Mitchell [Wed, 10 Mar 1999 10:53:35 +0000 (10:53 +0000)]
search.c (dfs_canonical_queue): New function.

* search.c (dfs_canonical_queue): New function.
(dfs_assert_unmarked_p): Likewise.
(assert_canonical_unmarked): Likewise.
(access_in_type): Use it.
(accessible_p): Likewise.  Walk the whole tree when umarking.

From-SVN: r25668

25 years agosig.c (build_signature_table_constructor): Use accessible_p instead of compute_access.
Mark Mitchell [Wed, 10 Mar 1999 09:33:45 +0000 (09:33 +0000)]
sig.c (build_signature_table_constructor): Use accessible_p instead of compute_access.

* sig.c (build_signature_table_constructor): Use accessible_p
instead of compute_access.

From-SVN: r25667

25 years agomissing updates to fixinc/fixinc.*
Bruce Korb [Wed, 10 Mar 1999 08:06:20 +0000 (08:06 +0000)]
missing updates to fixinc/fixinc.*

From-SVN: r25666

25 years agoFixed the 'case' ordering
Bruce Korb [Wed, 10 Mar 1999 08:00:12 +0000 (08:00 +0000)]
Fixed the 'case' ordering

From-SVN: r25665

25 years agoPatches from superior directory
Bruce Korb [Wed, 10 Mar 1999 07:49:54 +0000 (07:49 +0000)]
Patches from superior directory

From-SVN: r25664

25 years ago* call.c (add_builtin_candidates): Handle overloaded conversion ops.
Jason Merrill [Wed, 10 Mar 1999 00:57:44 +0000 (00:57 +0000)]
* call.c (add_builtin_candidates): Handle overloaded conversion ops.

From-SVN: r25663

25 years agoDaily bump.
Jeff Law [Wed, 10 Mar 1999 00:45:04 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25662

25 years agocp-tree.h (flag_access_control): Declare.
Mark Mitchell [Tue, 9 Mar 1999 23:02:42 +0000 (23:02 +0000)]
cp-tree.h (flag_access_control): Declare.

* cp-tree.h (flag_access_control): Declare.
(TREE_VIA_PPUBLIC): Document.
(DECL_NONSTATIC_MEMBER_P): New macro.
(enforce_access): Return an indication of whether or not access
was permitted.
(build_self_reference): Change prototype.
(compute_access): Replace with ...
(accessible_p): New function.
(dfs_walk): Change prototype.
(dfs_unmark): Likewise.
(markedp): Likewise.
* call.c (enforce_access): Use accessible_p.
* class.c (build_self_reference): Insert the declaration into the
list of members for this type, and make it public.
* decl.c (xref_basetypes): Avoid ill-timed recursion.
* init.c (build_offset_ref): Use lookup_member, not three separate
name-lookups.  Call enforce_access rather than checking for
illegal accesses here.
(resolve_offset_ref): Likewise.
* lex.c (do_identifier): Likewise.
* method.c (hack_identifier): Likewise.
* parse.y (self_reference): Remove.
(opt_component_decl_list): Don't use it.
* parse.c: Regenerated.
* pt.c (print_candidates): Generalize to handle lists of
overloaded functions.
(instantiate_class_template): Don't rely on TREE_VIA_PRIVATE; it's
not set.
(get_template_base): Use new calling convention for dfs_walk.
* search.c: Include varray.h.  Add prototypes.
(dfs_walk): Accept a data pointer to pass to the work functions.
All callers changed.  All work functions changed.
(breadth_first_search): Rename to bfs_walk, and make consistent
with dfs_walk.
(dfs_walk_real): New function.
(canonical_binfo): New function.
(context_for_name_lookup): Likewise.
(shared_marked_p): Likewise.
(shared_unmarked_p): Likewise.
(lokup_field_queue_p): Likewise.
(lookup_field_r): Generalize to handle both functions and fields.
(lookup_field): Just call lookup_member.
(lookup_fnfields): Likewise.
(lookup_member): Move body of lookup_field here and generalize.
(dfs_accessible_queue_p): Likewise.
(dfs_accessible_p): Likewise.
(dfs_access_in_type): Likewise.
(access_in_type): Likewise.
(compute_access): Remove, and replace with ...
(accessible_p): New function.
(vbase_types): Remove.
(vbase_decl_ptr_intermediate): Likewise.
(vbase_decl_ptr): Likewise.
(vbase_init_result): Likewise.
(closed_envelopes): Likewise.
(bvtable): Likewise.

From-SVN: r25661

25 years agocall.c (add_function_candidate): Check for proper number of args before checking...
Jason Merrill [Tue, 9 Mar 1999 19:37:02 +0000 (19:37 +0000)]
call.c (add_function_candidate): Check for proper number of args before checking the validity of those args.

* call.c (add_function_candidate): Check for proper number of args
before checking the validity of those args.

From-SVN: r25660

25 years agonew
Jason Merrill [Tue, 9 Mar 1999 19:34:51 +0000 (14:34 -0500)]
new

From-SVN: r25659

25 years agocalls.c (load_register_parameters): New function.
Jeffrey A Law [Tue, 9 Mar 1999 16:40:30 +0000 (16:40 +0000)]
calls.c (load_register_parameters): New function.

        * calls.c (load_register_parameters): New function.
        (expand_call): Use it.

From-SVN: r25658

25 years agoreload1.c (reload_combine_note_store): Fix calculation of number of affected registers.
J"orn Rennecke [Tue, 9 Mar 1999 16:05:48 +0000 (16:05 +0000)]
reload1.c (reload_combine_note_store): Fix calculation of number of affected registers.

* reload1.c (reload_combine_note_store): Fix calculation of number
of affected registers.

From-SVN: r25657

25 years agoflow.c (tidy_fallthru_edge): Be more careful finding the last BARRIER of a list.
Richard Henderson [Tue, 9 Mar 1999 15:49:53 +0000 (07:49 -0800)]
flow.c (tidy_fallthru_edge): Be more careful finding the last BARRIER of a list.

* flow.c (tidy_fallthru_edge): Be more careful finding the last
BARRIER of a list.  Delete the cc0 setter as well as a cond jump.

From-SVN: r25656

25 years ago* calls.c (expand_call): Slightly reorganize code.
Jeffrey A Law [Tue, 9 Mar 1999 15:49:12 +0000 (15:49 +0000)]
* calls.c (expand_call): Slightly reorganize code.

From-SVN: r25655

25 years ago* i386.md (ashlsi3 splitter): Fix typo in last change.
Hans-Peter Nilsson [Tue, 9 Mar 1999 14:27:57 +0000 (14:27 +0000)]
* i386.md (ashlsi3 splitter): Fix typo in last change.

From-SVN: r25654

25 years agocalls.c (compute_argument_addresses): New function.
Jeffrey A Law [Tue, 9 Mar 1999 14:05:13 +0000 (14:05 +0000)]
calls.c (compute_argument_addresses): New function.

        * calls.c (compute_argument_addresses): New function.
        (rtx_for_function_call): New function.
        (expand_call): Use them.

From-SVN: r25653

25 years agoreg-stack.c (stack_reg_life_analysis): Use returnjump_p instead of an explicit test...
Richard Henderson [Tue, 9 Mar 1999 11:36:25 +0000 (03:36 -0800)]
reg-stack.c (stack_reg_life_analysis): Use returnjump_p instead of an explicit test for RETURN.

        * reg-stack.c (stack_reg_life_analysis): Use returnjump_p
        instead of an explicit test for RETURN.

From-SVN: r25652