OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago * flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
rth [Tue, 8 Aug 2000 19:46:51 +0000 (19:46 +0000)]
    * 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.

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

23 years ago * rs6000.c (optimization_options): Decorate 'level' as
dje [Tue, 8 Aug 2000 18:50:15 +0000 (18:50 +0000)]
* 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.

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

23 years ago * gnu/gcj/convert/Input_UTF8.java (read): Fixed handling of
tromey [Tue, 8 Aug 2000 17:35:32 +0000 (17:35 +0000)]
* 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.

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

23 years ago * config/ia64/ia64-protos.h: Remove duplicates. Update
rth [Tue, 8 Aug 2000 10:01:20 +0000 (10:01 +0000)]
* 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.

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

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

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

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

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

23 years ago * frame.h (ia64_frame_state): Add my_psp.
rth [Tue, 8 Aug 2000 09:08:55 +0000 (09:08 +0000)]
    * 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.

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

23 years ago * tm.texi (LOCAL_REGNO): Document.
rth [Tue, 8 Aug 2000 08:28:00 +0000 (08:28 +0000)]
    * 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.

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

23 years ago * c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
jsm28 [Tue, 8 Aug 2000 08:23:31 +0000 (08:23 +0000)]
* c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.

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

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

23 years agoDaily bump.
law [Tue, 8 Aug 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * java/lang/reflect/Method.java (hashCode): Use getName().
tromey [Tue, 8 Aug 2000 03:34:51 +0000 (03:34 +0000)]
* java/lang/reflect/Method.java (hashCode): Use getName().
(toString): Likewise.
* java/lang/reflect/natMethod.cc (getType): Initialize
exception_types.

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

23 years ago2000-08-07 Alexandre Petit-Bianco <apbianco@cygnus.com
apbianco [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)

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

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

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

23 years ago2000-08-07 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Mon, 7 Aug 2000 21:19:48 +0000 (21:19 +0000)]
2000-08-07  Toon Moene  <toon@moene.indiv.nluug.nl>

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

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

23 years ago * java/lang/reflect/Method.java (toString): Use Class.getName, not
tromey [Mon, 7 Aug 2000 20:03:40 +0000 (20:03 +0000)]
* java/lang/reflect/Method.java (toString): Use Class.getName, not
Class.toString.
* java/lang/reflect/Field.java (toString): Correct formatting.
From Corey Minyard.

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

23 years ago * java/io/PipedInputStream.java (read(byte[],int,int)): Mostly
tromey [Mon, 7 Aug 2000 19:59:48 +0000 (19:59 +0000)]
* java/io/PipedInputStream.java (read(byte[],int,int)): Mostly
rewrote.
(receive): Streamlined.

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

23 years ago2000-08-07 Felix Natter <fnatter@gmx.net>
pme [Mon, 7 Aug 2000 19:29:19 +0000 (19:29 +0000)]
2000-08-07  Felix Natter  <fnatter@gmx.net>

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

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

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

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

23 years ago* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
dj [Mon, 7 Aug 2000 15:00:46 +0000 (15:00 +0000)]
* 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".

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

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

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

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

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

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

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

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

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

23 years ago* sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
aoliva [Mon, 7 Aug 2000 09:58:29 +0000 (09:58 +0000)]
* 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.

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

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

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

23 years ago * expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
rth [Mon, 7 Aug 2000 08:27:54 +0000 (08:27 +0000)]
    * expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
        * expr.c (emit_group_store): Don't set it.

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

