]> gcc.gnu.org Git - gcc.git/log
gcc.git
24 years agoexpr.c (reload.h): Now included.
Richard Kenner [Fri, 14 Apr 2000 22:13:59 +0000 (22:13 +0000)]
expr.c (reload.h): Now included.

* expr.c (reload.h): Now included.
(emit_block_move): Set volatile_ok when checking for movstr.
(emit_move_1): Check for replacements in addresses in multi-word case.
* Makefile.in (expr.o): Now includes reload.h.

From-SVN: r33155

24 years agoflow.c (count_basic_blocks): Remove unused var PREV_CALL.
Richard Kenner [Fri, 14 Apr 2000 22:04:58 +0000 (22:04 +0000)]
flow.c (count_basic_blocks): Remove unused var PREV_CALL.

* flow.c (count_basic_blocks): Remove unused var PREV_CALL.
Never have a LIBCALL end a basic block.
(find_basic_blocks_1): Likewise.
Reorganize CALL_INSN cases.

From-SVN: r33154

24 years ago* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
Richard Kenner [Fri, 14 Apr 2000 21:59:52 +0000 (17:59 -0400)]
* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.

From-SVN: r33153

24 years agoMatch recent assembler change.
Jim Wilson [Fri, 14 Apr 2000 17:58:30 +0000 (17:58 +0000)]
Match recent assembler change.

* config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
completers from mov.ret instruction.

From-SVN: r33152

24 years agofold-const.c (extract_muldiv): Don't distribute and widen multiply across plus for...
Richard Henderson [Fri, 14 Apr 2000 17:45:17 +0000 (10:45 -0700)]
fold-const.c (extract_muldiv): Don't distribute and widen multiply across plus for non-sizetype unsigned types.

        * fold-const.c (extract_muldiv): Don't distribute and widen
        multiply across plus for non-sizetype unsigned types.

From-SVN: r33151

24 years agoflow.c (find_auto_inc): Don't autoinc eliminable registers.
Richard Henderson [Fri, 14 Apr 2000 17:38:35 +0000 (10:38 -0700)]
flow.c (find_auto_inc): Don't autoinc eliminable registers.

* flow.c (find_auto_inc): Don't autoinc eliminable registers.
If the original source is dead in the incr insn, it's dead now.

From-SVN: r33150

24 years agostor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to see if DECL_BIT_FIELD...
Richard Kenner [Fri, 14 Apr 2000 11:51:36 +0000 (11:51 +0000)]
stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to see if DECL_BIT_FIELD needs to still be set.

* stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
see if DECL_BIT_FIELD needs to still be set.

From-SVN: r33149

24 years ago* tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
Richard Kenner [Fri, 14 Apr 2000 11:44:18 +0000 (11:44 +0000)]
* tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.

From-SVN: r33148

24 years agodbxout.c (dbxout_type, [...]): Don't call print_int_cst_octal with something that...
Richard Kenner [Fri, 14 Apr 2000 11:37:24 +0000 (11:37 +0000)]
dbxout.c (dbxout_type, [...]): Don't call print_int_cst_octal with something that's not an INTEGER_CST.

* dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
print_int_cst_octal with something that's not an INTEGER_CST.

From-SVN: r33147

24 years agoalpha.c (alpha_emit_floatuns): Ensure we pass a REG and not a SUBREG to a FLOAT rtl.
Richard Kenner [Fri, 14 Apr 2000 11:33:02 +0000 (07:33 -0400)]
alpha.c (alpha_emit_floatuns): Ensure we pass a REG and not a SUBREG to a FLOAT rtl.

* config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
and not a SUBREG to a FLOAT rtl.

From-SVN: r33146

