platform/upstream/gcc.git
23 years ago* gcc.dg/c90-const-expr-1.c: New test.
Joseph Myers [Wed, 9 Aug 2000 01:05:09 +0000 (02:05 +0100)]
* gcc.dg/c90-const-expr-1.c: New test.

From-SVN: r35577

23 years agoc-common.c (combine_strings, [...]): Refer to ISO C or ISO C89 instead of ANSI C.
Joseph Myers [Tue, 8 Aug 2000 23:19:11 +0000 (00:19 +0100)]
c-common.c (combine_strings, [...]): Refer to ISO C or ISO C89 instead of ANSI C.

* c-common.c (combine_strings, check_format_info): Refer to ISO C
or ISO C89 instead of ANSI C.
* c-decl.c (grokdeclarator, xref_tag, finish_struct,
build_enumerator, do_case): Likewise.
* c-lex.c (parse_float, yylex): Likewise.
* c-parse.in: Likewise.
* c-typeck.c (common_type, build_array_ref, build_binary_op,
build_unary_op, pedantic_lvalue_warning, build_conditional_expr,
build_c_cast, convert_for_assignment, set_init_index,
set_init_label, c_expand_start_case): Likewise.
* toplev.c (documented_lang_options, display_help): Likewise.

From-SVN: r35576

23 years agoh8300.c: Fix formatting.
Kazu Hirata [Tue, 8 Aug 2000 23:09:52 +0000 (23:09 +0000)]
h8300.c: Fix formatting.

        * h8300.c: Fix formatting.
        * h8300.h: Likewise.
        * h8300.md: Likewise.
        (movsi_h8300hs): Fix formatting of the resulting assembly code.

From-SVN: r35575

23 years ago* reload1.c: Fix formatting.
Kazu Hirata [Tue, 8 Aug 2000 23:07:10 +0000 (23:07 +0000)]
* reload1.c: Fix formatting.

From-SVN: r35574

23 years agoalpha.c (alpha_emit_xfloating_libcall): Use GEN_CALL_VALUE define.
Rodney Brown [Tue, 8 Aug 2000 22:40:49 +0000 (22:40 +0000)]
alpha.c (alpha_emit_xfloating_libcall): Use GEN_CALL_VALUE define.

       * alpha/alpha.c (alpha_emit_xfloating_libcall):
        Use GEN_CALL_VALUE define.
        * alpha/alpha.md (untyped_call): Use GEN_CALL define.
        * clipper/clipper.md (untyped_call): Likewise.
        * dsp16xx/dsp16xx.md (untyped_call): Likewise.
        * fx80/fx80.md (untyped_call): Likewise.
        * mips/mips.md (untyped_call): Likewise.
        * ns32k/ns32k.md (untyped_call): Likewise.
        * pa/pa.md (untyped_call): Likewise.
        * romp/romp.md (untyped_call): Likewise.
        * sparc/sparc.md (untyped_call): Likewise.

From-SVN: r35573