23 years agoDaily bump.
law [Mon, 7 Aug 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.
law [Mon, 7 Aug 2000 07:13:13 +0000 (07:13 +0000)]
    * cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.
        * decl.c (pop_labels): Likewise.

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

23 years ago * invoke.texi (Options for Debugging Your Program or GCC): Remove
law [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'.

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

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

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

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

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

23 years agoSun Aug 6 23:47:35 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
ovidiu [Mon, 7 Aug 2000 06:48:26 +0000 (06:48 +0000)]
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".

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

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

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

23 years agoSun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
ovidiu [Mon, 7 Aug 2000 06:28:07 +0000 (06:28 +0000)]
Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

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

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

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

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

23 years agoSun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
ovidiu [Mon, 7 Aug 2000 05:51:41 +0000 (05:51 +0000)]
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.

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

23 years agoIntegrated Chris Ball's <cball@fmco.com> changes to improve the Posix
ovidiu [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.

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

23 years agoSun Aug 6 11:54:03 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
ovidiu [Sun, 6 Aug 2000 18:54:49 +0000 (18:54 +0000)]
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.

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

23 years agoIntegrated Chris Ball's <cball@fmco.com> changes to improve the Posix
ovidiu [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.

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

23 years agoSun Aug 6 11:41:51 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
ovidiu [Sun, 6 Aug 2000 18:43:22 +0000 (18:43 +0000)]
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.

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

23 years agoSet the ld_library_path so that running programs linked against the
ovidiu [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.

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

23 years ago * c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and
jsm28 [Sun, 6 Aug 2000 18:12:49 +0000 (18:12 +0000)]
* 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.

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

23 years ago * invoke.texi (Options for Debugging Your Program or GCC): Update
law [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.

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

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

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

23 years ago * h8300.c (dosize): Rearrange code for conciseness.
law [Sun, 6 Aug 2000 18:03:58 +0000 (18:03 +0000)]
    * h8300.c (dosize): Rearrange code for conciseness.
        (split_adds_subs): Likewise.

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

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

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

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

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

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

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

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

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

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

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

23 years ago * stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for
rth [Sun, 6 Aug 2000 10:07:31 +0000 (10:07 +0000)]
    * 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.

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

23 years ago * loop.c (try_swap_copy_prop): New function.
m.hayes [Sun, 6 Aug 2000 08:15:28 +0000 (08:15 +0000)]
  * 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.

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

23 years agoSun Aug 6 00:54:42 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
ovidiu [Sun, 6 Aug 2000 07:56:00 +0000 (07:56 +0000)]
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.

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

23 years agoNew command line option -fconstant-string-class to allow specifying a
ovidiu [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, different from NXConstantString.

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

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

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

23 years agoMoved the Objective-C specific options from toplev.c. Added
ovidiu [Sun, 6 Aug 2000 07:51:15 +0000 (07:51 +0000)]
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.

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

23 years agolang-options.h: Added a comma after the last element to avoid syntax
ovidiu [Sun, 6 Aug 2000 07:49:11 +0000 (07:49 +0000)]
lang-options.h: Added a comma after the last element to avoid syntax
errors when other languages define additional options.

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

23 years agoAdded a comma after the last element to avoid syntax errors when other
ovidiu [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.

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

23 years agoDaily bump.
law [Sun, 6 Aug 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * java/io/PrintWriter.java: Merged comments from Classpath.
tromey [Sun, 6 Aug 2000 01:54:07 +0000 (01:54 +0000)]
* 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.

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

23 years ago * java/io/StreamTokenizer.java (TT_NONE): Now private.
tromey [Sun, 6 Aug 2000 00:49:29 +0000 (00:49 +0000)]
* java/io/StreamTokenizer.java (TT_NONE): Now private.
(nextToken): Handle backslashed newline.  From Oskar Liljeblad.
For PR java.io/301.

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

23 years ago * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
law [Sun, 6 Aug 2000 00:07:22 +0000 (00:07 +0000)]
    * 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.

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

23 years ago * mips.h: Clean up comments and spacing near MASKs.
law [Sun, 6 Aug 2000 00:02:49 +0000 (00:02 +0000)]
    * 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.

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

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

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

23 years ago * c-common.c (print_char_table): Add entries for the X/Open '
jsm28 [Sat, 5 Aug 2000 18:31:15 +0000 (18:31 +0000)]
* 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.

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

23 years ago * i386.h (FUNCTION_OK_FOR_SIBCALL): Not OK if DECL's return
zack [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, cfun->decl's return type is not, and
TARGET_FLOAT_RETURNS_IN_80387.

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

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

23 years agotweak
jason [Sat, 5 Aug 2000 17:48:27 +0000 (17:48 +0000)]
tweak

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

23 years agoDaily bump.
law [Sat, 5 Aug 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago2000-08-04 Jeffrey D. Oldham <oldham@codesourcery.com>
oldham [Sat, 5 Aug 2000 04:17:23 +0000 (04:17 +0000)]
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.

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

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

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

23 years ago2000-08-04 Andreas Schwab <schwab@suse.de>
zack [Sat, 5 Aug 2000 00:50:02 +0000 (00:50 +0000)]
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).

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

23 years ago * lib/gcc-dg.exp: Set up TORTURE_OPTIONS, torture_with_loops,
zack [Sat, 5 Aug 2000 00:46:17 +0000 (00:46 +0000)]
* 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.

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

23 years agonew
jason [Sat, 5 Aug 2000 00:38:31 +0000 (00:38 +0000)]
new

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

23 years ago * pt.c (do_type_instantiation): Add complain parm; don't complain
jason [Sat, 5 Aug 2000 00:38:24 +0000 (00:38 +0000)]
    * pt.c (do_type_instantiation): Add complain parm; don't complain
        if called recursively.
        * cp-tree.h, parse.y: Adjust.

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

23 years ago2000-08-05 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
m.hayes [Fri, 4 Aug 2000 23:43:22 +0000 (23:43 +0000)]
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.

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

23 years ago * c-common.c (time_char_table): Mark up formats added in C99 and
jsm28 [Fri, 4 Aug 2000 23:03:21 +0000 (23:03 +0000)]
* 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.

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

23 years ago * function.c (schedule_fixup_var_refs): New function, broken out
amylaar [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.
(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.

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

23 years ago * alias.c (mark_constant_function): Use INSN_P.
law [Fri, 4 Aug 2000 20:28:08 +0000 (20:28 +0000)]
* 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.

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

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

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

23 years ago * combine.c (recog_for_combine): Remove the old notes
law [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.
        (distribute_notes): Ignore REG_NONNEG notes.

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

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

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

23 years ago * cp-tree.h (add_method): Change prototype.
mmitchel [Fri, 4 Aug 2000 18:41:00 +0000 (18:41 +0000)]
* 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.

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

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

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

23 years ago * configure.in: Use default thread_file even when enable_threads is
law [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 hpux10.20 pa port uses MULTILIB implementation.
        * configure: Rebuilt.

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

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

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

23 years ago * std/mask_array.h (mask_array): Rename template type
law [Fri, 4 Aug 2000 17:22:03 +0000 (17:22 +0000)]
    * 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.

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

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

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

23 years ago * i386/x-djgpp: Delete code that conditionally modifies target_alias.
law [Fri, 4 Aug 2000 16:19:19 +0000 (16:19 +0000)]
    * 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.

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

23 years ago * mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
law [Fri, 4 Aug 2000 16:17:37 +0000 (16:17 +0000)]
    * mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
        modify 'gcc_version'.

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

23 years ago * c-common.h (flag_isoc94): Declare.
jsm28 [Fri, 4 Aug 2000 16:10:14 +0000 (16:10 +0000)]
* 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.

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

23 years ago * ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
jsm28 [Fri, 4 Aug 2000 16:00:48 +0000 (16:00 +0000)]
* 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.

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

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

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

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

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

23 years ago * cppdefault.h (WINT_TYPE): Define.
jsm28 [Fri, 4 Aug 2000 12:45:57 +0000 (12:45 +0000)]
* 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.

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

23 years ago * (mips_legitimate_address_p): Don't allow register+offset
cpopetz [Fri, 4 Aug 2000 11:52:08 +0000 (11:52 +0000)]
* (mips_legitimate_address_p): Don't allow register+offset
if the offset is large and negative, and we are compiling
for 64 bit registers.

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

23 years ago * MAINTAINERS: Add self to Write After Approval list.
jsm28 [Fri, 4 Aug 2000 08:37:37 +0000 (08:37 +0000)]
* MAINTAINERS: Add self to Write After Approval list.

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

23 years agoDaily bump.
law [Fri, 4 Aug 2000 07:45:12 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * h8300.c (function_prologue): Rearrange code for conciseness.
law [Fri, 4 Aug 2000 07:07:55 +0000 (07:07 +0000)]
    * h8300.c (function_prologue): Rearrange code for conciseness.
        (function_epilogue): Likewise.
        * hh8300.h (OK_FOR_U): Fix formatting.

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

23 years ago * gencodes.c (main): Define CODE_FOR_nothing as the last possible
law [Fri, 4 Aug 2000 07:01:30 +0000 (07:01 +0000)]
    * gencodes.c (main): Define CODE_FOR_nothing as the last possible
        insn_code_number + 1.

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

23 years ago * cse.c: Fix a comment typo. Fix formatting.
law [Fri, 4 Aug 2000 06:55:10 +0000 (06:55 +0000)]
    * cse.c: Fix a comment typo. Fix formatting.

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