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
Robert Lipe [Thu, 4 May 2000 12:59:23 +0000 (12:59 +0000)]
configure.in (i[34567]86-*-isc*): Add t-i386bare to suppress libgcc1.
2000-05-03 Robert Lipe <robertlipe@usa.net>
* configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
to suppress libgcc1.
(i[34567]86-*-sco3.2v5*) Likewise.
(i[34567]86-*-sco3.2v4*) Likewise.
(i[34567]86-*-sco) Likewise.
(i[34567]86-*-solaris2) Likewise.
(i[34567]86-*-sysv5*) Likewise.
(i[34567]86-*-sysv4*) Likewise.
(i[34567]86-*-udk*) Likewise.
(i[34567]86-*-sysv*) Likewise.
From-SVN: r33664
Jan Hubicka [Thu, 4 May 2000 12:16:27 +0000 (12:16 +0000)]
Undo my accidental checkin.
From-SVN: r33663
Jeff Law [Thu, 4 May 2000 07:45:09 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r33662
Jeff Law [Thu, 4 May 2000 05:30:36 +0000 (23:30 -0600)]
try to fix cvsweb
From-SVN: r33661
Zack Weinberg [Thu, 4 May 2000 04:38:01 +0000 (04:38 +0000)]
cpphash.h (U): New define, to correct type of string constants.
gcc:
* cpphash.h (U): New define, to correct type of string constants.
(ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
routines, to do casts when passing unsigned strings to libc.
* cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
* cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
* cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
* cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
* cpplex.c (parse_ifdef, parse_include, validate_else): Make
second argument an U_CHAR *.
* cppinit.c (builtin_array): Make name and value U_CHAR *, add
length field, clean up initializer.
(ISTABLE): Add __extension__ to designated-
initializers version.
* cpplex.c (CHARTAB): Likewise.
* mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
case so the file won't be empty.
include:
* symcat.h: Remove #endif label.
From-SVN: r33657
Robert Lipe [Thu, 4 May 2000 03:02:24 +0000 (03:02 +0000)]
* gcc.dg/
20000503-1.c: New test.
From-SVN: r33656
Jason Eckhardt [Thu, 4 May 2000 02:37:49 +0000 (02:37 +0000)]
bb-reorder.c (struct reorder_block_def): Member succ removed.
Wed May 3 21:01:46 2000 Jason Eckhardt <jle@cygnus.com>
* bb-reorder.c (struct reorder_block_def): Member succ removed.
(REORDER_BLOCK_SUCC): Removed.
(enum reorder_skip_type): Removed.
(skip_insns_between_block): Renamed to skip_insns_after_block.
Removed second argument. Removed dead code and cleaned up.
(make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
(reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
second parameter to skip_insns_after_block.
From-SVN: r33655
Robert Lipe [Thu, 4 May 2000 02:26:11 +0000 (02:26 +0000)]
configure.in (i[34567]86-*-isc*): Add t-i386bare to suppress libgcc1.
Regenerate:
* configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
to suppress libgcc1.
(i[34567]86-*-sco3.2v5*) Likewise.
(i[34567]86-*-sco3.2v4*) Likewise.
(i[34567]86-*-sco) Likewise.
(i[34567]86-*-solaris2) Likewise.
(i[34567]86-*-sysv5*) Likewise.
(i[34567]86-*-sysv4*) Likewise.
(i[34567]86-*-udk*) Likewise.
(i[34567]86-*-sysv*) Likewise.
From-SVN: r33654
Robert Lipe [Thu, 4 May 2000 02:25:32 +0000 (02:25 +0000)]
configure.in (i[34567]86-*-isc*): Add t-i386bare to suppress libgcc1.
* configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
to suppress libgcc1.
(i[34567]86-*-sco3.2v5*) Likewise.
(i[34567]86-*-sco3.2v4*) Likewise.
(i[34567]86-*-sco) Likewise.
(i[34567]86-*-solaris2) Likewise.
(i[34567]86-*-sysv5*) Likewise.
(i[34567]86-*-sysv4*) Likewise.
(i[34567]86-*-udk*) Likewise.
(i[34567]86-*-sysv*) Likewise.
From-SVN: r33653
Richard Kenner [Thu, 4 May 2000 00:38:04 +0000 (20:38 -0400)]
Remove conflict indicator
From-SVN: r33652
Richard Kenner [Thu, 4 May 2000 00:36:20 +0000 (20:36 -0400)]
* tree.c (staticp, case LABEL_DECL): New case.
From-SVN: r33651
Richard Henderson [Wed, 3 May 2000 23:56:03 +0000 (16:56 -0700)]
* mklibgcc1.in: Fix typo last change.
From-SVN: r33650
Richard Henderson [Wed, 3 May 2000 23:18:47 +0000 (16:18 -0700)]
* Makefile.in (start.encap): Do not depend on LIBGCC1.
From-SVN: r33649
Jason Merrill [Wed, 3 May 2000 22:45:31 +0000 (22:45 +0000)]
Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
* Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
(LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
(GCC_CFLAGS): Use it.
(LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
* cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
objc/Make-lang.in: Use it.
From-SVN: r33648
Mark Mitchell [Wed, 3 May 2000 22:25:21 +0000 (22:25 +0000)]
cp-tree.def (THUNK_DECL): Remove.
* cp-tree.def (THUNK_DECL): Remove.
* cp-tree.h (DECL_THUNK_P): New macro.
(DECL_NON_THUNK_FUNCTION_P): Likewise.
(DECL_EXTERN_C_FUNCTION_P): Likewise.
(SET_DECL_THUNK_P): Likewise.
(DELTA_FROM_VTABLE_ENTRY): Use DECL_THUNK_P.
(FNADDR_FROM_VTABLE_ENTRY): Likewise.
(DECL_MAIN_P): Use DECL_EXTERN_C_FUNCTION_P.
* decl.c (decls_match): Use DECL_EXTERN_C_P.
(duplicate_decls): Likewise.
(pushdecl): Likewise. Adjust thunk handling.
(grokfndecl): Use DECL_EXTERN_C_P.
* decl2.c (mark_vtable_entries): Use DECL_THUNK_P.
* dump.c (dequeue_and_dump): Remove THUNK_DECL handling.
* except.c (nothrow_libfn_p): Use DECL_EXTERN_C_P.
* expr.c (cplus_expand_expr): Remove THUNK_DECL handling.
* method.c (make_thunk): Use SET_DECL_THUNK_P. Set
DECL_NO_STATIC_CHAIN.
(emit_thunk): Don't play games with TREE_CODE on thunks. Don't
set DECL_DESTRUCTOR_P or DECL_CONSTRUCTOR_P on a thunk.
* search.c (covariant_return_p): Remove THUNK_DECL handling.
* ir.texi: Update.
From-SVN: r33647
Mark Mitchell [Wed, 3 May 2000 22:19:14 +0000 (22:19 +0000)]
Fix typo
From-SVN: r33646
Jason R Thorpe [Wed, 3 May 2000 21:17:35 +0000 (21:17 +0000)]
* config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
From-SVN: r33645
Richard Henderson [Wed, 3 May 2000 21:00:49 +0000 (14:00 -0700)]
mklibgcc.in: Restrict OLDCC=GCC test to native.
* mklibgcc.in: Restrict OLDCC=GCC test to native. Equate
LIBGCC1 empty with libgcc1.null.
From-SVN: r33644
Jim Wilson [Wed, 3 May 2000 20:04:31 +0000 (20:04 +0000)]
Fix for ia64-linux misoptimization.
* fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
change.
From-SVN: r33643
Jim Wilson [Wed, 3 May 2000 20:03:21 +0000 (20:03 +0000)]
Testcase for ia64-linux extract_muldiv bug.
* execute/
20000503-1.c: New test for extract_muldiv bug.
From-SVN: r33642
Greg McGary [Wed, 3 May 2000 19:58:42 +0000 (19:58 +0000)]
tree.h (tree_common): Add bounded_flag member.
* tree.h (tree_common): Add bounded_flag member. Remove
inaccurate comment about number of remaining bits.
(BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
(TYPE_QUAL_BOUNDED): New constant.
(TYPE_QUALS): Handle bounded qualifier.
(TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
(TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
TYPE_AMBIENT_BOUNDEDNESS): New macros.
(MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
(tree_type): Add pointer_depth member. Remove
inaccurate comment about number of remaining bits.
(DECL_POINTER_DEPTH): Add macro.
(tree_decl): Add pointer_depth member.
From-SVN: r33641
Denis Chertykov [Wed, 3 May 2000 19:20:09 +0000 (19:20 +0000)]
avr-protos.h (test_hard_reg_class): Declared.
* config/avr/avr-protos.h (test_hard_reg_class): Declared.
* config/avr/avr.c (ashrhi3_out): optimized shift by 15.
(lshrhi3_out): Likewise.
(ashrsi3_out): bugfix in shift by 8.
(test_hard_reg_class): New function.
* config/avr/avr.md: Bugfix inside conditions in peepholes.
(ashlhi3): removed define_expand of this pattern.
(*ashlhi3_insn): renamed to ashlhi3.
(ashlsi3): removed define_expand of this pattern.
(*ashlsi3_insn): renamed to ashlsi3.
(ashrqi3): removed define_expand of this pattern.
(*ashrqi3_insn): renamed to ashrqi3.
(ashrhi3): removed define_expand of this pattern.
(*ashrhi3_insn): renamed to ashrhi3.
(ashrsi3): removed define_expand of this pattern.
(*ashrsi3_insn): renamed to ashrsi3.
(lshrhi3): removed define_expand of this pattern.
(*lshrhi3_insn): renamed to lshrhi3.
(lshrsi3): removed define_expand of this pattern.
(*lshrsi3_insn): renamed to lshrsi3.
From-SVN: r33640
Rodney Brown [Wed, 3 May 2000 18:49:17 +0000 (18:49 +0000)]
Replace inclusion of <stdio.h> with "system.h"
From-SVN: r33639
Jim Wilson [Wed, 3 May 2000 18:46:05 +0000 (11:46 -0700)]
Patches from David Mosberger, and a patch to make bootstrap work.
* config/ia64/ia64.c (ia64_encode_section_info): Add check for
TREE_ASM_WRITTEN.
* config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
if -mauto-pic is on.
...
From-SVN: r33638
Richard Henderson [Wed, 3 May 2000 18:21:49 +0000 (11:21 -0700)]
Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
* Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
(libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
(libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
(mklibgcc, libgcc.mk): New targets.
(libgcc.a): Use libgcc.mk.
(stmp-multilib): Likewise.
(stmp-multilib-sub): Remove.
(mostlyclean): Don't delete libgcc2 temp files.
* configure.in (AC_PROG_CC_C_O): Add.
(NO_MINUS_C_MINUS_O): Substitute it.
(all_outputs): Add mklibgcc.
* mklibgcc.in: New file.
From-SVN: r33637
Tom Tromey [Wed, 3 May 2000 18:09:27 +0000 (18:09 +0000)]
expr.c (build_java_jsr): Use emit_jump, not expand_goto.
* expr.c (build_java_jsr): Use emit_jump, not expand_goto.
* javaop.h (WORD_TO_INT): New function.
(IMMEDIATE_s4): Use WORD_TO_INT.
* jcf.h (JPOOL_INT): Ditto.
* gjavah.c (decode_signature_piece): Don't treat `$' as namespace
separator.
From-SVN: r33636