24 years agoDaily bump.
Jeff Law [Fri, 14 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33145

24 years agoAdditional test for PR gcj/148:
Bryce McKinlay [Fri, 14 Apr 2000 00:47:35 +0000 (00:47 +0000)]
Additional test for PR gcj/148:

2000-04-14  Bryce McKinlay  <bryce@albatross.co.nz>

        Additional test for PR gcj/148:
        * libjava.compile/assignment_2.java: New file.

From-SVN: r33144

24 years agoemit-rtl.c (try_split): Avoid infinite loop if the split results in a sequence that...
Clinton Popetz [Fri, 14 Apr 2000 00:41:31 +0000 (00:41 +0000)]
emit-rtl.c (try_split): Avoid infinite loop if the split results in a sequence that contains the...

* emit-rtl.c (try_split): Avoid infinite loop if the split
results in a sequence that contains the original insn.

From-SVN: r33143

24 years agomips.c (expand_block_move): Pass alignment argument to move_by_pieces in bits, not...
Andreas Jaeger [Thu, 13 Apr 2000 21:44:48 +0000 (23:44 +0200)]
mips.c (expand_block_move): Pass alignment argument to move_by_pieces in bits, not bytes.

2000-04-13  Andreas Jaeger  <aj@suse.de>

* config/mips/mips.c (expand_block_move): Pass alignment
        argument to move_by_pieces in bits, not bytes.

From-SVN: r33142

24 years agolinux.h (CPP_PREDEFINES): Also define __PIC__ and __pic__ for little endian.
Andreas Jaeger [Thu, 13 Apr 2000 20:00:31 +0000 (22:00 +0200)]
linux.h (CPP_PREDEFINES): Also define __PIC__ and __pic__ for little endian.

2000-04-13  Andreas Jaeger  <aj@suse.de>

* config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
__pic__ for little endian.

From-SVN: r33141

24 years agoi386-protos.h: Add prototype for uno_comparison_operator.
Andreas Jaeger [Thu, 13 Apr 2000 17:05:54 +0000 (19:05 +0200)]
i386-protos.h: Add prototype for uno_comparison_operator.

2000-04-13  Andreas Jaeger  <aj@suse.de>

* config/i386/i386-protos.h: Add prototype for
uno_comparison_operator.

From-SVN: r33140

24 years agoAdded myself as requested by Jeff Law.
Andreas Jaeger [Thu, 13 Apr 2000 17:03:15 +0000 (19:03 +0200)]
Added myself as requested by Jeff Law.

From-SVN: r33139

24 years agoalias.c (nonlocal_reference_p): Take a care for CALL_INSNS's fusage field.
Jan Hubicka [Thu, 13 Apr 2000 13:59:00 +0000 (13:59 +0000)]
alias.c (nonlocal_reference_p): Take a care for CALL_INSNS's fusage field.

* alias.c (nonlocal_reference_p): Take a care for
CALL_INSNS's fusage field.
* calls.c (ECF_PURE): New flag.
(emit_call_1): Handle ECF_PURE calls.
(initialize_argument_information): Unset ECF_PURE flag too.
(precompute_arguments): Precompute for ECF_PURE too.
(expand_call): Handle ECF_PURE calls too.
(emit_library_call_value_1): Rename no_queue argument to
fn_type, accept value of 2 as pure function.
(emit_library_call_value, emit_library_call): Rename no_queue argument
to fn_type.
* optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.

* tree.h (DECL_IS_PURE): New macro.
(struct tree_decl): Add pure_flag.
* c-common.c (enum attrs): Add attribute "pure".
(init_attributes): Initialize attribute "pure"
(decl_attributes): Handle attribute "pure".
* extend.texi (Attribute "pure"): Document.
* calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
in pure function.
(flags_from_decl_or_type): Support attribute "pure".

From-SVN: r33138

24 years agoclass.c (build_base_field): Reformat comment.
Nathan Sidwell [Thu, 13 Apr 2000 11:14:29 +0000 (11:14 +0000)]
class.c (build_base_field): Reformat comment.

* class.c (build_base_field): Reformat comment.

* inc/cxxabi.h (stddef.h): Comment inclusion.
(__base_class_info::__offset): Comment shift.

From-SVN: r33137

24 years agocpplex.c (_cpp_lex_token): Handle digraphs.
Jason Merrill [Thu, 13 Apr 2000 08:26:36 +0000 (08:26 +0000)]
cpplex.c (_cpp_lex_token): Handle digraphs.

        * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
        the token except for numbers and identifiers.

From-SVN: r33136

24 years agoDaily bump.
Jeff Law [Thu, 13 Apr 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33135

24 years agoi386.c (ix86_expand_binary_operator, [...]): Check no_new_pseudos instead of reload_i...
John Wehle [Thu, 13 Apr 2000 04:11:52 +0000 (04:11 +0000)]
i386.c (ix86_expand_binary_operator, [...]): Check no_new_pseudos instead of reload_in_progress and reload_completed.

* i386.c (ix86_expand_binary_operator,
ix86_expand_unary_operator): Check no_new_pseudos
instead of reload_in_progress and reload_completed.
(ix86_split_ashldi, ix86_split_ashrdi,
ix86_split_lshrdi): Check no_new_pseudos instead
of reload_completed.

From-SVN: r33134

24 years agoJeffrey A Law (law@cygnus.com)
Jeffrey A Law [Wed, 12 Apr 2000 23:47:06 +0000 (23:47 +0000)]
Jeffrey A Law  (law@cygnus.com)

        * function.c (purge_addressof): Unshare any shared rtl created by
        purge_addressof and its children.

From-SVN: r33133

24 years agocom.h (FFECOM_f2cINTEGER): Avoid using LONG_TYPE_SIZE as a preprocessor constant.
Mark Mitchell [Wed, 12 Apr 2000 22:08:32 +0000 (22:08 +0000)]
com.h (FFECOM_f2cINTEGER): Avoid using LONG_TYPE_SIZE as a preprocessor constant.

* com.h (FFECOM_f2cINTEGER): Avoid using LONG_TYPE_SIZE as a
preprocessor constant.
(FFECOM_f2cLOGICAL): Likewise.
(FFECOM_f2cLONGINT): Likewise.

From-SVN: r33130

24 years agofunction.c (aggregate_value_p): VOID_TYPE nodes are never aggregates.
Mark Mitchell [Wed, 12 Apr 2000 22:07:38 +0000 (22:07 +0000)]
function.c (aggregate_value_p): VOID_TYPE nodes are never aggregates.

* function.c (aggregate_value_p): VOID_TYPE nodes are never
aggregates.

From-SVN: r33129

24 years agolinux.h (SUBTARGET_ASM_SPEC): Use proper flags if not compiling PIC code, add flags...
Andreas Jaeger [Wed, 12 Apr 2000 21:38:23 +0000 (23:38 +0200)]
linux.h (SUBTARGET_ASM_SPEC): Use proper flags if not compiling PIC code, add flags for mabi=64.

2000-04-05  Andreas Jaeger  <aj@suse.de>

* config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
not compiling PIC code, add flags for mabi=64.
(SUBTARGET_CPP_SIZE_SPEC): New.
(SUBTARGET_CPP_SPEC): New.
(CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
for MIPS/Linux and lots of code needs these defines.

From-SVN: r33128

24 years agonatString.cc (intern): Temporarily disable finalizer registration.
Tom Tromey [Wed, 12 Apr 2000 21:17:00 +0000 (21:17 +0000)]
natString.cc (intern): Temporarily disable finalizer registration.

* java/lang/natString.cc (intern): Temporarily disable finalizer
registration.

From-SVN: r33127

24 years ago* execute/20000412-6.c: New test.
Hans-Peter Nilsson [Wed, 12 Apr 2000 20:54:03 +0000 (20:54 +0000)]
* execute/20000412-6.c: New test.

From-SVN: r33126

24 years agoreorg.c (fill_slots_from_thread): Check side_effects_p when trying the "opposite...
Hans-Peter Nilsson [Wed, 12 Apr 2000 20:46:22 +0000 (20:46 +0000)]
reorg.c (fill_slots_from_thread): Check side_effects_p when trying the "opposite arithmetic" approach.

* reorg.c (fill_slots_from_thread): Check side_effects_p when
trying the "opposite arithmetic" approach.

From-SVN: r33125

24 years agonatString.cc (unintern): Added `obj' argument.
Tom Tromey [Wed, 12 Apr 2000 20:45:59 +0000 (20:45 +0000)]
natString.cc (unintern): Added `obj' argument.

* java/lang/natString.cc (unintern): Added `obj' argument.
(intern): Register finalizer for string.
* java/lang/String.java (unintern): Now static; added obj
argument.

From-SVN: r33124

24 years agosh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
J"orn Rennecke [Wed, 12 Apr 2000 20:10:19 +0000 (20:10 +0000)]
sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.

* sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
(struct sh_args): Add new field force_mem.
(INIT_CUMULATIVE_ARGS): Initialize it.
(FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.

From-SVN: r33123

24 years ago* gcc.c-torture/execute/20000412-5.c: New test.
Jeffrey A Law [Wed, 12 Apr 2000 18:56:18 +0000 (18:56 +0000)]
* gcc.c-torture/execute/20000412-5.c: New test.

From-SVN: r33121

24 years ago* g77.f-torture/compile/20000412-1.f: New test.
Jeffrey A Law [Wed, 12 Apr 2000 17:09:12 +0000 (17:09 +0000)]
* g77.f-torture/compile/20000412-1.f: New test.

From-SVN: r33120

24 years ago* gcc.c-torture/execute/20000412-4.c: New test.
Jeffrey A Law [Wed, 12 Apr 2000 16:46:01 +0000 (16:46 +0000)]
* gcc.c-torture/execute/20000412-4.c: New test.

From-SVN: r33119

24 years ago* gcc.c-torture/compile/20000412-2.c: New test.
Jeffrey A Law [Wed, 12 Apr 2000 16:39:54 +0000 (16:39 +0000)]
* gcc.c-torture/compile/20000412-2.c: New test.

From-SVN: r33118

24 years ago* gcc.c-torture/execute/20000412-3.c: New test.
Jeffrey A Law [Wed, 12 Apr 2000 16:35:14 +0000 (16:35 +0000)]
* gcc.c-torture/execute/20000412-3.c: New test.

From-SVN: r33117

24 years ago* gcc.c-torture/compile/20000412-1.c: New test.
Jeffrey A Law [Wed, 12 Apr 2000 16:29:25 +0000 (16:29 +0000)]
* gcc.c-torture/compile/20000412-1.c: New test.

From-SVN: r33116

24 years ago* gcc.c-torture/execute/20000412-2.c: New test.
Jeffrey A Law [Wed, 12 Apr 2000 16:25:29 +0000 (16:25 +0000)]
* gcc.c-torture/execute/20000412-2.c: New test.

From-SVN: r33115

24 years agoFix typo
Mark Mitchell [Wed, 12 Apr 2000 16:13:43 +0000 (16:13 +0000)]
Fix typo

From-SVN: r33114

24 years agoFix typo
Mark Mitchell [Wed, 12 Apr 2000 16:12:50 +0000 (16:12 +0000)]
Fix typo

From-SVN: r33113

24 years ago* objc/execute/bf-20.m: New test.
Jakub Jelinek [Wed, 12 Apr 2000 15:58:38 +0000 (17:58 +0200)]
* objc/execute/bf-20.m: New test.

From-SVN: r33111

24 years agoencoding.c (objc_layout_structure_next_member): Do the whole procedure even for the...
Jakub Jelinek [Wed, 12 Apr 2000 15:55:54 +0000 (17:55 +0200)]
encoding.c (objc_layout_structure_next_member): Do the whole procedure even for the first member, so that we get correct alignment.

* encoding.c (objc_layout_structure_next_member): Do the whole
procedure even for the first member, so that we get correct
alignment.

From-SVN: r33110

24 years ago(expand_call): Do not reverse args in "equal from" field.
Jan Hubicka [Wed, 12 Apr 2000 15:23:02 +0000 (15:23 +0000)]
(expand_call): Do not reverse args in "equal from" field.

(emit_library_call_value_1): Emit_libcall_block for const and pure
function.

From-SVN: r33109

24 years agoreload1.c (reload_combine): Don't enable optimization for fixed registers when encoun...
J"orn Rennecke [Wed, 12 Apr 2000 15:04:25 +0000 (15:04 +0000)]
reload1.c (reload_combine): Don't enable optimization for fixed registers when encountering a BARRIER.

* reload1.c (reload_combine): Don't enable optimization for fixed
registers when encountering a BARRIER.

From-SVN: r33108

24 years agobuiltins.c (expand_builtin_memcmp): Do expansion even with !HAVE_cmpstrsi, do libcall...
Jan Hubicka [Wed, 12 Apr 2000 14:18:56 +0000 (14:18 +0000)]
builtins.c (expand_builtin_memcmp): Do expansion even with !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.

* builtins.c (expand_builtin_memcmp): Do expansion even with
!HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.

From-SVN: r33107

24 years agocalls.c (expand_call): Do NO_DEFER_POP unconditionally once stack is propertly aligned...
Jan Hubicka [Wed, 12 Apr 2000 13:56:19 +0000 (13:56 +0000)]
calls.c (expand_call): Do NO_DEFER_POP unconditionally once stack is propertly aligned...

* calls.c (expand_call): Do NO_DEFER_POP unconditionally once
stack is propertly aligned; add sanity checking for aligned
stack pointer.
(expand_library_call_value_1): Add sanity checking for aligned
stack pointer.

From-SVN: r33106

24 years agocalls.c (emit_library_call_value_1): Change 3rd arg to locate_and_pad_parm to disrega...
Catherine Moore [Wed, 12 Apr 2000 13:26:40 +0000 (13:26 +0000)]
calls.c (emit_library_call_value_1): Change 3rd arg to locate_and_pad_parm to disregard the setting of partial.

Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>

        * calls.c (emit_library_call_value_1): Change 3rd arg to
        locate_and_pad_parm to disregard the setting of partial.

From-SVN: r33105

24 years ago* tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
Richard Kenner [Wed, 12 Apr 2000 13:10:42 +0000 (13:10 +0000)]
* tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.

From-SVN: r33104

24 years agoprint-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the CALL_INSN from the normal...
Richard Kenner [Wed, 12 Apr 2000 12:59:56 +0000 (12:59 +0000)]
print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the CALL_INSN from the normal case.

* print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
CALL_INSN from the normal case.

From-SVN: r33103

24 years agoMinor whitespace changed
Richard Kenner [Wed, 12 Apr 2000 12:34:36 +0000 (08:34 -0400)]
Minor whitespace changed

From-SVN: r33102

24 years agoMinor whitespace change
Richard Kenner [Wed, 12 Apr 2000 12:30:38 +0000 (08:30 -0400)]
Minor whitespace change

From-SVN: r33101

24 years agoi386.c (x86_sub_esp_4, [...]): New global variables.
Jan Hubicka [Wed, 12 Apr 2000 11:22:52 +0000 (11:22 +0000)]
i386.c (x86_sub_esp_4, [...]): New global variables.

* i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
New global variables.
(ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
adjustment.
* i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
Declare,
(TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
 TARGET_ADD_ESP_8): New macros.
* i386.md: Add peep2s to convert esp adjustments to push and pop
instructions.
(pushsi_prologue, popsi_epilogue): New patterns.

From-SVN: r33100

24 years ago* real.c (toe64): Remove stale #endif from the last change.
Jakub Jelinek [Wed, 12 Apr 2000 09:01:29 +0000 (11:01 +0200)]
* real.c (toe64): Remove stale #endif from the last change.

From-SVN: r33099

24 years agoWord wrap comment
Zack Weinberg [Wed, 12 Apr 2000 08:01:24 +0000 (08:01 +0000)]
Word wrap comment

From-SVN: r33098

24 years agoStephen L Moshier <moshier@mediaone.net>
Stephen L Moshier [Wed, 12 Apr 2000 07:57:37 +0000 (07:57 +0000)]
Stephen L Moshier  <moshier@mediaone.net>

        * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
        * real.c (toe64): Revert previous change.

From-SVN: r33097

24 years agocp-tree.h (IDENTIFIER_CTOR_OR_DTOR_P): New macro.
Mark Mitchell [Wed, 12 Apr 2000 07:48:13 +0000 (07:48 +0000)]
cp-tree.h (IDENTIFIER_CTOR_OR_DTOR_P): New macro.

* cp-tree.h (IDENTIFIER_CTOR_OR_DTOR_P): New macro.
(cp_tree_index): Add CPTI_PUSH_EXCEPTION_IDENTIFIER.
(cp_push_exception_identifier): New macro.
(DECL_COMPLETE_DESTRUCTOR_P): New macro.
(DECL_BASE_DESTRUCTOR_P): Likewise.
(DECL_DELETING_DESTRUCTOR_P): Likewise.
(get_vtbl_decl_for_binfo): Fix formatting.
(in_charge_arg_for_name): New macro.
(maybe_build_cleanup_and_delete): Remove declaration.
* call.c (build_field_call): Use IDENTIFIER_CTOR_OR_DTOR_P.
(in_charge_arg_for_name): New function.
(build_new_method_call): Use it.  Handle cloned destructors.
(build_clone): Don't make the base constructor virtual.
Automatically defer generated functions.
(clone_function_decl): Handle destructors, too.
(clone_constructors_and_destructors): Likewise.
(create_vtable_ptr): Don't create a vtable entry for a cloned
function.
* decl.c (predefined_identifier): Add ctor_or_dtor_p.
(initialize_predefined_identifiers): Update appropriately.
(finish_destructor_body): Simplify.
(maybe_build_cleanup_and_delete): Remove.
* except.c (expand_throw): Handle new-ABI destructors.
* init.c (expand_cleanup_for_base): Use base_dtor_identifier.
(build_dtor_call): New function.
(build_delete): Use it.  Simplify.
* optimize.c (maybe_clone_body): Handle destructors.
* search.c (lookup_field_queue_p): Use IDENTIFIER_CTOR_OR_DTOR_P.

From-SVN: r33096

24 years agoDaily bump.
Jeff Law [Wed, 12 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33095

24 years ago* gcc.c-torture/execute/20000412-1.c: Reduce some more.
Richard Henderson [Wed, 12 Apr 2000 07:42:56 +0000 (00:42 -0700)]
* gcc.c-torture/execute/20000412-1.c: Reduce some more.

From-SVN: r33094

24 years ago* gcc.c-torture/execute/20000412-1.c: New test.
Richard Henderson [Wed, 12 Apr 2000 07:37:30 +0000 (00:37 -0700)]
* gcc.c-torture/execute/20000412-1.c: New test.

From-SVN: r33093

24 years agoobjc-act.c: Include ggc.h.
Jakub Jelinek [Wed, 12 Apr 2000 07:22:32 +0000 (09:22 +0200)]
objc-act.c: Include ggc.h.

* objc/objc-act.c: Include ggc.h.
(objc_tree_index, objc_global_trees): Convert most of the
static tree variables into a static array with previous names
as defines.
(objc_ellipsis_node): New variable.
(lang_init): Call objc_act_parse_init and c_parse_init.
Create objc_ellipsis_node.
(build_selector_translation_table): Use objc_ellipsis_node instead
of (tree)1.
(hack_method_prototype): Likewise.
(get_arg_type_list): Likewise.
(start_method_def): Likewise.
(continue_method_def): Likewise.
(gen_method_decl): Likewise.
(ggc_mark_imp_list): New function.
(ggc_mark_hash_table): New function.
(objc_act_parse_init): New function.
* objc/objc-act.h (objc_ellipsis_node): Add extern variable.
* c-parse.in (c_parse_init): For objc add roots of objc specific
local tree variables.
* objc/objc-parse.y: Rebuilt.
* objc/objc-parse.c: Rebuilt.
(opt_parm_list): Use objc_ellipsis_node instead of (tree)1.

* Object.m (strlen): Provide prototype on all 64bit platforms,
not only alpha.
* sarray.c (memcpy): Likewise.
* encoding.c (objc_layout_finish_structure): Don't use
ROUND_TYPE_ALIGN on sparc.

From-SVN: r33092

24 years agocse.c (delete_trivially_dead_insns): Also delete insns that copy a register to itself...
John Wehle [Wed, 12 Apr 2000 05:03:32 +0000 (05:03 +0000)]
cse.c (delete_trivially_dead_insns): Also delete insns that copy a register to itself where the destination is a...

* cse.c (delete_trivially_dead_insns): Also delete insns
that copy a register to itself where the destination is
a strict_low_part.

From-SVN: r33090

24 years agoflow.c (struct propagate_block_info): Add new_dead, new_live.
Richard Henderson [Wed, 12 Apr 2000 01:38:15 +0000 (18:38 -0700)]
flow.c (struct propagate_block_info): Add new_dead, new_live.

        * flow.c (struct propagate_block_info): Add new_dead, new_live.
        (propagate_block): Initialize them.  Use them in parallel instead
        of one tmp variable, ie revert much of the 0408 and 0407 functional
        changes, but keep the structural changes.
        (mark_set_regs): Take new_dead from propagate_block_info instead.
        (mark_set_1, mark_set_reg): Likewise.
        (mark_used_regs): Likewise with new_live.
        (mark_used_reg): Likewise.  Revert 0408 change.

From-SVN: r33089

24 years agooops, I had goofed in the installation date
Alexandre Oliva [Wed, 12 Apr 2000 01:24:05 +0000 (01:24 +0000)]
oops, I had goofed in the installation date

From-SVN: r33088

24 years agoRemove Dwarf2 restriction on EH frame generation
Nick Clifton [Wed, 12 Apr 2000 00:46:26 +0000 (00:46 +0000)]
Remove Dwarf2 restriction on EH frame generation

From-SVN: r33086

24 years agoelfos.h (SELECT_SECTION): Decide whether to use a data or const section to output...
Alexandre Oliva [Wed, 12 Apr 2000 00:29:43 +0000 (00:29 +0000)]
elfos.h (SELECT_SECTION): Decide whether to use a data or const section to output a CONSTRUCTOR based on...

* config/elfos.h (SELECT_SECTION): Decide whether to use a data or
const section to output a CONSTRUCTOR based on the same conditions
used for VAR_DECLs.

From-SVN: r33085

24 years agocp-tree.h (cp_tree_index): Add CPTI_DTOR_IDENTIFIER.
Mark Mitchell [Tue, 11 Apr 2000 20:16:36 +0000 (20:16 +0000)]
cp-tree.h (cp_tree_index): Add CPTI_DTOR_IDENTIFIER.

* cp-tree.h (cp_tree_index): Add CPTI_DTOR_IDENTIFIER.
(complete_dtor_identifier): New macro.
(CLASSTYPE_FIRST_CONVERSION): Remove.
(CLASSTYPE_CONSTRUCTOR_SLOT): New macro.
(CLASSTYPE_DESTRUCTOR_SLOT): Likewise.
(CLASSTYPE_FIRST_CONVERSION_SLOT): Likewise.
(CLASSTYPE_CONSTRUCTORS): Likewise.
(CLASSTYPE_DESTRUCTORS): Likewise.
(lang_decl): Add cloned_function.
(DECL_COMPLETE_CONSTRUCTOR_P): New macro.
(DECL_BASE_CONSTRUCTOR_P): Likewise.
(DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P): Likewise.
(DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P): Likewise.
(DECL_CLONED_FUNCTION_P): Likewise.
(DECL_CLONED_FUNCTION): Likewise.
(clone_function_decl): Declare.
(maybe_clone_body): Likewise.
* call.c (build_user_type_conversion_1): Call complete object
constructors in the new ABI.
(build_new_method_call): Don't add in-charge parameters under the
new ABI.
* class.c (add_method): Use DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P,
DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P, CLASSTYPE_CONSTRUCTOR_SLOT, and
CLASSTYPE_DESTRUCTOR_SLOT.
(build_clone): New function.
(clone_function_decl): Likewise.
(clone_constructors_and_destructors): Likewise.
(check_bases_and_members): Use it.
* decl.c (iniitialize_predefined_identifiers): Initialize
complete_dtor_identifier.
(finish_function): Don't add extra code to a clone.
(lang_mark_tree): Mark cloned_function.
* decl2.c (mark_used): Don't bother trying to instantiate things
we synthesized.
* dump.c (dequeue_and_dump): Don't dump CP_DECL_CONTEXT twice.
* method.c (set_mangled_name_for_decl): Don't treat clones as
constructors.
(synthesize_method): Sythesize cloned functions, not the clones.
* optimize.c (inline_data): Update comment on ret_label.
(remap_block): Don't assume DECL_INITIAL exists.
(copy_body_r): Allow ret_label to be NULL.
(maybe_clone_body): Define.
* pt.c (tsubst_decl): Handle clones.
(instantiate_clone): New function.
(instantiate_template): Use it.
(set_mangled_name_for_template_decl): Don't treat clones as
constructors.
* search.c (lookup_fnfields_1): Use CLASSTYPE_CONSTRUCTOR_SLOT,
CLASSTYPE_DESTRUCTOR_SLOT, and CLASSTYPE_FIRST_CONVERSION_SLOT.
* semantics.c (expand_body): Clone function bodies as necessary.

From-SVN: r33084

24 years agoVector.java (VectorEnumeration): Now `final'.
Tom Tromey [Tue, 11 Apr 2000 20:02:48 +0000 (20:02 +0000)]
Vector.java (VectorEnumeration): Now `final'.

* java/util/Vector.java (VectorEnumeration): Now `final'.
* java/util/Hashtable.java (HashtableEntry): Now `final'.
(HashtableEnumeration): Likewise.
* java/util/zip/ZipFile.java (ZipEnumeration): Now `final'.
* java/text/RuleBasedCollator.java (RBCElement): Now `final'.

From-SVN: r33083

24 years agolong-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
Jeffrey A Law [Tue, 11 Apr 2000 20:02:46 +0000 (20:02 +0000)]
long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.

* pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
* pa/pa-protos.h (output_call): Add additional argument indicating
if the call is a sibling/tail call.
(compute_zdepdi_operands, output_64bit_and): Prototype new functions.
(compute_64bit_ior, cmpib_comparison_operator): Likewise.
(function_arg, function_arg_partial_nregs): Likewise
* pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
(emit_move_sequence): Zero extend certain constants as needed
for TARGET_64BIT.
(compute_zdepdi_operands, output_64bit_and): New functions.
(output_64bit_ior, function_arg): Likewise.
(cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
(compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
(hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
(hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
(output_bvb): Likewise.
(output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
(output_call): New argument 'sibcall'.  Generate sibcall sequences
as needed.
(print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
(ouput_arg_descriptor): Do not emit argument descriptors for
TARGET_64BIT.
* pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
defined.
(TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
(FUNCTION_OK_FOR_SIBALL): Define.
(CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
(CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
(CPP_SPEC): Use new spec infrastructure.
(BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
(STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
(RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
(REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
(STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
(FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
(TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
(INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
(CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
(FUNCTION_ARG); Call out to C code.
(FUNCTION_ARG_PARTIAL_NREGS): Likewise.
(MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
(MIN_UNITS_PER_WORD): Likewise.
* pa/pa.md (cmpdi): New expander.
(scc patterns, movstrsi): Not available for TARGET_64BIT.
(64bit conditional arithmetic): New patterns.
(absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
(movsicc): Not available if modes on all the operands to not match.
(movdicc): New expander and associated patterns.
(64bit branches): New patterns.
(pre_load, post_store): Generate appropriate code for TARGET_64BIT.
(pre_ldd, post_std): New patterns.
(64bit addil, load low part): New patterns.
(special movsf constant): Not available for TARGET_64BIT.
(movsf, movdf expanders): Force constants into memory.
(32bit movdf/movdi patterns): Disable for TARGET_64BIT.
(64bit movdf/movdi patterns): New patterns.
(zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
for TARGET_64BIT.
(extendqidi2, extendhidi2, extendsidi2): Similarly.
(adddi3 expander): Allow "arith_operand" for second input.
(32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
(64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
(mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
(muldi3): New expander for TARGET_64BIT.
(divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
for TARGET_64BIT.
(32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
patterns for TARGET_64BIT.
(64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
patterns for TARGET_64BIT.
(64bit bit insertion/extractions): New patterns for TARGET_64BIT.
(64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
(sibcall_epilogue): New expander.
(casesi): Tweak for TARGET_64BIT.
(call expanders): Set & use the outgoing argument pointer.  Use the
64bit call patterns as needed. Add additional arg to output_call.
(call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
(sibcall, sibcall_internal_symref): New expanders.
(sibcall_value, sibcall_value_internal_symref
(interspace_jump): Turn into an expander + matching patterns.
(canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
* pa/pa64-regs.h: Eliminate trigraph sequences.
* pa/pa64-start.h (TARGET_PA_20): Fix typo.

From-SVN: r33082

24 years agooptimize.c (remap_decl): Avoid sharing structure for arrays whose size is only known...
Mark Mitchell [Tue, 11 Apr 2000 17:29:54 +0000 (17:29 +0000)]
optimize.c (remap_decl): Avoid sharing structure for arrays whose size is only known at run-time.

* optimize.c (remap_decl): Avoid sharing structure for arrays
whose size is only known at run-time.
* tree.c (copy_tree_r): Don't copy PARM_DECLs.

From-SVN: r33081

24 years agocp-tree.h (lang_decl_flags): Rename constructor_for_vbase_attr to has_in_charge_parm_p.
Mark Mitchell [Tue, 11 Apr 2000 16:56:14 +0000 (16:56 +0000)]
cp-tree.h (lang_decl_flags): Rename constructor_for_vbase_attr to has_in_charge_parm_p.

* cp-tree.h (lang_decl_flags): Rename constructor_for_vbase_attr
to has_in_charge_parm_p.
(DECL_CONSTRUCTOR_FOR_VBASE_P): Rename to ...
(DECL_HAS_IN_CHARGE_PARM_P): ... this.
(DECL_COPY_CONSTRUCTOR_P): New macro.
* call.c (add_function_candidate): Use DECL_HAS_IN_CHARGE_PARM_P.
(build_user_type_conversion_1): Likewise.
(convert_like_real): Likewise.
(build_over_call): Likeiwse.  Use DECL_COPY_CONSTRUCTOR_P.
* decl.c (grokdeclarator): Use DECL_HAS_IN_CHARGE_PARM_P.
(copy_args_p): Likewise.
(grok_ctor_properties): Likewise.
(start_function): Likewise.
* decl2.c (maybe_retrofit_in_charge): Likewise.  Set it.
* error.c (dump_function_decl): Use DECL_HAS_IN_CHARGE_PARM_P.
* init.c (emit_base_init): Use DECL_COPY_CONSTRUCTOR_P.
* method.c (do_build_copy_constructor): Use
DECL_HAS_IN_CHARGE_PARM_P.
(synthesize_method): Likewise.
* pt.c (instantiate_template): Remove goto.
* tree.c (build_cplus_method_type): Remove mention of obstacks in
comment.

From-SVN: r33080

24 years agocp-tre.h (finish_function): Change prototype.
Mark Mitchell [Tue, 11 Apr 2000 16:27:42 +0000 (16:27 +0000)]
cp-tre.h (finish_function): Change prototype.

* cp-tre.h (finish_function): Change prototype.
* decl.c (end_cleanup_fn): Adjust caller.
(finish_function): Take only one parameter.
* decl2.c (finish_objects): Adjust caller.
(finish_static_storage_duration_function): Likewise.
* method.c (emit_thunk): Likewise.
* parse.y: Likewise.
* parse.c: Regenerated.
* pt.c (instantiate_decl): Likewise.
* rtti.c (synthesize_tinfo_fn): Likewise.
* semantics.c (expand_body): Likewise.

* cp-tree.h (copy_decl): New function.
* class.c (finish_struct_1): Use it.
* lex.c (copy_decl): Define it.
* pt.c (tsubst_decl): Likewise.
* tree.c (copy_template_template_parm): Likewise.

From-SVN: r33079

24 years agoRestore accidentally nuked changelog entries Mon Apr 10 07:21:13 2000 Richard...
Nathan Sidwell [Tue, 11 Apr 2000 15:32:58 +0000 (15:32 +0000)]
Restore accidentally nuked changelog entries Mon Apr 10 07:21:13 2000 Richard...

Restore accidentally nuked changelog entries
  Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
  2000-04-10  Neil Booth  <NeilB@earthling.net>

From-SVN: r33078

24 years agoObjectStreamException.java: New file.
Warren Levy [Tue, 11 Apr 2000 09:21:53 +0000 (09:21 +0000)]
ObjectStreamException.java: New file.

* java/io/ObjectStreamException.java: New file.
* java/io/OptionalDataException.java: New file.
* java/io/StreamCorruptedException.java: New file.
* java/math/BigDecimal.java: New file.
* java/sql/CallableStatement.java: New file.
* java/sql/Connection.java: New file.
* java/sql/DataTruncation.java: New file.
* java/sql/DatabaseMetaData.java: New file.
* java/sql/Date.java: New file.
* java/sql/Driver.java: New file.
* java/sql/DriverManager.java: New file.
* java/sql/DriverPropertyInfo.java: New file.
* java/sql/PreparedStatement.java: New file.
* java/sql/ResultSet.java: New file.
* java/sql/ResultSetMetaData.java: New file.
* java/sql/SQLException.java: New file.
* java/sql/SQLWarning.java: New file.
* java/sql/Statement.java: New file.
* java/sql/Time.java: New file.
* java/sql/Timestamp.java: New file.
* java/sql/Types.java: New file.
* Makefile.am: Added above new files.
* Makefile.in: Rebuilt.

* mauve-libgcj: Turned on java.math, java.sql and java.security tests.
* java/net/MulticastSocket.java (MulticastSocket): Pass values a la
DatagramSocket constructor instead of null.

java.sql is JDK 1.1 Compliant

From-SVN: r33077

24 years agocppexp.c, [...]: Replace cpp_token with cpp_ttype everywhere.
Zack Weinberg [Tue, 11 Apr 2000 08:29:34 +0000 (08:29 +0000)]
cppexp.c, [...]: Replace cpp_token with cpp_ttype everywhere.

* cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
cpp_token with cpp_ttype everywhere.
* cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
CPP_BUF_COL.  Line and column numbers are unsigned int, not
long.
* cpplex.c (cpp_buf_line_and_col): Delete.
* cpplib.h (struct cpp_buffer, struct cpp_reader): Change
'long lineno' to 'unsigned int lineno'.
(CPP_BUF_LINE, CPP_BUF_COL): New macros.

From-SVN: r33076

24 years agoDaily bump.
Jeff Law [Tue, 11 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33075

24 years agocp-tree.h (lang_type): Remove has_nonpublic_ctor and has_nonpublic_assign_ref.
Mark Mitchell [Tue, 11 Apr 2000 07:39:05 +0000 (07:39 +0000)]
cp-tree.h (lang_type): Remove has_nonpublic_ctor and has_nonpublic_assign_ref.

* cp-tree.h (lang_type): Remove has_nonpublic_ctor and
has_nonpublic_assign_ref.
(TYPE_HAS_NONPUBLIC_CTOR): Don't declare.
(TYPE_HAS_NONPUBLIC_ASSIGN_REF): Likewise.
* class.c (finish_struct_methods): Don't set
TYPE_HAS_NONPUBLIC_CTOR or TYPE_HAS_NONPUBLIC_ASSIGN_REF.
(interface_only): Don't declare.
(interface_unknown): Likewise.

From-SVN: r33074

24 years agoextend.texi: ISO C99 is not a draft anymore.
Martin v. Löwis [Tue, 11 Apr 2000 07:20:47 +0000 (07:20 +0000)]
extend.texi: ISO C99 is not a draft anymore.

* extend.texi: ISO C99 is not a draft anymore.
* invoke.texi: ISO C++ is not a draft anymore.
* cpp.texi: __cplusplus is required by the ISO standard.

From-SVN: r33073

24 years agoAdd missing table start back in.
Martin v. Löwis [Tue, 11 Apr 2000 06:06:22 +0000 (06:06 +0000)]
Add missing table start back in.

From-SVN: r33072

24 years agoextend.texi (-fthis-is-variable): Undocument.
Martin v. Löwis [Tue, 11 Apr 2000 06:01:53 +0000 (06:01 +0000)]
extend.texi (-fthis-is-variable): Undocument.

* extend.texi (-fthis-is-variable): Undocument.
* flags.h (warn_template_debugging): Remove declaration.
* gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
-Wenum-clash, -Wtemplate-debugging): Undocument.
* cp/tree.h (HAVE_TEMPLATES): Remove definition.
* cp/lang-options.h (-fthis-is-variable): Remove documentation.

From-SVN: r33071

24 years ago- Replace reference to newppc-branch ChangeLog with detailed entries.
David Edelsohn [Tue, 11 Apr 2000 04:35:22 +0000 (00:35 -0400)]
- Replace reference to newppc-branch ChangeLog with detailed entries.

From-SVN: r33070

24 years agoFix compile time warnings for arm-pe target.
Nick Clifton [Tue, 11 Apr 2000 03:08:01 +0000 (03:08 +0000)]
Fix compile time warnings for arm-pe target.

From-SVN: r33069

24 years agonote warnings
Jason Merrill [Tue, 11 Apr 2000 01:11:58 +0000 (21:11 -0400)]
note warnings

From-SVN: r33068

24 years agojust return failure
Jason Merrill [Tue, 11 Apr 2000 01:11:27 +0000 (21:11 -0400)]
just return failure

From-SVN: r33067

24 years agoclass.c (instantiate_type): Handle object-relative template-id.
Jason Merrill [Tue, 11 Apr 2000 00:38:39 +0000 (00:38 +0000)]
class.c (instantiate_type): Handle object-relative template-id.

        * class.c (instantiate_type): Handle object-relative template-id.

        * semantics.c (finish_expr_stmt): Call convert_to_void here.
        * decl.c (cplus_expand_expr_stmt): Not here.

        * rtti.c (build_dynamic_cast_1): Call non_lvalue.
        Initialize exprtype earlier.

        * parse.y (fn.def1): Check for defining types in return types.

        * decl.c (check_tag_decl): Notice extra fundamental types.
        Diagnose empty decls in classes, too.

        * decl.c (grokdeclarator): Don't override an anonymous name if no
        declarator was given.

        * cvt.c (convert_to_void): Call resolve_offset_ref.

        * typeck.c (build_x_function_call): Abort if we get an OFFSET_REF.

        * decl2.c (decl_namespace): Handle getting a type.

        * typeck.c (build_c_cast): Re-enable warning for cast between
        pointer and integer of different size.

From-SVN: r33066

24 years agosbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential of sequence point...
Richard Kenner [Mon, 10 Apr 2000 19:35:13 +0000 (19:35 +0000)]
sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential of sequence point problems.

* sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
of sequence point problems.

From-SVN: r33064

24 years ago* g++.old-deja/g++.eh/catchptr1.C: New test.
Nathan Sidwell [Mon, 10 Apr 2000 16:22:52 +0000 (16:22 +0000)]
* g++.old-deja/g++.eh/catchptr1.C: New test.

From-SVN: r33062

24 years agocxxabi.h (__pointer_type_info): Add restrict and incomplete flags.
Nathan Sidwell [Mon, 10 Apr 2000 16:21:28 +0000 (16:21 +0000)]
cxxabi.h (__pointer_type_info): Add restrict and incomplete flags.

* inc/cxxabi.h (__pointer_type_info): Add restrict and
incomplete flags.
(__pointer_type_info::__pointer_catch): New virtual function.
(__pointer_to_member_type_info): Derive from
__pointer_type_info. Adjust.
(__pointer_to_member_type_info::__do_catch): Remove.
(__pointer_to_member_type_info::__is_pointer_p): Declare.
(__pointer_to_member_type_info::__pointer_catch): Declare.
* rtti.c (qualifier_flags): Add restrict flag.
(ptmd_initializer): Reorder members.
(create_tinfo_types): Expand comments. Reorder
ptmd_desc_type_node members.
* tinfo2.cc (__pointer_to_member_type_info::__is_pointer_p):
Implement.
(__pointer_type_info::__do_catch): Move specific code into
__pointer_catch. Call it.
(__pointer_type_info::__pointer_catch): Non-pointer-to-member
specific catch checking. Fix void conversion check.
(__pointer_to_member_type_info::__do_catch): Remove.
(__pointer_to_member_type_info::__pointer_catch): Implement.

From-SVN: r33061

24 years agortl.def (ASHIFT, [...]): Recomment.
Nathan Sidwell [Mon, 10 Apr 2000 16:18:21 +0000 (16:18 +0000)]
rtl.def (ASHIFT, [...]): Recomment.

* rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
Recomment.
* tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.

From-SVN: r33060

24 years agosbitmap.h: Whitespace changes and use upper-case macro args.
Richard Kenner [Mon, 10 Apr 2000 12:31:19 +0000 (12:31 +0000)]
sbitmap.h: Whitespace changes and use upper-case macro args.

* sbitmap.h: Whitespace changes and use upper-case macro args.
(struct simple_bitmap_def): All sizes now unsigned.
(EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
* sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
(sbitmap_vector_alloc): Parms and local vars now unsigned.
(sbitmap_zero): Cast bzero arg to PTR.
(sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
(sbitmap_union_of_diffs): Change loop index to unsigned and rework
loop to make structure clearer.
(sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
(sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
(sbitmap_a_and_b_or_c): Likewise.
(sbitmap_intersection_of_succs): Minor cleanups.
(sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
(sbitmap_union_of_preds): Likewise.
(sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
(debug_sbitmap): New function.

From-SVN: r33059

24 years agoc-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
Richard Kenner [Mon, 10 Apr 2000 11:59:46 +0000 (11:59 +0000)]
c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.

* c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
* c-typeck.c (convert_for_assignment): Likewise.

From-SVN: r33058

24 years agoexpmed.c (init_expmed): Don't free objects we make.
Richard Kenner [Mon, 10 Apr 2000 11:51:53 +0000 (11:51 +0000)]
expmed.c (init_expmed): Don't free objects we make.

* expmed.c (init_expmed): Don't free objects we make.
* emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.

From-SVN: r33057

24 years agoexpr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
Richard Kenner [Mon, 10 Apr 2000 11:46:08 +0000 (11:46 +0000)]
expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.

* expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
(expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.

From-SVN: r33056

24 years agoAdd missing blank
Richard Kenner [Mon, 10 Apr 2000 11:40:06 +0000 (07:40 -0400)]
Add missing blank

From-SVN: r33055

24 years agogcse.c (expr_hash_table_size): Now unsigned.
Richard Kenner [Mon, 10 Apr 2000 11:33:18 +0000 (11:33 +0000)]
gcse.c (expr_hash_table_size): Now unsigned.

* gcse.c (expr_hash_table_size): Now unsigned.
(compute_ae_gen): Local variable `i' now unsigned.
(compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
(compute_transout, hoist_code): Likewise.
(compute_local_properties): Likewise, also hash_table_size.
(alloc_expr_hash_table): N_INSNS now unsigned.
(delete_null_pointer_checks): Mark arg F as unused.

From-SVN: r33054

24 years agoregrename.c: Minor cleanups, including changing some variables to unsigned int.
Richard Kenner [Mon, 10 Apr 2000 11:23:17 +0000 (11:23 +0000)]
regrename.c: Minor cleanups, including changing some variables to unsigned int.

* regrename.c: Minor cleanups, including changing some variables
to unsigned int.

From-SVN: r33053

24 years agocpplex.c (skip_block_comment): Use pointer arithmetic rather than GETC ().
Neil Booth [Mon, 10 Apr 2000 11:08:12 +0000 (11:08 +0000)]
cpplex.c (skip_block_comment): Use pointer arithmetic rather than GETC ().

* cpplex.c (skip_block_comment): Use pointer arithmetic rather
than GETC ().
* cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.

From-SVN: r33052

24 years agoinvoke.texi (-ansi): Remove -foperator-names from list of implied options.
Martin v. Löwis [Mon, 10 Apr 2000 07:48:15 +0000 (07:48 +0000)]
invoke.texi (-ansi): Remove -foperator-names from list of implied options.

* invoke.texi (-ansi): Remove -foperator-names from list of
implied options. Do not call it ANSI C++.
(-foperator-names): Document as -fno-operator-names.
* cp/decl2.c (flag_operator_names): Default to 1.
(lang_decode_option): Do not set it for -ansi.

From-SVN: r33051

24 years agoDaily bump.
Jeff Law [Mon, 10 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33050

24 years agoinvoke.texi (-fno-gnu-keywords): Remove classof, headof, __classof__, and __headof__...
Martin v. Löwis [Mon, 10 Apr 2000 07:43:45 +0000 (07:43 +0000)]
invoke.texi (-fno-gnu-keywords): Remove classof, headof, __classof__, and __headof__ from the list of gnu keywords.

* invoke.texi (-fno-gnu-keywords): Remove classof, headof,
__classof__, and __headof__ from the list of gnu keywords.
* cp/lex.c (init_parse): Remove traces of classof and headof.

From-SVN: r33049

24 years agocp-tree.h (struct lang_decl): Remove main_decl_variant.
Mark Mitchell [Mon, 10 Apr 2000 06:53:57 +0000 (06:53 +0000)]
cp-tree.h (struct lang_decl): Remove main_decl_variant.

* cp-tree.h (struct lang_decl): Remove main_decl_variant.
(DECL_MAIN_VARIANT): Remove.
* decl.c (duplicate_decls): Don't set it.
(start_function): Likewise.
(lang_mark_tree): Don't mark it.
* decl2.c (defer_fn): Don't use it.
* lex.c (retrofit_lang_decl): Don't set it.
* pt.c (tsubst_decl): Likewise.
* ptree.c (print_lang_decl): Don't print it.
* typeck.c (mark_addressable): Don't use it.

From-SVN: r33048

This page took 0.10286 seconds and 5 git commands to generate.