Bruce Korb [Mon, 8 May 2000 13:06:47 +0000 (13:06 +0000)]
code generation reduction & sco script removal
From-SVN: r33766
Bruce Korb [Mon, 8 May 2000 13:05:16 +0000 (13:05 +0000)]
no longer needed
From-SVN: r33765
Jeff Law [Mon, 8 May 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r33764
Andreas Jaeger [Mon, 8 May 2000 07:18:04 +0000 (09:18 +0200)]
linux.h: Remove undefines which disabled .ctor/.dtor support.
2000-05-08 Andreas Jaeger <aj@suse.de>
* config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
support.
From-SVN: r33763
Bryce McKinlay [Mon, 8 May 2000 06:37:54 +0000 (06:37 +0000)]
Test for PR gcj/224:
2000-05-08 Bryce McKinlay <bryce@albatross.co.nz>
Test for PR gcj/224:
* libjava.compile/PR224.java: New file.
* libjava.compile/PR224.xfail: New file.
From-SVN: r33762
Zack Weinberg [Mon, 8 May 2000 00:09:09 +0000 (00:09 +0000)]
Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed substitutions.
* Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
substitutions.
From-SVN: r33761
Tom Tromey [Sun, 7 May 2000 16:02:00 +0000 (16:02 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (LIBLINK): New macro.
(libgcj_la_LINK): Use it.
(libgcjawt_la_LINK): Likewise.
From-SVN: r33760
Nathan Sidwell [Sun, 7 May 2000 09:40:34 +0000 (09:40 +0000)]
cxxabi.h: Use __SIZE_TYPE_ and __PTRDIFF_TYPE__ in place of std::size_t and...
* inc/cxxabi.h: Use __SIZE_TYPE_ and __PTRDIFF_TYPE__ in place
of std::size_t and std::ptrdiff_t respectively.
* tinfo.cc: Likewise.
* vec.cc: Likewise.
From-SVN: r33759
Neil Booth [Sun, 7 May 2000 08:49:08 +0000 (08:49 +0000)]
cpplex.c: Move new lexer definitions and prototypes to top.
* cpplex.c: Move new lexer definitions and prototypes
to top. Conditional include these and the code if
NEW_LEXER is defined. Rename functions whose names
clash if this code included.
From-SVN: r33758
Jeff Law [Sun, 7 May 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r33757
John Wehle [Sun, 7 May 2000 05:09:46 +0000 (05:09 +0000)]
rtl.def (COND_EXEC): Clarify.
* rtl.def (COND_EXEC): Clarify.
* i386.md (extendsidi2): Clobber (reg:CC 17) in the
same fashion as zero_extendsidi2.
From-SVN: r33756
Jason Eckhardt [Sun, 7 May 2000 02:09:42 +0000 (02:09 +0000)]
MAINTAINERS: Add self as bb-reorder maintainer.
Sat May 6 21:12:55 CDT 2000 Jason Eckhardt <jle@cygnus.com>
* MAINTAINERS: Add self as bb-reorder maintainer.
From-SVN: r33755
Richard Henderson [Sun, 7 May 2000 01:56:25 +0000 (18:56 -0700)]
ia64.c (predicate_operator): New.
* config/ia64/ia64.c (predicate_operator): New.
(ia64_print_operand): Handle 'J'.
(rtx_needs_barrier): Handle COND_EXEC.
* config/ia64/ia64.h (BRANCH_COST): Define.
(PREDICATE_CODES): Update.
* config/ia64/ia64.md: Docuement used unspec values.
(attr predicable): New.
(movxf, movxf_internal): New.
(extendsfdf2): Don't comment out nop.
(floatdidf2): Remove.
(truncxfsf2, truncxfdf2, floatdixf2): New.
(abssi2, absdi2): Put the neg in the "true" slot.
(conditional branch instructions): Mark not predicable.
(cmov*_internal): Use predicate_operator. Split to cond_exec.
(abs*_internal): Likewise.
(alloc, set_bsp): Mark not predicable.
(barrier, insn_group_barrier, flush_cache): Likewise.
(define_cond_exec): New.
From-SVN: r33754
Richard Henderson [Sun, 7 May 2000 01:46:22 +0000 (18:46 -0700)]
ia64.c (sdata_symbolic_operand): Mark unused args.
* config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
(symbolic_operand, function_operand, setjmp_operand): Likewise.
(shift_count_operand, shift_32bit_count_operand): Likewise.
(shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
(ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
(ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
(ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
(ia64_expand_builtin): Likewise.
(call_multiple_values_operation): Make dest_regno unsigned.
From-SVN: r33753
Richard Henderson [Sun, 7 May 2000 01:37:07 +0000 (18:37 -0700)]
c-decl.c: Include "tm_p.h".
* c-decl.c: Include "tm_p.h".
* config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
(fetchadd_operand, ia64_expand_fetch_and_op): Declare.
(ia64_expand_op_and_fetch): Declare.
* config/ia64/ia64.c: Include "toplev.h". Kill trailing whitespace.
(setjmp_operand): Constify variables for XSTR.
(ia64_encode_section_info): Likewise.
(ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
values to int.
(ia64_asm_output_external): Constify name.
(process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
(process_for_unwind_directive): Provide switch default.
(ia64_expand_compare_and_swap): Remove unused variables.
(ia64_expand_builtin): Likewise.
* config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
for printing.
From-SVN: r33752
Richard Henderson [Sun, 7 May 2000 00:48:53 +0000 (17:48 -0700)]
rtl.def (DEFINE_COND_EXEC): New.
* rtl.def (DEFINE_COND_EXEC): New.
* md.texi: Document it.
* gensupport.c (input_file): Remove.
(struct queue_elem): Add lineno.
(rtx_ready_queue): Remove.
(errors): New.
(predicable_default): New.
(predicable_true, predicable_false): New.
(define_attr_queue, define_attr_tail): New.
(define_insn_queue, define_insn_tail): New.
(define_cond_exec_queue, define_cond_exec_tail): New.
(other_queue, other_tail): New.
(queue_pattern): New.
(process_rtx): Add patterns to the appropriate queues.
(is_predicable, identify_predicable_attribute): New.
(n_alternatives, collect_insn_data): New.
(alter_predicate_for_insn, alter_test_for_insn): New.
(shift_output_template, alter_output_for_insn): New.
(process_one_cond_exec, process_define_cond_exec): New.
(init_md_reader): Read the entire file. Process define_cond_exec.
(read_md_rtx): Return elements from the queues.
From-SVN: r33751
Bryce McKinlay [Sun, 7 May 2000 00:43:49 +0000 (00:43 +0000)]
Imported version 5.0alpha7.
2000-05-07 Bryce McKinlay <bryce@albatross.co.nz>
Imported version 5.0alpha7.
* acinclude.m4: Update version to 5.0a7.
From-SVN: r33750
Richard Henderson [Sun, 7 May 2000 00:38:26 +0000 (17:38 -0700)]
flow.c (mark_set_1): Don't update conditional life info if the register is not_dead.
* flow.c (mark_set_1): Don't update conditional life info
if the register is not_dead.
From-SVN: r33749
Bryce McKinlay [Sat, 6 May 2000 23:59:01 +0000 (00:59 +0100)]
This commit was generated by cvs2svn to compensate for changes in r33746,
which included commits to RCS files with non-trunk default branches.
From-SVN: r33747
Bryce McKinlay [Sat, 6 May 2000 23:32:52 +0000 (00:32 +0100)]
Forgot this file when checking in my last change.
From-SVN: r33745
Richard Kenner [Sat, 6 May 2000 22:59:08 +0000 (18:59 -0400)]
Add imssing blank line
From-SVN: r33744
Zack Weinberg [Sat, 6 May 2000 22:34:14 +0000 (22:34 +0000)]
Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
* Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
(mostlyclean): Also delete fixincl, fixinc.sh, and
specs.ready, and make clean in the fixinc subdir.
From-SVN: r33743
Richard Henderson [Sat, 6 May 2000 22:30:13 +0000 (15:30 -0700)]
Makefile.in (gensupport.o): Compile for the host.
* Makefile.in (gensupport.o): Compile for the host.
(host-prefix gensuuprt.o): Remove.
(genflags.o): Depend on gensupport.h and OBSTACK_H.
(genattrtab.o): Likewise.
(gencodes.o): Depend on gensupport.h.
(genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
(genpeep.o, genattr.o, genoutput.o): Likewise.
* gensupport.c (obstack, rtl_obstack): New.
(init_md_reader): Initialize rtl_obstack.
* gensupport.h (rtl_obstack): Declare.
(message_with_line): Declare.
* genattr.c: Remove all traces of obstack manipulation.
* gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
* genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
* genattrtab.c (obstack, rtl_obstack): Remove.
(main): Don't init rtl_obstack.
* genflags.c: Likewise.
* genrecog.c (message_with_line): Move ...
* gensupport.c: ... here.
From-SVN: r33742
Richard Henderson [Sat, 6 May 2000 21:55:28 +0000 (14:55 -0700)]
code-gen2.C: Cast to size_t, not int.
* g++.old-deja/g++.brendan/code-gen2.C: Cast to size_t, not int.
* g++.old-deja/g++.mike/warn1.C: Likewise.
* g++.old-deja/g++.pt/local1.C: Likewise.
* g++.old-deja/g++.pt/local7.C: Likewise.
* g++.old-deja/g++.pt/spec16.C: Likewise.
From-SVN: r33741
Richard Henderson [Sat, 6 May 2000 21:55:07 +0000 (14:55 -0700)]
typeck.c (build_c_cast): Don't warn integer->pointer size mismatch for constants.
* typeck.c (build_c_cast): Don't warn integer->pointer size
mismatch for constants.
From-SVN: r33740
Richard Henderson [Sat, 6 May 2000 21:54:51 +0000 (14:54 -0700)]
* c-typeck.c (build_c_cast): Remove dead code.
From-SVN: r33739
Richard Henderson [Sat, 6 May 2000 21:50:03 +0000 (14:50 -0700)]
ifcvt.c (noce_process_if_block): Don't use an insn_b from test_bb if a or b uses x.
* ifcvt.c (noce_process_if_block): Don't use an insn_b from
test_bb if a or b uses x.
From-SVN: r33738
Richard Henderson [Sat, 6 May 2000 21:41:10 +0000 (14:41 -0700)]
ifcvt.c (noce_process_if_block): Don't use an insn_b from test_bb if insn_a uses x.
* ifcvt.c (noce_process_if_block): Don't use an insn_b from
test_bb if insn_a uses x.
From-SVN: r33737
Richard Henderson [Sat, 6 May 2000 21:36:35 +0000 (14:36 -0700)]
* flow.c (mark_set_1): Respect not_dead when updating reg_live.
From-SVN: r33736
Richard Henderson [Sat, 6 May 2000 21:35:35 +0000 (14:35 -0700)]
flow.c (split_edge): Don't allocate global_live_at_start for the new block unless...
* flow.c (split_edge): Don't allocate global_live_at_start for
the new block unless the old blocks had them as well.
From-SVN: r33735
Alexandre Petit-Bianco [Sat, 6 May 2000 20:32:55 +0000 (20:32 +0000)]
decl.c (predef_filenames_size): Now 7.
2000-05-05 Alexandre Petit-Bianco <apbianco@cygnus.com>
* decl.c (predef_filenames_size): Now 7.
(predef_filenames): New seventh entry.
(Tom's last patch was missing this bit.)
From-SVN: r33734
Zack Weinberg [Sat, 6 May 2000 20:00:03 +0000 (20:00 +0000)]
cpphash.h: Remove conditional #define of __extension__.
gcc:
* cpphash.h: Remove conditional #define of __extension__.
* rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
(ENABLE_RTL_CHECKING only).
* tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
(ENABLE_TREE_CHECKING only).
* varray.h: Add __extension__ to VARRAY_CHECK macro
(ENABLE_CHECKING only).
include:
* ansidecl.h: #define __extension__ to nothing if
GCC_VERSION < 2008.
From-SVN: r33733
Zack Weinberg [Sat, 6 May 2000 19:07:34 +0000 (19:07 +0000)]
new test - traditional token paste
From-SVN: r33732
Richard Earnshaw [Sat, 6 May 2000 18:13:35 +0000 (18:13 +0000)]
Use new tail-calling mechanism on ARM.
* arm.md (sibcall, sibcall_value): New expands.
(sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
(tailcalling peepholes): Delete.
(push_multi): Simplify.
* arm.c (lr_save_eliminated): Delete definition.
(pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
(output_return_instruction): Remove checks on lr_save_eliminated.
(output_arm_prologue): Remove old tail-calling code.
(arm_output_epilogue): New parameter, really_return. All callers
changed. Handle tail-calling epilogues.
* arm.h (lr_save_eliminated): Delete declaration.
(frame_pointer_needed): Delete declaration.
* arm-protos.h (arm_output_epilogue): Adjust prototype.
* arm.md (is_thumb): Examine symbol thumb_code, not expression
TARGET_ARM.
* arm.c (thumb_code): Define it.
(arm_override_options): Set it.
* arm.h (thumb_code): Declare it.
From-SVN: r33731
Zack Weinberg [Sat, 6 May 2000 17:29:59 +0000 (17:29 +0000)]
com.c (ffecom_overlap_): Set source_offset to bitsize_zero_node.
* com.c (ffecom_overlap_): Set source_offset to
bitsize_zero_node.
(ffecom_tree_canonize_ptr_): Use size_binop. Convert to
bitsizetype before multiplying by TYPE_SIZE.
(ffecom_tree_canonize_ref_) [case ARRAY_REF]: Break up offset
calculation. Convert to bitsizetype before multiplying by
TYPE_SIZE.
From-SVN: r33730
Richard Earnshaw [Sat, 6 May 2000 16:55:17 +0000 (16:55 +0000)]
* arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
From-SVN: r33729
Tom Tromey [Sat, 6 May 2000 16:25:13 +0000 (16:25 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (libgcj.zip): Don't pass -L to javac.
From-SVN: r33728
Nathan Sidwell [Sat, 6 May 2000 15:53:16 +0000 (15:53 +0000)]
* g++.old-deja/g++.abi/ptrflags.C: Correct and extend.
From-SVN: r33727
Nathan Sidwell [Sat, 6 May 2000 15:52:11 +0000 (15:52 +0000)]
rtti.c (ptmd_initializer): Set non-public, if class is incomplete.
* rtti.c (ptmd_initializer): Set non-public, if class is
incomplete.
* inc/cxxabi.h (__dynamic_cast): Explicitly say extern "C++".
(__cxa_vec_new, __cxa_vec_ctor, __cxa_vec_dtor,
__cxa_vec_delete): Likewise.
* tinfo.cc (__dynamic_cast): Likewise.
* vec.cc (__cxa_vec_new, __cxa_vec_ctor, __cxa_vec_dtor,
__cxa_vec_delete): Likewise.
From-SVN: r33726
Richard Kenner [Sat, 6 May 2000 11:30:43 +0000 (07:30 -0400)]
Fix error in previous change
From-SVN: r33725
Richard Earnshaw [Sat, 6 May 2000 11:14:18 +0000 (11:14 +0000)]
* arm.h (SPECIAL_MODE_PREDICATES): Define.
From-SVN: r33724
Richard Earnshaw [Sat, 6 May 2000 11:10:44 +0000 (11:10 +0000)]
arm.c (arm_gen_load_multiple, [...]): Don't add bogus clobber to insns.
* arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
bogus clobber to insns.
(load_multiple_operation, store_mulitple_operation): Don't check
for it.
* arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
* arm.md (and_scc, ior_scc): Add missing mode.
* arm.md (call_value_symbol): Remove predicate from op2.
From-SVN: r33723
Richard Kenner [Sat, 6 May 2000 10:17:11 +0000 (10:17 +0000)]
expr.c (get_subtarget): New function.
* expr.c (get_subtarget): New function.
(force_operand, expand_expr, do_store_flag): Use it.
* toplev.c (compile_file): Don't take strlen of NAME if null.
From-SVN: r33722
Jeff Law [Sat, 6 May 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r33721
David Edelsohn [Sat, 6 May 2000 04:31:16 +0000 (04:31 +0000)]
xcoffout.c (xcoff_current_include_file, [...]): Constify char *.
* xcoffout.c (xcoff_current_include_file,
xcoff_current_function_file, xcoff_lastfile): Constify char *.
(xcoffout_source_file, xcoffout_source_line): Make filename 'const
char *'.
(xcoffout_declare_function): Make name 'const char *'.
(xcoffout_end_epilogue): Make fname 'const char *'
* xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
xcoffout_declare_function, xcoffout_source_line): Match above.
* aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
-maix64 is error.
* rs6000.c (print_operand): Fix lossage typo.
(output_cbranch): Remove "cr" decoration for now.
* rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'.
From-SVN: r33720
Denis Chertykov [Sat, 6 May 2000 03:06:46 +0000 (03:06 +0000)]
avr.c (out_shift_with_cnt): Bugfix for shift by constant count.
* config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
constant count.
From-SVN: r33719
Bruce Korb [Fri, 5 May 2000 20:34:12 +0000 (20:34 +0000)]
Improve the matching for make target names
From-SVN: r33718
Mark Elbrecht [Fri, 5 May 2000 19:03:45 +0000 (19:03 +0000)]
* gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
From-SVN: r33717
Catherine Moore [Fri, 5 May 2000 18:16:49 +0000 (18:16 +0000)]
c-common.c (decl_attributes): For TYPE_DECLs attach the attribute to the decl.
* c-common.c (decl_attributes): For TYPE_DECLs attach the
attribute to the decl.
* c-decl.c (pushdecl): Propagate the USED attribute to the
type copy.
From-SVN: r33716
Richard Henderson [Fri, 5 May 2000 16:48:24 +0000 (09:48 -0700)]
rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the same way emit_group_load does.
* rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
same way emit_group_load does.
From-SVN: r33715
Jeff Law [Fri, 5 May 2000 16:37:01 +0000 (10:37 -0600)]
toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
* toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
(main): Likewise.
From-SVN: r33714
Rodney Brown [Fri, 5 May 2000 16:34:06 +0000 (16:34 +0000)]
* pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
From-SVN: r33713
David Billinghurst [Fri, 5 May 2000 16:31:25 +0000 (10:31 -0600)]
* g77.f-torture/execute/
20000503-1.f: New test.
From-SVN: r33712
Marc Espie [Fri, 5 May 2000 16:30:23 +0000 (16:30 +0000)]
openbsd.h (LINK_SPEC): pass correct flags to ld to support -shared, on platforms with dynamic libraries.
* config/openbsd.h (LINK_SPEC): pass correct flags to ld
to support -shared, on platforms with dynamic libraries.
From-SVN: r33711
Philippe De Muyter [Fri, 5 May 2000 16:27:45 +0000 (18:27 +0200)]
* system.h (S_ISBLK): Provide fallback definition.
From-SVN: r33710
Geoff Berry [Fri, 5 May 2000 16:26:12 +0000 (16:26 +0000)]
extend.texi (Extended Asm): Document inability to give asm statements access to condition codes.
* extend.texi (Extended Asm): Document inability to give asm
statements access to condition codes.
From-SVN: r33709
Marek Michalkiewicz [Fri, 5 May 2000 16:16:57 +0000 (18:16 +0200)]
varasm.c (asm_emit_uninitialised): Use 0, not NULL as arg 2 of UNIQUE_SECTION.
* varasm.c (asm_emit_uninitialised): Use 0, not NULL
as arg 2 of UNIQUE_SECTION.
From-SVN: r33708
Jeffrey A Law [Fri, 5 May 2000 16:13:46 +0000 (16:13 +0000)]
predict.c: Remove May 4 change.
* predict.c: Remove May 4 change.
* bb-reorder.c (make_reorder_chain): Do not perform block movement
if we have predicted the branch at 50-50 probability.
From-SVN: r33707
Tom Tromey [Fri, 5 May 2000 16:11:36 +0000 (16:11 +0000)]
re GNATS libgcj/220 (build fails with "only absolute run-paths are allowed" error during linking)
Fix for PR libgcj/220:
* Makefile.in: Rebuilt.
* Makefile.am (gij_LDFLAGS): Don't use libstdc++.
(jv_convert_LDFLAGS): Likewise.
(libgcj_la_LDFLAGS): Likewise.
(GCJLINK): New macro.
(jv_convert_LINK): Use it.
(gij_LINK): Likewise.
(libgcj_la_LINK): New macro.
(libgcjawt_la_LINK): Likewise.
From-SVN: r33706
Richard Henderson [Fri, 5 May 2000 10:53:47 +0000 (03:53 -0700)]
flow.c (init_propagate_block_info): Fix merge error in HAVE_conditional_execution code.
* flow.c (init_propagate_block_info): Fix merge error
in HAVE_conditional_execution code.
From-SVN: r33705
Andreas Jaeger [Fri, 5 May 2000 08:44:09 +0000 (10:44 +0200)]
noreturn-2.c: New test.
2000-05-04 Andreas Jaeger <aj@suse.de>
* gcc.dg/noreturn-2.c: New test.
From-SVN: r33704
Jeff Law [Fri, 5 May 2000 07:45:15 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r33703
Tom Tromey [Fri, 5 May 2000 04:46:26 +0000 (04:46 +0000)]
field.h (JvFieldIsRef): Return false for gnu.gcj.RawData field.
* gcj/field.h (JvFieldIsRef): Return false for gnu.gcj.RawData
field.
* boehm.cc (_Jv_MarkObj): Removed dead code. Use `STATIC', not
`0x0008'.
Include Modifier.h.
From-SVN: r33702
Tom Tromey [Fri, 5 May 2000 04:23:23 +0000 (04:23 +0000)]
boehm.c (mark_reference_fields): Don't mark RawData fields.
* boehm.c (mark_reference_fields): Don't mark RawData fields.
Keep track of when we've seen a reference field after a
non-reference field.
(get_boehm_type_descriptor): Handle case where we see
non-reference fields but no trailing reference field.
* decl.c (rawdata_ptr_type_node): Define.
(init_decl_processing): Initialize rawdata_ptr_type_node.
* java-tree.h (rawdata_ptr_type_node): Declare.
From-SVN: r33701
Denis Chertykov [Fri, 5 May 2000 04:00:51 +0000 (08:00 +0400)]
avr.c (out_shift_with_cnt): Genetare a more optimal shift cycle for unknown shift count.
* config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
shift cycle for unknown shift count. Also generates dec + brpl.
(ashlqi3_out): Don't generate dec + brpl which now generates by
`out_shift_with_cnt'.
(ashlhi3_out): Likewise.
(ashlsi3_out): Likewise.
(ashrqi3_out): Likewise.
(ashrhi3_out): Likewise.
(ashrsi3_out): Likewise.
(lshrqi3_out): Likewise.
(lshrhi3_out): Likewise.
(lshrsi3_out): Likewise.
From-SVN: r33700
Mark Mitchell [Fri, 5 May 2000 03:10:42 +0000 (03:10 +0000)]
cp-tree.h (DELTA_FROM_VTABLE_ENTRY): Remove.
* cp-tree.h (DELTA_FROM_VTABLE_ENTRY): Remove.
(SET_FNADDR_FROM_VTABLE_ENTRY): Likewise.
(lang_decl_flags): Add vcall_offset.
(THUNK_VCALL_OFFSET): Use it.
* decl.c (lang_mark_tree): Don't mark DECL_ACCESS for a thunk.
* method.c (make_thunk): Create the lang_decl here, not in
emit_thunk.
(emit_thunk): Make generic thunks into ordinary functions once
they have been fed to expand_body.
* semantics.c (expand_body): Set current_function_is_thunk here.
From-SVN: r33699
Bryce McKinlay [Fri, 5 May 2000 02:56:14 +0000 (02:56 +0000)]
natClass.cc (isInstance): Use __builtin_expect.
2000-05-05 Bryce McKinlay <bryce@albatross.co.nz>
* java/lang/natClass.cc (isInstance): Use __builtin_expect.
(_Jv_IsAssignableFrom): Ditto.
(_Jv_IsInstanceOf): Ditto.
(_Jv_CheckCast): Ditto.
(_Jv_CheckArrayStore): Ditto.
* java/lang/Class.h (_Jv_InitClass): Ditto.
* java/lang/natObject.cc (_Jv_MonitorEnter): __builtin_expect `false',
not `0'.
(notify): Ditto.
(notifyAll): Ditto.
(wait): Ditto.
(_Jv_MonitorExit): Ditto.
* boehm.cc (_Jv_MarkObj): Ditto.
(_Jv_MarkObj): Ditto.
(_Jv_MarkArray): Ditto.
* prims.cc (_Jv_AllocObject): Ditto.
(_Jv_NewObjectArray): Ditto.
(_Jv_NewPrimArray): Ditto.
(_Jv_Malloc): Ditto.
(_Jv_Realloc): Ditto.
(_Jv_MallocUnchecked): Ditto.
(_Jv_divI): Ditto.
(_Jv_remI): Ditto.
(_Jv_divJ): Ditto.
(_Jv_remJ): Ditto.
From-SVN: r33698
Neil Booth [Fri, 5 May 2000 02:50:47 +0000 (02:50 +0000)]
*** empty log message ***
From-SVN: r33697
Richard Henderson [Fri, 5 May 2000 02:06:33 +0000 (19:06 -0700)]
Move old ChangeLog out of the way.
From-SVN: r33696
Richard Henderson [Fri, 5 May 2000 02:05:56 +0000 (19:05 -0700)]
* gcc.c-torture/execute/
20000503-1.c: Fix typo.
From-SVN: r33695
Richard Henderson [Fri, 5 May 2000 01:56:18 +0000 (18:56 -0700)]
Merge all post c-torture-1.45 entries to the main testsuite ChangeLog.
From-SVN: r33694
Mark Elbrecht [Fri, 5 May 2000 00:15:02 +0000 (00:15 +0000)]
gcc.c (free_split_directories): Correct typo in explanation of make_relative_prefix.
* gcc.c (free_split_directories): Correct typo in explanation
of make_relative_prefix.
From-SVN: r33693
Geoff Keating [Fri, 5 May 2000 00:06:34 +0000 (00:06 +0000)]
rs6000.h (PREDICATE_CODES): Add floating-point comparison codes to branch_comparison_operator.
* config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
comparison codes to branch_comparison_operator.
From-SVN: r33692
Richard Henderson [Thu, 4 May 2000 23:27:15 +0000 (16:27 -0700)]
20000504-1.c: New test.
* gcc.c-torture/compile/
20000504-1.c: New test. Derived from
OpenSSL by Jason R Thorpe.
From-SVN: r33691
Richard Henderson [Thu, 4 May 2000 23:23:45 +0000 (16:23 -0700)]
* ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
From-SVN: r33690
Richard Henderson [Thu, 4 May 2000 23:22:26 +0000 (16:22 -0700)]
ifcvt.c (noce_process_if_block): Fail if A or B modified between condition and jump.
* ifcvt.c (noce_process_if_block): Fail if A or B modified
between condition and jump.
From-SVN: r33689
Richard Henderson [Thu, 4 May 2000 23:21:48 +0000 (16:21 -0700)]
Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
* Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
(DPBIT_FUNCS): Remove _sf_to_usi.
(stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
From-SVN: r33688
Richard Henderson [Thu, 4 May 2000 23:21:33 +0000 (16:21 -0700)]
libgcc2.c (near eh_context_specific): Comment #endif string.
* libgcc2.c (near eh_context_specific): Comment #endif string.
* longlong.h: Don't use strings with embedded newlines.
From-SVN: r33687
Geoff Keating [Thu, 4 May 2000 22:15:23 +0000 (22:15 +0000)]
rs6000-protos.h: Add output_cbranch.
* config/rs6000/rs6000-protos.h: Add output_cbranch.
* config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
(print_operand): Delete %t and %T codes.
(output_cbranch): New function. Support branch prediction.
* config/rs6000/rs6000.md: Use output_cbranch for
conditional branches and returns.
From-SVN: r33686
Jason Merrill [Thu, 4 May 2000 21:17:57 +0000 (17:17 -0400)]
remove accidental -pipe checkin
From-SVN: r33685
Jason Merrill [Thu, 4 May 2000 21:15:05 +0000 (21:15 +0000)]
simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
* simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
* stor-layout.c (place_field): Likewise.
* integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
* expr.c (store_expr): Make align unsigned.
* explow.c (plus_constant_wide): Make low words unsigned.
* expmed.c (choose_multiplier): Likewise.
* fold-const.c (fold): Likewise.
* tree.h (build_int_2): Likewise.
* tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
* emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
(init_emit): Change cast to unsigned char*.
* varasm.c (compare_constant_1): Add cast to char*.
* gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
* reload1.c (reload): Likewise.
* rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
From-SVN: r33684
Jeffrey A Law [Thu, 4 May 2000 20:40:17 +0000 (20:40 +0000)]
predict.c (estimate_probability): If no prediction was found...
* predict.c (estimate_probability): If no prediction was found, then
predict the successor that is the next physical block (if such a
successor exists).
From-SVN: r33683
Richard Henderson [Thu, 4 May 2000 20:14:20 +0000 (13:14 -0700)]
* config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
From-SVN: r33682
Kaveh R. Ghazi [Thu, 4 May 2000 19:16:21 +0000 (19:16 +0000)]
* system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
From-SVN: r33681
Kaveh R. Ghazi [Thu, 4 May 2000 18:30:09 +0000 (18:30 +0000)]
jcf-dump.c (SPECIAL_IINC): Ensure arguments match format specifiers in calls to fprintf.
* jcf-dump.c (SPECIAL_IINC): Ensure arguments match format
specifiers in calls to fprintf.
From-SVN: r33680
Kaveh R. Ghazi [Thu, 4 May 2000 18:21:03 +0000 (18:21 +0000)]
demangle.h (demangler_engine): Constify.
include:
* demangle.h (demangler_engine): Constify.
libiberty:
* cplus-dem.c (cplus_demangle_opname, demangle_function_name):
Cast the arguments to `islower' to `unsigned char'.
(print_demangler_list): Prototype.
From-SVN: r33679
Kaveh R. Ghazi [Thu, 4 May 2000 18:15:24 +0000 (18:15 +0000)]
class.c (update_vtable_entry_for_fn): Prototype.
* class.c (update_vtable_entry_for_fn): Prototype.
* pt.c (tsubst_decl): Initialize variables `argvec', `gen_tmpl'
and `tmpl'.
* search.c (dfs_build_inheritance_graph_order): Prototype.
From-SVN: r33678
Mumit Khan [Thu, 4 May 2000 18:15:08 +0000 (18:15 +0000)]
cygwin.h (CPP_PREDEFINES): Don't define __STDC__.
2000-05-04 Mumit Khan <khan@xraylith.wisc.edu>
* i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move
attribute macros from here ...
(CPP_SPEC): to here.
* i386/mingw32.h (CPP_PREDEFINES): Likewise.
(CPP_SPEC): Likewise.
* i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros.
From-SVN: r33677
Mumit Khan [Thu, 4 May 2000 18:13:14 +0000 (18:13 +0000)]
Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
2000-05-04 Mumit Khan <khan@xraylith.wisc.edu>
* Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
(libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
From-SVN: r33676
Kaveh R. Ghazi [Thu, 4 May 2000 17:58:40 +0000 (17:58 +0000)]
bb-reorder.c (get_next_bb_note, [...]): Prototype.
* bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
* diagnostic (vbuild_message_string, build_message_string,
build_location_prefix, output_get_prefix, init_output_buffer,
output_notice, vline_wrapper_message_with_location,
v_message_with_decl, default_print_error_function): De-constify.
(set_real_maximum_length): Prototype.
* diagnostic.h (struct output_buffer, init_output_buffer,
output_get_prefix, output_set_prefix): De-constify.
* function.c (init_function_start): Constify.
* gensupport.c (remove_constraints, process_rtx): Prototype.
* gthr-posix.h: Indent uses of #pragma.
* objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
Prototype.
* predict.c (find_expected_value): Delete prototype.
(expected_value_to_br_prob): Initialize variable `ev_reg'.
* sbitmap.h (debug_sbitmap): Prototype.
* ssa.c (compute_coalesced_reg_partition): Prototype.
* stor-layout.c (debug_rli): Prototype.
* tree.h (round_down): Prototype.
(init_function_start): Constify.
ch:
* ch-tree.h (init_function_start): Constify.
From-SVN: r33675
Zack Weinberg [Thu, 4 May 2000 16:21:29 +0000 (16:21 +0000)]
cpphash.h: #define __extension__ away if GCC_VERSION < 2095 (overly conservative).
* cpphash.h: #define __extension__ away if GCC_VERSION < 2095
(overly conservative). Change extern inline wrappers to
static inline, define them always, use PARAMS properly.
* cpplex.c (_cpp_get_directive_token): Don't issue pedantic
whitespace warnings for \f and \v at the beginning of a line.
From-SVN: r33674
Jeffrey A Law [Thu, 4 May 2000 16:04:44 +0000 (16:04 +0000)]
haifa-sched.c (schedule_insns): Free the flow edge list when it is no longer needed
* haifa-sched.c (schedule_insns): Free the flow edge list when it
is no longer needed
From-SVN: r33673
Tom Tromey [Thu, 4 May 2000 15:51:47 +0000 (15:51 +0000)]
Removed erroneous ChangeLog entry
From-SVN: r33672
Tom Tromey [Thu, 4 May 2000 15:50:34 +0000 (15:50 +0000)]
Locale.java (Locale): Don't explicitly check for null.
* java/util/Locale.java (Locale): Don't explicitly check for
null.
* java/util/Hashtable.java (containsKey): Don't explicitly check
for null.
(get): Likewise.
* java/util/BitSet.java (and, or, xor): Don't explicitly check for
null.
* java/util/zip/ZipEntry.java (ZipEntry): Don't explicitly check
for null.
* java/text/StringCharacterIterator.java
(StringCharacterIterator): Don't check for null.
* java/text/ChoiceFormat.java (setChoices): Don't explicitly check
for null pointer.
* java/net/MulticastSocket.java (joinGroup): Don't explicitly
check for null pointer.
(leaveGroup): Likewise.
* java/net/DatagramPacket.java (DatagramPacket): Removed erroneous
comment.
(setData): Likewise.
* java/lang/ThreadGroup.java (ThreadGroup): Don't explicitly check
for `p==null'.
From-SVN: r33671
Philippe De Muyter [Thu, 4 May 2000 15:40:25 +0000 (17:40 +0200)]
sort.h (sys/types.h): File included unconditionnaly.
* sort.h (sys/types.h): File included unconditionnaly.
(stddef.h): File include only #ifdef __STDC__.
* sort.c (UCHAR_MAX): Provide fallback definition.
From-SVN: r33670
Bruce Korb [Thu, 4 May 2000 14:55:00 +0000 (14:55 +0000)]
Remove BOGOSITY code, and Remove code for installing "shell" version
From-SVN: r33669
Mark Mitchell [Thu, 4 May 2000 14:54:18 +0000 (14:54 +0000)]
cp-tree.h (special_function_kind): Add various kinds of destructors.
* cp-tree.h (special_function_kind): Add various kinds of
destructors.
(special_function_p): New function.
* class.c (overrides): Don't let one kind of destructor override
another.
* decl2.c (mark_used): Use DECL_NON_THUNK_FUNCTION_P when deciding
whether or not to instantiate a template.
* tree.c (special_function_p): Define.
From-SVN: r33668
Bruce Korb [Thu, 4 May 2000 14:50:14 +0000 (14:50 +0000)]
Remove `extern double cabs' declarations from math.h
From-SVN: r33667
Tom Tromey [Thu, 4 May 2000 14:33:15 +0000 (14:33 +0000)]
configure: Rebuilt.
* configure: Rebuilt.
* configure.in: Match `arm*-*-linux-*'.
From Chris Dornan <cdornan@arm.com>.
From-SVN: r33666
Richard Kenner [Thu, 4 May 2000 13:49:50 +0000 (13:49 +0000)]
rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and MEM_ALIAS_SET.
* rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
MEM_ALIAS_SET.
* alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
when calling MEM_COPY_ATTRIBUTES.
* emit-rtl.c (operand_subword, change_address): Likewise.
* explow.c (stabilize): Likewise.
* expr.c (protect_from_queue, emit_move_insn_1): Likewise.
* integrate.c (copy_rtx_and_substitute): Likewise.
* combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
when calling MEM_COPY_ATTRIBUTES.
(make_extraction, simplify_shift_const, gen_lowpart_for_combine):
Likewise.
* cse.c (gen_lowpart_if_possible): Likewise.
* function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
* optabs.c (gen_move_insn): Likewise.
* recog.c (validate_replace_rtx_1): Likewise.
* simplify-rtx.c (add_mem_for_addr): Likewise.
* stmt.c (expand_anon_union_decl): Likewise.
* config/arm/arm.md: Likewise.
* config/h8300/h7300.c (fix_bit_operand): Likewise.
* config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
(block_move_no_loop, block_move_sequence): Likewise.
* config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
* config/alpha/alpha.c (get_aligned_mem): Likewise.
Clear MEM_ALIAS_SET.
* final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
MEM_COPY_ATTRIBUTES.
From-SVN: r33665