23 years agoi860.c (singlemove_string): Do not generate assembler pseudo instructions that must...
Jason Eckhardt [Tue, 8 Aug 2000 22:22:32 +0000 (22:22 +0000)]
i860.c (singlemove_string): Do not generate assembler pseudo instructions that must be expanded (that is...

2000-08-08  Jason Eckhardt  <jle@cygnus.com>

        * config/i860/i860.c (singlemove_string): Do not generate assembler
        pseudo instructions that must be expanded (that is, with signed
        constants larger than 16 bits).

From-SVN: r35572

23 years agoflow.c (life_analysis): Only turn off PROP_LOG_LINKS and PROP_AUTOINC at -O0.
Richard Henderson [Tue, 8 Aug 2000 19:46:51 +0000 (12:46 -0700)]
flow.c (life_analysis): Only turn off PROP_LOG_LINKS and PROP_AUTOINC at -O0.

        * flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
        PROP_AUTOINC at -O0.  Don't collect alias info at -O0.
        (init_propagate_block_info): Don't kill memory stores at -O0.
        (mark_set_1, mark_used_regs): Likewise.

From-SVN: r35571

23 years agors6000.c (optimization_options): Decorate 'level' as ATTRIBUTE_UNUSED.
David Edelsohn [Tue, 8 Aug 2000 18:50:15 +0000 (14:50 -0400)]
rs6000.c (optimization_options): Decorate 'level' as ATTRIBUTE_UNUSED.

* rs6000.c (optimization_options): Decorate 'level' as
ATTRIBUTE_UNUSED.
(mask64_operand): Remove sign-extend thinko.
(rldic_operand): New function.
(load_multiple_operation): regno's are unsigned ints.
(store_multiple_operation): Likewise.
(lmw_operation): Likewise.
(stmw_operation): Likewise.
(includes_lshift_p): shift_mask is unsigned int.
(includes_lshift64_p): New function.
(addrs_ok_for_quad_peep): unsigned int reg1.
(print_operand): Consistently add "else" after
output_operand_lossage().
(print_operand, case 'b'): Fold in case 'W'.
(print_operand, case 'W'): Print rldic MB value.
(output_epilogue): Update Objective-C language string.
(output_toc): unsigned HOST_WIDE_INT low, compare unsigned.
* rs6000.h (PREDICATE_CODES): Add rldic_operand.
* rs6000.md (ashldi3): Add rldic instruction.
(iordi3, xordi3): Remove redundant "else if CONST_DOUBLE".
(cmpsi_internal2, cmpdi_interal2): Use 'b' output template
modifier.

From-SVN: r35570

23 years agoInput_UTF8.java (read): Fixed handling of surrogate characters.
Tom Tromey [Tue, 8 Aug 2000 17:35:32 +0000 (17:35 +0000)]
Input_UTF8.java (read): Fixed handling of surrogate characters.

* gnu/gcj/convert/Input_UTF8.java (read): Fixed handling of
surrogate characters.
* gnu/gcj/convert/Output_UTF8.java (standardUTF8): Default to
true.
(write): Correct handling of surrogate characters.

From-SVN: r35569

23 years agoia64-protos.h: Remove duplicates.
Richard Henderson [Tue, 8 Aug 2000 10:01:20 +0000 (03:01 -0700)]
ia64-protos.h: Remove duplicates.

* config/ia64/ia64-protos.h: Remove duplicates.  Update
for massive code rearrangements.
* config/ia64/ia64.c (ia64_arpfs_regno): Remove.
(ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove.
(ia64_local_regs, ia64_need_regstk): Remove.
(ar_ccv_reg_operand): New.
(ia64_gp_save_reg): New.
(struct ia64_frame_info): Combine most of the size elements;
add new gr save elements.
(find_gr_spill): New.
(next_scratch_gr_reg): New.
(mark_reg_gr_used_mask): New.
(ia64_compute_frame_size): Rewrite.  Allocate special AR regs
to GR backing store regs when possible.
(ia64_initial_elimination_offset): New.
(ia64_rap_fp_offset): Remove.
(save_restore_insns): Remove.
(setup_spill_pointers): New.
(finish_spill_pointers): New.
(spill_restore_mem): New.
(do_spill, do_restore): New.
(ia64_expand_prologue): Rewrite to use them.
(ia64_expand_epilogue): Likewise.
(ia64_direct_return): Update for current_frame_info changes.
(ia64_function_prologue): Simplify .prologue emission.  Emit
.spill when needed.
(ia64_setup_incoming_varargs): Don't ever emit rtl.
(ia64_dbx_register_number): New.
(ia64_initialize_trampoline): New.
(ia64_secondary_reload_class): Request GR_REGS for integer
arithmetic destined for FR_REGS.
(ia64_init_machine_status): Don't reset return_address_pointer_rtx.
(ia64_mark_machine_status): Mark ia64_gp_save.
(rws_access_regno): Rename from rws_access_reg; don't treat
predicates specially.
(rws_access_reg): New.  Update all callers.
(rtx_needs_barrier): Remove dead unspecs.
(ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit.
(ia64_encode_section_info): Silence signed/unsigned warnings.
(spill_offset, sp_offset, spill_offset_emitted): Remove.
(tmp_reg, tmp_saved): Remove.
(process_set): Rewrite to expect complicated bits via
REG_FRAME_RELATED_EXPR.
(ia64_expand_fetch_and_op): Use emit_move_insn; be explicit
in the use of ar.ccv; never set RTX_UNCHANGING_P.
(ia64_expand_op_and_fetch): Likewise.
(ia64_expand_compare_and_swap): Likewise.
(ia64_expand_builtin): Likewise.
* config/ia64/ia64.h (AR_UNAT_REGNUM): New.
(FIRST_PSEUDO_REGISTER): Update.
(AR_M_REGNO_P): Update.
(FIXED_REGS): Don't mark three local registers as used.
(EXTRA_CC_MODES): New.
(SELECT_CC_MODE): New.
(HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode.
(HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates.
(FRAME_GROWS_DOWNWARD): Unset.
(STARTING_FRAME_OFFSET): Zero.
(ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer.
(INITIAL_ELIMINATION_OFFSET): Defer to out of line function.
(HARD_FRAME_POINTER_REGNUM): New.
(CAN_DEBUG_WITHOUT_FP): Define.
(TRAMPOLINE_TEMPLATE): Remove.
(TRAMPOLINE_SIZE): Lower to 32.
(TRAMPOLINE_ALIGNMENT): Lower to 64.
(INITIALIZE_TRAMPOLINE): Defer to out of line function.
(PREDICATE_CODES): Update.
(struct machine_function): Add ia64_gp_save.
* config/ia64/ia64.md: Purge unused unspecs.
(movsi patterns): Allow moves to/from AR_M_REGS.
(movdi patterns): Allow moves to/from p0.
(call patterns): Move most setjmp hackery to ia64_gp_save_reg.
(gr_spill, gr_restore): Indicate ar.unat read/written.
(nonlocal_goto): Don't pass old frame_pointer.
(nonlocal_goto_receiver): Remove.
(exception_receiver): New.
(builtin_setjmp_setup): New.
(builtin_setjmp_receiver): New.
* config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle.
(__ia64_nonlocal_goto): Bundle.  Don't kill r7.
(__ia64_restore_stack_nonlocal): Likewise.
(__ia64_trampoline): New.
* config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line
function.
* config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline.

From-SVN: r35568

23 years ago* gcc.dg/noncompile/920923-1.c: Declare calloc.
Richard Henderson [Tue, 8 Aug 2000 09:24:53 +0000 (02:24 -0700)]
* gcc.dg/noncompile/920923-1.c: Declare calloc.

From-SVN: r35567

23 years ago* regclass.c (choose_hard_reg_mode): Iterate over all CC modes.
Richard Henderson [Tue, 8 Aug 2000 09:18:47 +0000 (02:18 -0700)]
* regclass.c (choose_hard_reg_mode): Iterate over all CC modes.

From-SVN: r35566

23 years agoframe.h (ia64_frame_state): Add my_psp.
Richard Henderson [Tue, 8 Aug 2000 09:08:55 +0000 (02:08 -0700)]
frame.h (ia64_frame_state): Add my_psp.

        * frame.h (ia64_frame_state): Add my_psp.
        * libgcc2.c (ia64_throw_helper): Add throw_sp argument.
        (__throw): Pass it in.  Don't clobber r7.
        * config/ia64/frame-ia64.c (init_ia64_reg_loc): Mark inline.
        (execute_one_ia64_descriptor) [mem_stack_v]: Sets psp.when
        and nothing to do with sp.
        (normalize_reg_loc): Use frame->my_psp.
        (frame_translate): Handle frame-pointer-less functions.  Set
        spill_base correctly, in absence of being told.
        (__build_ia64_frame_state): New sp argument.  Fill in frame->my_sp.
        (__ia64_backtrace_helper): New sp argument.  Use
        builtin_return_address instead of label addresses.
        (print_record) [mem_stack_v]: No size member.

From-SVN: r35565

23 years agotm.texi (LOCAL_REGNO): Document.
Richard Henderson [Tue, 8 Aug 2000 08:28:00 +0000 (01:28 -0700)]
tm.texi (LOCAL_REGNO): Document.

        * tm.texi (LOCAL_REGNO): Document.
        * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
        (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
        * reload1.c (reload): Likewise when considering nonlocal labels.

        * config/ia64/ia64.h (LOCAL_REGNO): New.
        * config/sparc/sparc.h (LOCAL_REGNO): New.

From-SVN: r35564

23 years agoc-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
Joseph Myers [Tue, 8 Aug 2000 08:23:31 +0000 (09:23 +0100)]
c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.

* c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.

testsuite:
* gcc.dg/noncompile/const-ll-1.c: New test.

From-SVN: r35563

23 years agoDaily bump.
Jeff Law [Tue, 8 Aug 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35562

23 years agoMethod.java (hashCode): Use getName().
Tom Tromey [Tue, 8 Aug 2000 03:34:51 +0000 (03:34 +0000)]
Method.java (hashCode): Use getName().

* java/lang/reflect/Method.java (hashCode): Use getName().
(toString): Likewise.
* java/lang/reflect/natMethod.cc (getType): Initialize
exception_types.

From-SVN: r35561

23 years ago2000-08-07 Alexandre Petit-Bianco <apbianco@cygnus.com
Alexandre Petit-Bianco [Tue, 8 Aug 2000 03:33:36 +0000 (03:33 +0000)]
2000-08-07  Alexandre Petit-Bianco  <apbianco@cygnus.com

* parse.y (build_dot_class_method_invocation): Changed parameter
name to `type.' Build signature from `type' and convert it to a
STRING_CST if it's an array.
(patch_incomplete_class_ref): `build_dot_class_method_invocation'
to use `ref_type' directly.

2000-08-01  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (maybe_yank_clinit): When generating bytecode: non empty
method bodies not to rule out discarding `<clinit>'; don't use
<clinit> to initialize static fields with constant initializers.

2000-08-01  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* gjavah.c (print_method_info): Added `synth' parameter. Skip
synthetic methods.
(method_synthetic): New global.
(HANDLE_METHOD): Recognize synthetic method and tell
`print_method_info' about it.
(HANDLE_END_METHOD): Do not issue an additional `;\n' if we're
processing a synthetic method.
* jcf-reader.c (skip_attribute): New function.
( skip_attribute): Likewise.

2000-08-01  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (build_outer_field_access): Fixed comments.
(fix_constructors): Emit the initialization of this$<n> before
calling $finit$.
(resolve_qualified_expression_name): Build an access to `decl' if
necessary.

2000-07-31  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse-scan.y (curent_class): Non longer const.
(inner_qualifier, inner_qualifier_length): Deleted.
(current_class_length): New global.
(bracket_count): Fixed typo in leading comment.
(anonymous_count): New global.
(class_instance_creation_expression:): Handle anonymous classes.
(anonymous_class_creation:): New rule.
(push_class_context): Rewritten.
(pop_class_context): Likewise.
(INNER_QUALIFIER): Macro deleted.
(report_class_declaration): call `push_class_context' when
entering the function. `fprintf' format modified not to use
INNER_QUALIFIER.
(report_class_declaration): Assign `package_name' and
`current_class' to NULL separatly.

2000-07-31  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* expr.c (build_invokeinterface): Call layout_class_methods on
target interface.

(http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00339.html)

From-SVN: r35560

23 years agoFix most compile time warning messages
Nick Clifton [Tue, 8 Aug 2000 01:17:06 +0000 (01:17 +0000)]
Fix most compile time warning messages

From-SVN: r35559

23 years agog77spec.c (lang_specific_driver): Clearer g77 version message.
Toon Moene [Mon, 7 Aug 2000 21:19:48 +0000 (23:19 +0200)]
g77spec.c (lang_specific_driver): Clearer g77 version message.

2000-08-07  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77spec.c (lang_specific_driver): Clearer g77 version message.

From-SVN: r35558

23 years agoMethod.java (toString): Use Class.getName, not Class.toString.
Tom Tromey [Mon, 7 Aug 2000 20:03:40 +0000 (20:03 +0000)]
Method.java (toString): Use Class.getName, not Class.toString.

* java/lang/reflect/Method.java (toString): Use Class.getName, not
Class.toString.
* java/lang/reflect/Field.java (toString): Correct formatting.
From Corey Minyard.

From-SVN: r35557

23 years agoPipedInputStream.java (read(byte[],int,int)): Mostly rewrote.
Tom Tromey [Mon, 7 Aug 2000 19:59:48 +0000 (19:59 +0000)]
PipedInputStream.java (read(byte[],int,int)): Mostly rewrote.

* java/io/PipedInputStream.java (read(byte[],int,int)): Mostly
rewrote.
(receive): Streamlined.

From-SVN: r35556

23 years agoporting-howto.html: New version.
Felix Natter [Mon, 7 Aug 2000 19:29:19 +0000 (19:29 +0000)]
porting-howto.html: New version.

2000-08-07  Felix Natter  <fnatter@gmx.net>

* docs/17_intro/porting-howto.html:  New version.

From-SVN: r35555

23 years ago* MAINTAINERS: Add self as a DJGPP maintainer
DJ Delorie [Mon, 7 Aug 2000 15:04:48 +0000 (11:04 -0400)]
* MAINTAINERS: Add self as a DJGPP maintainer

From-SVN: r35554

23 years agoconfigure.in (FLAGS_FOR_TARGET): invert test for xgcc...
DJ Delorie [Mon, 7 Aug 2000 15:00:46 +0000 (11:00 -0400)]
configure.in (FLAGS_FOR_TARGET): invert test for xgcc...

* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
"if we're also building gcc, and it's a gcc that will run on the
build machine, we want to use its includes instead of the system's
default includes".

From-SVN: r35553

23 years ago* mn10300.h (TARGET_SWITCHES): Document `-mam33'.
Nick Clifton [Mon, 7 Aug 2000 11:35:06 +0000 (11:35 +0000)]
* mn10300.h (TARGET_SWITCHES): Document `-mam33'.

From-SVN: r35552

23 years agomn10300.md: Use nonimmediate_operand instead of general_operand on output operands.
Graham Stott [Mon, 7 Aug 2000 11:28:02 +0000 (11:28 +0000)]
mn10300.md: Use nonimmediate_operand instead of general_operand on output operands.

* mn10300.md: Use nonimmediate_operand instead of general_operand
on output operands.

From-SVN: r35551

23 years ago* mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
Graham Stott [Mon, 7 Aug 2000 11:26:59 +0000 (11:26 +0000)]
* mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.

From-SVN: r35550

23 years agoRemove dangling whitespace
Alexandre Oliva [Mon, 7 Aug 2000 11:20:25 +0000 (11:20 +0000)]
Remove dangling whitespace

From-SVN: r35549

23 years agosh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
Alexandre Oliva [Mon, 7 Aug 2000 09:58:29 +0000 (09:58 +0000)]
sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.

* sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
* sh.c (expand_block_move): Break long lines.
(expand_ashiftrt, fpscr_set_from_mem): Likewise.
* sh.md (mulsi3): Likewise.
(movdi): Adjust spacing.

From-SVN: r35548

23 years ago* gcc.dg/c90-printf-2.c, gcc.dg/c99-printf-2.c: New tests.
Joseph Myers [Mon, 7 Aug 2000 09:48:23 +0000 (10:48 +0100)]
* gcc.dg/c90-printf-2.c, gcc.dg/c99-printf-2.c: New tests.

From-SVN: r35547

23 years agoexpmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
Richard Henderson [Mon, 7 Aug 2000 08:27:54 +0000 (01:27 -0700)]
expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.

        * expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
        * expr.c (emit_group_store): Don't set it.

From-SVN: r35546

23 years agoDaily bump.
Jeff Law [Mon, 7 Aug 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35545

23 years agocp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.
Kazu Hirata [Mon, 7 Aug 2000 07:13:13 +0000 (07:13 +0000)]
cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.

        * cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.
        * decl.c (pop_labels): Likewise.

From-SVN: r35544

23 years agoinvoke.texi (Options for Debugging Your Program or GCC): Remove duplicate entries...
Kazu Hirata [Mon, 7 Aug 2000 07:11:38 +0000 (07:11 +0000)]
invoke.texi (Options for Debugging Your Program or GCC): Remove duplicate entries for 'w' and 'z'.

* invoke.texi (Options for Debugging Your Program or GCC): Remove
duplicate entries for 'w' and 'z'.

From-SVN: r35543

23 years ago* flow.c: Fix a comment typo.
Kazu Hirata [Mon, 7 Aug 2000 07:07:21 +0000 (07:07 +0000)]
* flow.c: Fix a comment typo.

From-SVN: r35542

23 years ago* decl.c: Fix a comment typo.
Kazu Hirata [Mon, 7 Aug 2000 07:05:52 +0000 (07:05 +0000)]
* decl.c: Fix a comment typo.

From-SVN: r35541

23 years agoc-parse.in: Changed the language string for Objective-C to "GNU Objective-C".
Ovidiu Predescu [Mon, 7 Aug 2000 06:48:26 +0000 (06:48 +0000)]
c-parse.in: Changed the language string for Objective-C to "GNU Objective-C".

Sun Aug  6 23:47:35 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* c-parse.in: Changed the language string for Objective-C to "GNU
Objective-C".

From-SVN: r35540

23 years agoChanged the language string for Objective-C to "GNU Objective-C".
Ovidiu Predescu [Mon, 7 Aug 2000 06:47:34 +0000 (06:47 +0000)]
Changed the language string for Objective-C to "GNU Objective-C".

From-SVN: r35539

23 years agoobjc-features.texi: Documented the new -fconstant-string-class option.
Ovidiu Predescu [Mon, 7 Aug 2000 06:28:07 +0000 (06:28 +0000)]
objc-features.texi: Documented the new -fconstant-string-class option.

Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* objc-features.texi: Documented the new -fconstant-string-class
option.

From-SVN: r35538

23 years agoDocumented the new -fconstant-string-class option.
Ovidiu Predescu [Mon, 7 Aug 2000 06:27:47 +0000 (06:27 +0000)]
Documented the new -fconstant-string-class option.

From-SVN: r35537

23 years agothr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix...
Ovidiu Predescu [Mon, 7 Aug 2000 05:51:41 +0000 (05:51 +0000)]
thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix thread...

Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
improve the Posix thread support for Objective-C.

From-SVN: r35536

23 years agoIntegrated Chris Ball's <cball@fmco.com> changes to improve the Posix
Ovidiu Predescu [Mon, 7 Aug 2000 05:51:14 +0000 (05:51 +0000)]
Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix
thread support for Objective-C.

From-SVN: r35535

23 years agogthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix...
Ovidiu Predescu [Sun, 6 Aug 2000 18:54:49 +0000 (18:54 +0000)]
gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix thread...

Sun Aug  6 11:54:03 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes
to improve the Posix thread support for Objective-C.

From-SVN: r35534

23 years agoIntegrated Chris Ball's <cball@fmco.com> changes to improve the Posix
Ovidiu Predescu [Sun, 6 Aug 2000 18:54:00 +0000 (18:54 +0000)]
Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix
thread support for Objective-C.

From-SVN: r35533

23 years agoobjc.exp (objc_target_compile): Set the ld_library_path so that running programs...
Ovidiu Predescu [Sun, 6 Aug 2000 18:43:22 +0000 (18:43 +0000)]
objc.exp (objc_target_compile): Set the ld_library_path so that running programs linked against the shared...

Sun Aug  6 11:41:51 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* lib/objc.exp (objc_target_compile): Set the ld_library_path so
that running programs linked against the shared version of libobjc
run correctly.

From-SVN: r35532

23 years agoSet the ld_library_path so that running programs linked against the
Ovidiu Predescu [Sun, 6 Aug 2000 18:41:49 +0000 (18:41 +0000)]
Set the ld_library_path so that running programs linked against the
shared version of libobjc run correctly.

From-SVN: r35531

23 years agoc-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and CTI_UNSIGNED_PTRDIFF_TYPE.
Joseph Myers [Sun, 6 Aug 2000 18:12:49 +0000 (19:12 +0100)]
c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and CTI_UNSIGNED_PTRDIFF_TYPE.

* c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and
CTI_UNSIGNED_PTRDIFF_TYPE.
(signed_size_type_node): Define.
(unsigned_ptrdiff_type_node): Define.
* c-decl.c (init_decl_processing): Create the
signed_size_type_node and unsigned_ptrdiff_type_node types.
* c-common.c (T_SC): Define.
(T_SST): Define.
(T_UPD): Define.
(print_char_table): Use T_SST for %zd, %zi, %zn.  Use T_UPD for
%to, %tu, %tx, %tX.  Allow %hhn (T_SC).  Add "c" to the flags for
%s and %p.
(scan_char_table): Use T_SC for %hhd, %hhi, %hhn.  Use T_SST for
%zd, %zi, %zn.  Use T_UPD for %to, %tu, %tx, %tX.  Add "c" to the
flags for %c, %s and %[.
(check_format_info): Only allow leniency for signedness of targets
of character pointers (when pedantic) for formats flagged with
"c", so for strings but not for %hh formats.  When pedantic, don't
allow character pointers to substitute for void pointers if a
second level of indirection is present.

testsuite:
* gcc.dg/c99-printf-1.c: New test.

From-SVN: r35530

23 years agoinvoke.texi (Options for Debugging Your Program or GCC): Update the names of dump...
Kazu Hirata [Sun, 6 Aug 2000 18:08:08 +0000 (18:08 +0000)]
invoke.texi (Options for Debugging Your Program or GCC): Update the names of dump files.

* invoke.texi (Options for Debugging Your Program or GCC): Update
the names of dump files.

From-SVN: r35529

23 years ago* gcc.c-torture/execute/20000801-4.x: Only xfail on x86.
Joseph Myers [Sun, 6 Aug 2000 18:04:54 +0000 (19:04 +0100)]
* gcc.c-torture/execute/20000801-4.x: Only xfail on x86.

From-SVN: r35528

23 years agoh8300.c (dosize): Rearrange code for conciseness.
Kazu Hirata [Sun, 6 Aug 2000 18:03:58 +0000 (18:03 +0000)]
h8300.c (dosize): Rearrange code for conciseness.

        * h8300.c (dosize): Rearrange code for conciseness.
        (split_adds_subs): Likewise.

From-SVN: r35527

23 years ago* loop.c: Fix formatting.
Kazu Hirata [Sun, 6 Aug 2000 17:57:57 +0000 (17:57 +0000)]
* loop.c: Fix formatting.

From-SVN: r35526

23 years ago* tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
Kazu Hirata [Sun, 6 Aug 2000 17:55:22 +0000 (17:55 +0000)]
* tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.

From-SVN: r35525

23 years ago* tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
Jeff Law [Sun, 6 Aug 2000 17:50:06 +0000 (11:50 -0600)]
* tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.

From-SVN: r35524

23 years ago* expr.c: Fix formatting.
Kazu Hirata [Sun, 6 Aug 2000 17:48:30 +0000 (17:48 +0000)]
* expr.c: Fix formatting.

From-SVN: r35523

23 years ago* rs6000.c (rs6000_maybe_dead): Prototype.
Kaveh R. Ghazi [Sun, 6 Aug 2000 16:39:20 +0000 (16:39 +0000)]
* rs6000.c (rs6000_maybe_dead): Prototype.

From-SVN: r35522

23 years agostmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for HAVE_nonlocal_goto...
Richard Henderson [Sun, 6 Aug 2000 10:07:31 +0000 (03:07 -0700)]
stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for HAVE_nonlocal_goto as well.

        * stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for
        HAVE_nonlocal_goto as well.
        * config/i960/i960.md (nonlocal_goto): Don't do it here.
        * config/pj/pj.md (nonlocal_goto): Likewise.

From-SVN: r35521

23 years agoloop.c (try_swap_copy_prop): New function.
Michael Hayes [Sun, 6 Aug 2000 08:15:28 +0000 (08:15 +0000)]
loop.c (try_swap_copy_prop): New function.

  * loop.c (try_swap_copy_prop): New function.
(load_mems): Rename copies to load_copies and add new regset
store_copies.  Check for sets of shadow registers and mark
in store_copies.   Call try_swap_copy_prop for registers
marked in store_copies.

From-SVN: r35520

23 years agoobjc-act.c: New command line option -fconstant-string-class to allow specifying a...
Ovidiu Predescu [Sun, 6 Aug 2000 07:56:00 +0000 (07:56 +0000)]
objc-act.c: New command line option -fconstant-string-class to allow specifying a user...

Sun Aug  6 00:54:42 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* objc/objc-act.c: New command line option -fconstant-string-class
to allow specifying a user defined constant string class,
different from NXConstantString.

* toplev.c: Moved the Objective-C specific options to
objc/lang-options.h.

* objc/lang-options.h: Moved the Objective-C specific options from
toplev.c. Added -fconstant-string-class.

From-SVN: r35519

23 years agoNew command line option -fconstant-string-class to allow specifying a user defined...
Ovidiu Predescu [Sun, 6 Aug 2000 07:54:40 +0000 (07:54 +0000)]
New command line option -fconstant-string-class to allow specifying a user defined constant string class...

New command line option -fconstant-string-class to allow specifying a
user defined constant string class, different from NXConstantString.

From-SVN: r35518

23 years agoMoved the Objective-C specific options to objc/lang-options.h.
Ovidiu Predescu [Sun, 6 Aug 2000 07:52:35 +0000 (07:52 +0000)]
Moved the Objective-C specific options to objc/lang-options.h.

From-SVN: r35517

23 years agoMoved the Objective-C specific options from toplev.c.
Ovidiu Predescu [Sun, 6 Aug 2000 07:51:15 +0000 (07:51 +0000)]
Moved the Objective-C specific options from toplev.c.

Moved the Objective-C specific options from toplev.c. Added
-fconstant-string-class to allow specifying a user defined constant
string class, different from NXConstantString.

From-SVN: r35516

23 years agolang-options.h...
Ovidiu Predescu [Sun, 6 Aug 2000 07:49:11 +0000 (07:49 +0000)]
lang-options.h...

lang-options.h: Added a comma after the last element to avoid syntax
errors when other languages define additional options.

From-SVN: r35515

23 years agoAdded a comma after the last element to avoid syntax errors when other
Ovidiu Predescu [Sun, 6 Aug 2000 07:47:20 +0000 (07:47 +0000)]
Added a comma after the last element to avoid syntax errors when other
languages define additional options.

From-SVN: r35514

23 years agoDaily bump.
Jeff Law [Sun, 6 Aug 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35513

23 years agoPrintWriter.java: Merged comments from Classpath.
Tom Tromey [Sun, 6 Aug 2000 01:54:07 +0000 (01:54 +0000)]
PrintWriter.java: Merged comments from Classpath.

* java/io/PrintWriter.java: Merged comments from Classpath.
(printlnUnsynchronized): Removed.
(println()): Print the separator.
(println): Call println(), not printlnUnsynchronized.
(out): Now protected, to match spec.

From-SVN: r35512

23 years agoStreamTokenizer.java (TT_NONE): Now private.
Tom Tromey [Sun, 6 Aug 2000 00:49:29 +0000 (00:49 +0000)]
StreamTokenizer.java (TT_NONE): Now private.

* java/io/StreamTokenizer.java (TT_NONE): Now private.
(nextToken): Handle backslashed newline.  From Oskar Liljeblad.
For PR java.io/301.

From-SVN: r35511

23 years agoelf.h (CTOR_LIST_BEGIN, [...]): change type of __CTOR_LIST__ from func_ptr array...
Chris Demetriou [Sun, 6 Aug 2000 00:07:22 +0000 (00:07 +0000)]
elf.h (CTOR_LIST_BEGIN, [...]): change type of __CTOR_LIST__ from func_ptr array to just func_ptr...

        * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
        DTOR_LIST_BEGIN, DTOR_LIST_END): change type of
        __CTOR_LIST__ from func_ptr array to just func_ptr, to
        avoid extra alignment imposed on arrays.
        * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
        DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise.

From-SVN: r35510

23 years agomips.h: Clean up comments and spacing near MASKs.
Chris Demetriou [Sun, 6 Aug 2000 00:02:49 +0000 (00:02 +0000)]
mips.h: Clean up comments and spacing near MASKs.

        * mips.h: Clean up comments and spacing near MASKs.
        (TARGET_UNIX_ASM): Delete.
        (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
        MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
        values contiguous.

From-SVN: r35509

23 years agoFix typos.
Joseph Myers [Sat, 5 Aug 2000 23:08:10 +0000 (00:08 +0100)]
Fix typos.

From-SVN: r35508

23 years agoc-common.c (print_char_table): Add entries for the X/Open ' format flag (print decima...
Joseph Myers [Sat, 5 Aug 2000 18:31:15 +0000 (19:31 +0100)]
c-common.c (print_char_table): Add entries for the X/Open ' format flag (print decimals with locale's...

* c-common.c (print_char_table): Add entries for the X/Open '
format flag (print decimals with locale's thousands grouping
character).  Make %C expect wint_t.
(check_format_info): If pedantic, warn when the %n$ operand
number form is used.  Allow for the ' flag; warn about it if
pedantic.

From-SVN: r35507

23 years agoi386.h (FUNCTION_OK_FOR_SIBCALL): Not OK if DECL's return type is a float mode...
Zack Weinberg [Sat, 5 Aug 2000 18:24:19 +0000 (18:24 +0000)]
i386.h (FUNCTION_OK_FOR_SIBCALL): Not OK if DECL's return type is a float mode...

* i386.h (FUNCTION_OK_FOR_SIBCALL):  Not OK if DECL's return
type is a float mode, cfun->decl's return type is not, and
TARGET_FLOAT_RETURNS_IN_80387.

* gcc.c-torture/execute/20000731-1.x: Delete.

From-SVN: r35506

23 years agotweak
Jason Merrill [Sat, 5 Aug 2000 17:48:27 +0000 (13:48 -0400)]
tweak

From-SVN: r35505

23 years agoDaily bump.
Jeff Law [Sat, 5 Aug 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35504

23 years agocxxabi.h (__pbase_type_info): Changed member names to match specifications.
Jeffrey Oldham [Sat, 5 Aug 2000 04:17:23 +0000 (04:17 +0000)]
cxxabi.h (__pbase_type_info): Changed member names to match specifications.

2000-08-04  Jeffrey D. Oldham  <oldham@codesourcery.com>

* inc/cxxabi.h (__pbase_type_info): Changed member names to match
specifications.
(__pointer_to_member_type_info): Likewise.
(__base_class_info): Likewise.
(__class_type_info): Likewise.
(__si_class_type_info): Likewise.
(__vmi_class_type_info): Likewise.
* tinfo.cc (__si_class_type_info::__do_find_public_src):
Changed member names to match specifications.
(__vmi_class_type_info::__do_find_public_src): Likewise.
(__si_class_type_info::__do_dyncast): Likewise.
(__vmi_class_type_info::__do_dyncast): Likewise.
(__si_class_type_info::__do_upcast): Likewise.
(__vmi_class_type_info::__do_upcast): Likewise.
* tinfo2.cc (__pbase_type_info::__do_catch): Likewise.
(__pbase_type_info::__pointer_catch): Likewise.
(__pointer_type_info::__pointer_catch): Likewise.
(__pointer_to_member_type_info::__pointer_catch): Likewise.

From-SVN: r35503

23 years agoaclocal.m4: Replace copy of ../libtool.m4 with sinclude(../libtool.m4).
Zack Weinberg [Sat, 5 Aug 2000 01:13:37 +0000 (01:13 +0000)]
aclocal.m4: Replace copy of ../libtool.m4 with sinclude(../libtool.m4).

* aclocal.m4: Replace copy of ../libtool.m4 with
sinclude(../libtool.m4).

From-SVN: r35502

23 years ago[multiple changes]
Zack Weinberg [Sat, 5 Aug 2000 00:50:02 +0000 (00:50 +0000)]
[multiple changes]

2000-08-04  Andreas Schwab  <schwab@suse.de>

* cppmain.c (cb_def_pragma): Skip the first two tokens from the
token list, which are always `#' and `pragma'.

2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>

* tree.c (tree_expr_nonnegative_p): Move to...
* fold-const.c: ... here.  Also handle BIND_EXPR and RTL_EXPR.
(rtl_expr_nonnegative_p): New.
* tree.h: Add prototype for rtl_expr_nonnegative_p.

* real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
CONST_DOUBLE_CHAIN: Move to...
* rtl.h: ...here.  Use XCINT/XCEXP.

* Makefile.in: Remove toplev.o from OBJS.  Add rule to make
libbackend.a; add libbackend.a to STAGESTUFF.  Add BACKEND
variable.  Use BACKEND when linking cc1, not OBJS.  Add BACKEND
to VOL_FILES.

* objc/Make-lang.in (cc1obj): Link with $(BACKEND).

ch:
* Make-lang.in (cc1chill): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in (cc1chill): Link with $(BACKEND).  Define BACKEND,
eliminate C_OBJS (was commented out), OBJS, OBJDEPS.
cp:
        * Make-lang.in (cc1plus): Depend on $(BACKEND), not stamp-objlist.
        * Makefile.in: Add C_OBJS, BACKEND; delete OBJS, OBJDEPS.
        (cc1plus): Link with $(BACKEND) and $(C_OBJS).
f:
* Make-lang.in (f771): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
(f771): Link with $(BACKEND).
java:
* Make-lang.in (jc1, jv-scan): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
(jc1): Link with $(BACKEND).
(jv-scan): Depend on version.o, not all of $(OBJS) or $(BACKEND).

From-SVN: r35501

23 years agogcc-dg.exp: Set up TORTURE_OPTIONS...
Zack Weinberg [Sat, 5 Aug 2000 00:46:17 +0000 (00:46 +0000)]
gcc-dg.exp: Set up TORTURE_OPTIONS...

* lib/gcc-dg.exp: Set up TORTURE_OPTIONS, torture_with_loops,
and torture_without_loops as is done by c-torture.exp.
(search_for): Copy from c-torture.exp.
(gcc-dg-runtest): New function, drives a directory of tests
iterating over the TORTURE_OPTIONS.
(scan-assembler, scan-assembler-not): Move here from
individual directory drivers.

* gcc.dg/dg.exp: scan-assembler, scan-assembler-not now
defined by lib/gcc-dg.exp.
* gcc.dg/cpp/cpp.exp: Likewise.
* gcc.dg/noncompile/noncompile.exp: Likewise.  Use
gcc-dg-runtest, so we cycle over optimization options.

* gcc.dg/cpp/20000625-2.c: Expect warning on line 8, not 9.
* gcc.dg/compare2.c: No longer expected to fail.

From-SVN: r35500

23 years agonew
Jason Merrill [Sat, 5 Aug 2000 00:38:31 +0000 (20:38 -0400)]
new

From-SVN: r35499

23 years agopt.c (do_type_instantiation): Add complain parm; don't complain if called recursively.
Jason Merrill [Sat, 5 Aug 2000 00:38:24 +0000 (20:38 -0400)]
pt.c (do_type_instantiation): Add complain parm; don't complain if called recursively.

        * pt.c (do_type_instantiation): Add complain parm; don't complain
        if called recursively.
        * cp-tree.h, parse.y: Adjust.

From-SVN: r35498

23 years agoc4x.md (return_indirect_internal): New.
Herman A.J. ten Brugge [Fri, 4 Aug 2000 23:43:22 +0000 (01:43 +0200)]
c4x.md (return_indirect_internal): New.

2000-08-05  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>

        * config/c4x/c4x.md (return_indirect_internal): New.
        * config/c4x/c4x.c (c4x_expand_epilogue): Use it.

From-SVN: r35497

23 years agoc-common.c (time_char_table): Mark up formats added in C99 and make other corrections.
Joseph Myers [Fri, 4 Aug 2000 23:03:21 +0000 (00:03 +0100)]
c-common.c (time_char_table): Mark up formats added in C99 and make other corrections.

* c-common.c (time_char_table): Mark up formats added in C99 and
make other corrections.  %D and %g were added in C99.  %Og is an
extension.  %EX is permitted.  %R, %T, %n, %r, %t were added in
C99.  %e was added in C99.  %Oj is an extension.  %G and %z are in
C99 rather than GNU extensions, but %OG and %Oz are extensions.
%h was added in C99.  %C was added in C99.  %OY and %OC are
extensions.  Add the C99 format %F.
(check_format_info): If pedantic and not in C99 mode, warn for C99
formats, %E and %O.

From-SVN: r35496

23 years agofunction.c (schedule_fixup_var_refs): New function, broken out of put_reg_into_stack.
J"orn Rennecke [Fri, 4 Aug 2000 22:06:49 +0000 (22:06 +0000)]
function.c (schedule_fixup_var_refs): New function, broken out of put_reg_into_stack.

* function.c (schedule_fixup_var_refs): New function, broken out
of put_reg_into_stack.
(put_reg_into_stack): Use it.
(put_var_into_stack): In CONCAT case, fixup up references for
components only after fixing up references to the whole concat.
testsuite:
* gcc.c-torture/execute/20000804-1.c: New test.

From-SVN: r35495

23 years agoalias.c (mark_constant_function): Use INSN_P.
Rodney Brown [Fri, 4 Aug 2000 20:28:08 +0000 (20:28 +0000)]
alias.c (mark_constant_function): Use INSN_P.

* alias.c (mark_constant_function): Use INSN_P.
(init_alias_analysis): Likewise.
* combine.c (combine_instructions): Use INSN_P.
(can_combine_p): Likewise.
(try_combine): Likewise.
(distribute_notes): Likewise.
(distribute_links): Likewise.
* cse.c (cse_around_loop): Use INSN_P.
(invalidate_skipped_block): Likewise.
(cse_set_around_loop): Likewise.
(cse_end_of_basic_block): Likewise.
(delete_trivially_dead_insns): Likewise.
* emit-rtl.c (unshare_all_rtl_again): Use INSN_P.
(unshare_all_rtl_1): Likewise.
(next_cc0_user): Likewise.
(try_split make_insn_raw): Likewise.
(remove_unnecessary_notes): Likewise.
* final.c (shorten_branches): Use INSN_P.
(leaf_renumber_regs): Likewise.
(leaf_renumber_regs_insn): Likewise.
* flow.c (find_label_refs): Use INSN_P.
(verify_wide_reg): Likewise.
(notice_stack_pointer_modification): Likewise.
(count_or_remove_death_notes): Likewise.
(verify_flow_info): Likewise.
(clear_log_links): Likewise.
* function.c (fixup_var_refs_insns): Use INSN_P.
(compute_insns_for_mem): Likewise.
* gcse.c (alloc_gcse_mem): Use INSN_P.
(compute_sets): Likewise.
(compute_hash_table): Likewise.
(classic_gcse): Likewise.
(cprop): Likewise.
(insert_insn_end_bb): Likewise.
(delete_null_pointer_checks_1): Likewise.
* global.c (expand_preferences): Use INSN_P.
(build_insn_chain): Likewise.
* graph.c (node_data): Use INSN_P.
* haifa-sched.c (priority): Use INSN_P.
(rm_line_notes): Likewise.
(rm_other_notes): Likewise.
(find_insn_reg_weight): Likewise.
(init_target_units): Likewise.
(schedule_block): Likewise.
(compute_block_forward_dependences): Likewise.
(debug_dependencies): Likewise.
(set_priorities): Likewise.
* integrate.c (function_cannot_inline_p): Use INSN_P.
(save_parm_insns): Likewise.
(copy_insn_list): Likewise.
* jump.c (mark_all_labels): Use INSN_P.
(never_reached_warning): Likewise.
* lcm.c (optimize_mode_switching): Use INSN_P.
* local-alloc.c (validate_equiv_mem): Use INSN_P.
(memref_used_between_p): Likewise.
(update_equiv_regs): Likewise.
(block_alloc): Likewise.
(no_conflict_p): Likewise.
* loop.c (scan_loop): Use INSN_P.
(find_and_verify_loops): Likewise.
(count_loop_regs_set): Likewise.
(loop_reg_used_before_p): Likewise.
(strength_reduce): Likewise.
(recombine_givs): Likewise.
(check_dbra_loop): Likewise.
(load_mems): Likewise.
(try_copy_prop): Likewise.
* print-rtl.c (print_rtx): Use INSN_P.
* recog.c (find_single_use): Use INSN_P.
* reg-stack.c (stack_regs_mentioned): Use INSN_P.
(next_flags_user): Likewise.
(swap_rtx_condition): Likewise.
* regmove.c (mark_flags_life_zones): Use INSN_P.
(optimize_reg_copy_1): Likewise.
(optimize_reg_copy_2): Likewise.
(optimize_reg_copy_3): Likewise.
(reg_is_remote_constant_p): Likewise.
(fixup_match_2): Likewise.
(regmove_optimize): Likewise.
(fixup_match_1): Likewise.
* regrename.c (build_def_use): Use INSN_P.
(replace_reg_in_block): Likewise.
(consider_use): Likewise.
* reload.c (find_equiv_reg): Use INSN_P.
* reload1.c (reload): Use INSN_P.
(maybe_fix_stack_asms): Likewise.
(calculate_needs_all_insns): Likewise.
(reload_as_needed): Likewise.
(emit_output_reload_insns): Likewise.
(delete_address_reloads_1): Likewise.
(reload_cse_regs_1): Likewise.
(reload_combine): Likewise.
(reload_cse_move2add): Likewise.
* reorg.c (redundant_insn): Use INSN_P.
(dbr_schedule): Likewise.
* resource.c (find_dead_or_set_registers): Use INSN_P.
(mark_target_live_regs): Likewise.
* rtlanal.c (reg_used_between_p): Use INSN_P.
(reg_referenced_between_p): Likewise.
(reg_set_between_p): Likewise.
(reg_set_p): Likewise.
(single_set): Likewise.
(multiple_sets): Likewise.
(find_last_value): Likewise.
(reg_set_last): Likewise.
(find_reg_note): Likewise.
(find_regno_note): Likewise.
* sibcall.c (sequence_uses_addressof): Use INSN_P.
* simplify-rtx.c (cselib_process_insn): Use INSN_P.
* ssa.c (find_evaluations): Use INSN_P.
(rename_block): Likewise.
(rename_equivalent_regs): Likewise.
* unroll.c (loop_find_equiv_value): Use INSN_P.
(set_dominates_use): Likewise.
* varasm.c (mark_constant_pool): Use INSN_P.
(mark_constants): Likewise.
* config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P.
(alphaev4_next_group): Likewise.
(alphaev5_next_group): Likewise.
* config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P.
(c4x_rptb_rpts_p): Likewise.
* config/mips/mips.c (mips16_optimize_gp): Use INSN_P.
* config/rs6000/rs6000.c (uses_TOC): Use INSN_P.
(rs6000_adjust_priority): Likewise.
* config/sh/sh.c (sh_loop_align): Use INSN_P.
(machine_dependent_reorg): Likewise.
(split_branches): Likewise.
* config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P.

From-SVN: r35494

23 years agoMinor tweaks
Mark Mitchell [Fri, 4 Aug 2000 20:24:47 +0000 (20:24 +0000)]
Minor tweaks

From-SVN: r35493

23 years agocombine.c (recog_for_combine): Remove the old notes prior to attempting to recognize...
John Wehle [Fri, 4 Aug 2000 19:16:05 +0000 (19:16 +0000)]
combine.c (recog_for_combine): Remove the old notes prior to attempting to recognize the new pattern.

        * combine.c (recog_for_combine): Remove the old notes
        prior to attempting to recognize the new pattern.
        (distribute_notes): Ignore REG_NONNEG notes.

From-SVN: r35492

23 years agoFix typo
Mark Mitchell [Fri, 4 Aug 2000 18:49:13 +0000 (18:49 +0000)]
Fix typo

From-SVN: r35491

23 years agocp-tree.h (add_method): Change prototype.
Mark Mitchell [Fri, 4 Aug 2000 18:41:00 +0000 (18:41 +0000)]
cp-tree.h (add_method): Change prototype.

* cp-tree.h (add_method): Change prototype.
* class.c (add_method): Remove FIELDS parameter.  Add ERROR_P.
Don't double the size of the method vector in the error case.
(handle_using_decl): Adjust call to add_method.
(add_implicitly_declared_members): Likewise.
(clone_function_decl): Likewise.
* decl2.c (check_classfn): Likewise.
* semantics.c (finish_member_declaration): Likewise.

From-SVN: r35490

23 years ago* varasm.c (output_constructor): Add .align 0 for packed vars.
Chandrakala Chavva [Fri, 4 Aug 2000 18:11:16 +0000 (14:11 -0400)]
* varasm.c (output_constructor): Add .align 0 for packed vars.

From-SVN: r35489

23 years agoconfigure.in: Use default thread_file even when enable_threads is yes or dce because...
J. David Anglin [Fri, 4 Aug 2000 17:39:19 +0000 (17:39 +0000)]
configure.in: Use default thread_file even when enable_threads is yes or dce because...

        * configure.in: Use default thread_file even when enable_threads is
        yes or dce because hpux10.20 pa port uses MULTILIB implementation.
        * configure: Rebuilt.

From-SVN: r35488

23 years ago* gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
J. David Anglin [Fri, 4 Aug 2000 17:25:19 +0000 (17:25 +0000)]
* gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.

From-SVN: r35487

23 years agomask_array.h (mask_array): Rename template type parameter to avoid conflicts with...
David E O'Brien [Fri, 4 Aug 2000 17:22:03 +0000 (11:22 -0600)]
mask_array.h (mask_array): Rename template type parameter to avoid conflicts with ctype.h on BSD systems.

        * std/mask_array.h (mask_array): Rename template type
        parameter to avoid conflicts with ctype.h on BSD systems.
        * std/slice_array.h (slice_array): Likewise.

From-SVN: r35486

23 years ago* prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
Jeff Law [Fri, 4 Aug 2000 17:02:51 +0000 (11:02 -0600)]
* prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.

From-SVN: r35485

23 years agox-djgpp: Delete code that conditionally modifies target_alias.
Mark Elbrecht [Fri, 4 Aug 2000 16:19:19 +0000 (16:19 +0000)]
x-djgpp: Delete code that conditionally modifies target_alias.

        * i386/x-djgpp: Delete code that conditionally modifies target_alias.
        Delete code that conditionally modifies 'version'.
        Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
        * i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
        * gcc.c (main): Use it.
        * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
        * prefix.c (update_path): Use it.
        * i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
        (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
        (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
        code.
        (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
        (SUBTARGET_SWITCHES): Adjust.
        (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
        defining.
        (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.

From-SVN: r35484

23 years agomh-djgpp: Conditionally set 'target_alias' to djgpp.
Mark Elbrecht [Fri, 4 Aug 2000 16:17:37 +0000 (16:17 +0000)]
mh-djgpp: Conditionally set 'target_alias' to djgpp.

        * mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
        modify 'gcc_version'.

From-SVN: r35483

23 years agoc-common.h (flag_isoc94): Declare.
Joseph Myers [Fri, 4 Aug 2000 16:10:14 +0000 (17:10 +0100)]
c-common.h (flag_isoc94): Declare.

* c-common.h (flag_isoc94): Declare.
* c-decl.c (flag_isoc94): Define.
(c_decode_option): Set flag_isoc94 as appropriate.
* c-common.c (T_PD, T_IM, T_UIM): Define.
(format_char_info): Add tlen and jlen.
(print_char_table): Add entries for %t and %j.  Allow %zn.  Allow
%F.  Allow %lf.
(scan_char_table): Add entries for %t and %j.  Allow %F.  Allow
%l[.
(time_char_table): Add NULL entries for %t and %j.
(check_format_info): Allow for %t and %j.  Warn for %F if pedantic
and not C99.  Warn for %lc, %ls and %l[ if pedantic and not C94.
Warn for printf %lf if pedantic and not C99.  Don't warn for empty
precision.  Allow precision argument to be unsigned int.  If
pedantic, warn for %p passed an argument not a pointer to possibly
qualified void or a possibly qualified character type, and for
pointer targets of the wrong sign, except for character pointers.

cp:
* decl.c (flag_isoc94): New variable.

testsuite:
* gcc.dg/c90-printf-1.c, gcc.dg/c94-printf-1.c: New tests.

From-SVN: r35482

23 years agostddef.h: Don't declare wint_t unless __need_wint_t.
Joseph Myers [Fri, 4 Aug 2000 16:00:48 +0000 (17:00 +0100)]
stddef.h: Don't declare wint_t unless __need_wint_t.

* ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
* c-common.h (enum c_tree_index): Add CTI_WINT_TYPE.
(wint_type_node): Define.
* c-decl.c (WINT_TYPE): Define.
(init_decl_processing): Create the wint_type_node type.
* c-common.c (T_WI): Define.
(print_char_table): Use T_WI for %lc format.

From-SVN: r35481

23 years agoRemoved conditional #defines of macros GCC always defines
Bruce Korb [Fri, 4 Aug 2000 14:20:42 +0000 (14:20 +0000)]
Removed conditional #defines of macros GCC always defines

From-SVN: r35480

23 years agoImplement, but leave disabled, MSDOS functionality
Bruce Korb [Fri, 4 Aug 2000 14:16:57 +0000 (14:16 +0000)]
Implement, but leave disabled, MSDOS functionality

From-SVN: r35479

23 years agocppdefault.h (WINT_TYPE): Define.
Joseph Myers [Fri, 4 Aug 2000 12:45:57 +0000 (13:45 +0100)]
cppdefault.h (WINT_TYPE): Define.

* cppdefault.h (WINT_TYPE): Define.
* cppinit.c (builtin_array): Define __WINT_TYPE__.
* tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
* tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.

From-SVN: r35478