Jeffrey A Law [Mon, 3 Apr 2000 09:04:42 +0000 (09:04 +0000)]
* gcc.c-torture/compile/
20000403-2.c: New test.
From-SVN: r32881
Jeffrey A Law [Mon, 3 Apr 2000 08:35:44 +0000 (08:35 +0000)]
* gcc.c-torture/compile/
20000403-1.c: New test.
From-SVN: r32880
Felix Lee [Mon, 3 Apr 2000 07:43:51 +0000 (07:43 +0000)]
server.c (find_shell): New function.
* fixinc/server.c (find_shell): New function. Avoid $SHELL.
(run_shell): Use it.
From-SVN: r32878
Jonathan Larmour [Mon, 3 Apr 2000 07:41:25 +0000 (07:41 +0000)]
Makefile.in (stmp-int-hdrs): Make include subdir here...
* Makefile.in (stmp-int-hdrs): Make include subdir here...
(stmp-fixproto): ...rather than here.
From-SVN: r32877
George France [Mon, 3 Apr 2000 07:21:06 +0000 (07:21 +0000)]
* basicio.c (PATH_MAX): Always provide a definition.
From-SVN: r32876
Jason Eckhardt [Mon, 3 Apr 2000 06:51:45 +0000 (06:51 +0000)]
pa.c (print_operand): Compute 'base' only inside the code paths that use it.
* pa.c (print_operand): Compute 'base' only inside the code paths
that use it.
From-SVN: r32875
Geoff Keating [Mon, 3 Apr 2000 06:17:03 +0000 (00:17 -0600)]
stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than CEIL_DIV_EXPR.
* stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
CEIL_DIV_EXPR.
From-SVN: r32874
Philipp Thomas [Mon, 3 Apr 2000 06:08:44 +0000 (06:08 +0000)]
* i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
From-SVN: r32873
Brad Lucier [Mon, 3 Apr 2000 06:04:36 +0000 (06:04 +0000)]
* Makefile.in: Have alias.o depend on $(TREE_H).
From-SVN: r32872
Zack Weinberg [Sun, 2 Apr 2000 22:51:55 +0000 (22:51 +0000)]
* configure.in: Indent the # of #include_next one space.
From-SVN: r32871
Zack Weinberg [Sun, 2 Apr 2000 22:50:55 +0000 (22:50 +0000)]
cppinit.c (cpp_start_read): Turn off -Wtraditional if processing C++.
* cppinit.c (cpp_start_read): Turn off -Wtraditional if
processing C++.
* cpplib.c (_cpp_handle_directive): Improve warnings for
traditional C and indented directives.
* enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
fixinc/inclhack.def: Indent the # of #include_next one space.
* cp/rtti.c: Un-indent #if and #endif.
* cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
syntax error, but an error has already been printed.
* cpplex.c (_cpp_parse_assertion): Give a more specific error
message when called with nothing remaining on the line.
(_cpp_lex_token): If _cpp_parse_assertion fails, return an
OTHER token, not an ASSERTION.
* cpplib.c (do_assert): When we create a 'base' node, clear
its aschain pointer.
* gcc.c-torture/compile/981211-1.c: Move to...
* gcc.dg/cpp-as1.c: ...here.
* gcc.dg/cpp-as2.c: New file.
* gcc.dg/cpp-tradwarn1.c: Change warning regexps to match the
compiler.
From-SVN: r32870
Neil Booth [Sun, 2 Apr 2000 22:12:14 +0000 (22:12 +0000)]
cppexp.c: New typedef op_t.
* cppexp.c: New typedef op_t. struct operation and struct
token updated to use it.
(op_to_str): New function.
(_cpp_parse_expr): Error messages modified to use op_to_str.
From-SVN: r32869
Anthony Green [Sun, 2 Apr 2000 15:41:00 +0000 (15:41 +0000)]
Forgot to add this file before...
From-SVN: r32868
Anthony Green [Sun, 2 Apr 2000 15:36:43 +0000 (15:36 +0000)]
misc.c (GC_enable): Always define GC_enable and GC_disable.
2000-03-26 Anthony Green <green@redhat.com>
* misc.c (GC_enable): Always define GC_enable and GC_disable.
From-SVN: r32867
Anthony Green [Sun, 2 Apr 2000 15:34:17 +0000 (15:34 +0000)]
JVMPI changes...
Sun Apr 2 08:27:18 2000 Anthony Green <green@redhat.com>
* configure: Rebuilt.
* configure.in: Add --disable-jvmpi.
* include/config.h.in: Rebuilt.
* acconfig.h: Add ENABLE_JVMPI.
* include/jvm.h: Declare _Jv_DisableGC and _Jv_EnableGC.
(_Jv_JVMPI_Notify_OBJECT_ALLOC): New define.
(_Jv_JVMPI_Notify_THREAD_END): New define.
(_Jv_JVMPI_Notify_THREAD_END): New define.
* prims.cc (_Jv_JVMPI_Notify_OBJECT_ALLOC): Declare.
(_Jv_JVMPI_Notify_THREAD_END): Declare.
(_Jv_JVMPI_Notify_THREAD_END): Declare.
* prims.cc (_Jv_AllocObject): Generate JVMPI object allocation
events.
* java/lang/natThread.cc: Include JVMPI headers if necessary.
(finish_): Generate JVMPI thread end events.
(run_): Generate JVMPI thread start events.
* gnu/gcj/runtime/natFirstThread.cc (run): Call JNI_OnLoad for any
preloaded JNI library.
Include JVMPI headers if necessary.
(run): Generate JVMPI thread start events.
* boehm.cc: Define GC_disable and GC_enable.
(_Jv_DisableGC): New function.
(_Jv_EnableGC): New function.
(disable_gc_mutex): Declare.
* nogc.cc (_Jv_DisableGC): New function.
(_Jv_EnableGC): New function.
* jni.cc (_Jv_JNI_GetEnv): Handle JVMPI interface requests.
(_Jv_JVMPI_Interface): Define.
(jvmpiEnableEvent): New function.
(_Jv_JNI_Init): Initialize _Jv_JVMPI_Interface.
* include/jvmpi.h: New file.
From-SVN: r32866
Michael Hayes [Sun, 2 Apr 2000 09:19:17 +0000 (09:19 +0000)]
c4x.c (c4x_function_arg): Check for void_type_node before checking MUST_PASS_IN_STACK.
* config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
before checking MUST_PASS_IN_STACK.
From-SVN: r32865
Jeff Law [Sun, 2 Apr 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r32864
Neil Booth [Sun, 2 Apr 2000 08:27:23 +0000 (08:27 +0000)]
cppexp.c: New FINISHED dummy token.
* cppexp.c: New FINISHED dummy token. Combine operator initial
flags and initial priority into a single constant. New
EQUALITY macro. New operator flag SHORT_CIRCUIT.
(_parse_cpp_expr): Implement new constants. Take left operand
checks out of reduction loop. Handle SHORT_CIRCUIT. End of
parse indicated by reducing FINISHED token. Remove new lines
from cpp_error messages.
From-SVN: r32863
Neil Booth [Sun, 2 Apr 2000 07:20:26 +0000 (07:20 +0000)]
2000-04-02 Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp-cond.c New tests.
* gcc.dg/cpp-ifparen.c New tests. Amend existing tests to make
accidental success less likely.
* gcc.dg/cpp-missingop.c New tests.
* gcc.dg/cpp-missingparen.c New tests.
* gcc.dg/cpp-shift.c New tests.
* gcc.dg/cpp-shortcircuit.c New tests.
* gcc.dg/cpp-unary.c New tests.
From-SVN: r32862
Mark Mitchell [Sun, 2 Apr 2000 02:48:24 +0000 (02:48 +0000)]
emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the permanent obstack.
* emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
permanent obstack.
From-SVN: r32861
Zack Weinberg [Sat, 1 Apr 2000 22:55:25 +0000 (22:55 +0000)]
cpplib.c: Include symcat.h.
* cpplib.c: Include symcat.h. Add 'origin' field to struct
directive. Add origin values to DIRECTIVE_TABLE. Generate
the strings and function names on the fly. Take the #sccs
entry out of the table if SCCS_DIRECTIVE is not defined.
(_cpp_handle_directive): Decide if the # was at the beginning
of the line here. Issue -pedantic warnings for extended
directives here. Warn about K+R directives with the #
indented, and C89/extended directives with the # not indented,
here.
(do_import, do_include_next, do_warning, do_ident, do_sccs,
do_assert, do_unassert): Don't issue pedantic warning here.
* cpphash.h: Add CPP_WTRADITIONAL macro.
* cpplib.h (struct cpp_options): Rename warn_stringify to
warn_traditional; update comments.
* cppinit.c (handle_option): Set warn_traditional not
warn_stringify.
* cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
CPP_WTRADITIONAL (pfile).
* cpplex.c (_cpp_lex_token): Don't decide if directives should
be ignored in -traditional mode here.
* cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
to initialize speccase[] and trigraph_map[]. Delete all
references to pfile->input_speccase. Always treat '?' as a
special character. Remove table-initialization code from
_cpp_init_input_buffer.
* cpplib.h (struct cpp_reader): Remove input_speccase field.
* cppinit.c (cpp_cleanup): Don't free input_speccase.
From-SVN: r32860
Zack Weinberg [Sat, 1 Apr 2000 22:45:01 +0000 (22:45 +0000)]
Add dg-do tag
From-SVN: r32859
Zack Weinberg [Sat, 1 Apr 2000 22:02:31 +0000 (22:02 +0000)]
cpplex.c: Copy ISTABLE macros from cppinit.c...
* cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
to initialize speccase[] and trigraph_map[]. Delete all
references to pfile->input_speccase. Always treat '?' as a
special character. Remove table-initialization code from
_cpp_init_input_buffer.
* cpplib.h (struct cpp_reader): Remove input_speccase field.
* cppinit.c (cpp_cleanup): Don't free input_speccase.
From-SVN: r32858
Richard Henderson [Sat, 1 Apr 2000 19:07:05 +0000 (11:07 -0800)]
Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
* Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
(mostlyclean): Likewise.
* toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
(struct dump_file_info, enum dump_file_index, dump_file): New.
(open_dump_file): Take a dump_file_index not a suffix, and a decl
not a string. Clean out file if we havn't yet done so. Do nothing
if the dump isn't enabled.
(close_dump_file): Do nothing if the dump isn't open. Dump
graph data if requested.
(dump_rtl, clean_dump_file): Remove.
(compile_file): Don't clean the dump files. Only finalize .bp dump
if flag_test_coverage or flag_branch_probabilities. Only finalize
.combine dump if optimizing. Iterate over dump_file to finalize the
graph dumps.
(rest_of_compilation): Update for open_dump_file/close_dump_file.
Convert all uses of dump_rtl.
(decode_d_option): Iterate over dump_file to implement 'a' and to
locate pass-specific dumps.
From-SVN: r32857
Jeff Law [Sat, 1 Apr 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r32856
Neil Booth [Sat, 1 Apr 2000 07:48:59 +0000 (07:48 +0000)]
cppexp.c: Redefine priority constants.
* cppexp.c: Redefine priority constants.
(_cpp_parse_expr): Replace left and right priority scheme with
single priority logic. Move LOGICAL to same place as COMPARE.
Remove bogus check for multiple unary +/- operators.
From-SVN: r32855
Neil Booth [Sat, 1 Apr 2000 07:42:37 +0000 (07:42 +0000)]
cppexp.c: (_cpp_parse_expr): Numerical constants are pushed within the switch statement.
* cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
within the switch statement. Binary operations break out of
the switch naturally. '(' tokens handled by forcing
immediate shift. ')' handled by forcing immediate reduce to
the previous '('. New error messages.
From-SVN: r32854
Geoff Keating [Sat, 1 Apr 2000 01:37:44 +0000 (01:37 +0000)]
rs6000.c (print_operand): Don't use %l for 'low part', it's already in use.
* config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
part', it's already in use. Use %K instead. Add a return at the
end of what is now %K.
* config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
From-SVN: r32853
Alexandre Petit-Bianco [Sat, 1 Apr 2000 00:19:13 +0000 (16:19 -0800)]
Fixed email address typo in Thu Mar 30, 2000 ChangeLog entry.
From-SVN: r32852
Jan Hubicka [Sat, 1 Apr 2000 00:09:22 +0000 (00:09 +0000)]
builtins.c (expand_builtin_apply): Pass proper parameters to allocate_dynamic_stack_space.
* builtins.c (expand_builtin_apply): Pass proper parameters to
allocate_dynamic_stack_space.
* calls.c (emit_call_1): Do not adjust stack pointer for SIB,
update stack_pointer_delta; do not update arg_size_so_far.
(compute_argument_block_size): Use stack_delta instead of
stack_pointer_pending and arg_size_so_far.
(expand_call): Add sanity checking for stack_pointer_delta;
save and restore stack_pointer_delta for SIB, use
stack_pointer_delta for alignment; do not update arg_space_so_far.
(emit_library_call_value): Use stack_pointer_delta for alignment.
(store_one_arg): Do not update arg_space_so_far.
* explow.c (adjust_stack, anti_adjust_stack): Update
stack_pointer_delta.
(allocate_dynamic_stack_space): Add sanity checking for
stack_pointer_delta.
* expr.c (init_expr, clear_pending_stack_adjust): Clear
stack_pointer_delta.
(emit_push_insn): Update stack_pointer_delta.
* function.h (struct expr_status): Add x_stack_pointer_delta;
remove x_arg_space_so_far.
(arg_space_so_far): Remove.
(stack_pointer_delta): New macro.
From-SVN: r32851
Zack Weinberg [Fri, 31 Mar 2000 23:16:11 +0000 (23:16 +0000)]
cpplib.h: Merge struct cpp_options into struct cpp_reader.
* cpplib.h: Merge struct cpp_options into struct cpp_reader.
Reorder struct cpp_options and struct cpp_reader for better
packing. Replace CPP_OPTIONS macro with CPP_OPTION which
takes two args. Change all 'char' flags to 'unsigned char'.
Move show_column flag into struct cpp_options. Don't
prototype cpp_options_init.
* cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
cppinit.c, cpplex.c, cpplib.c:
Replace CPP_OPTIONS (pfile)->whatever with
CPP_OPTION (pfile, whatever), and likewise for
opts = CPP_OPTIONS (pfile); ... opts->whatever;
* cppinit.c (merge_include_chains): Take a cpp_reader *.
Extract CPP_OPTION (pfile, pending) and work with that
directly.
(cpp_options_init): Delete.
(cpp_reader_init): Turn on on-by-default options here.
Allocate the pending structure here.
(cl_options, enum opt_code): Define these from the same table,
kept in a large macro. Add -fshow-column and -fno-show-column
options.
* cpperror.c (v_message): If show_column is off, don't print
the column number.
* cppmain.c: Update for new interface.
* fix-header.c: Likewise.
From-SVN: r32850
Geoff Keating [Fri, 31 Mar 2000 22:28:33 +0000 (22:28 +0000)]
t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new definition.
* config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
definition.
* Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
are passed to any invocation of AR_FOR_TARGET.
(AR_CREATE_FOR_TARGET): New macro.
(AR_EXTRACT_FOR_TARGET): New macro.
(ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
AR_EXTRACT_FOR_TARGET.
(many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
`$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
AR_EXTRACT_FOR_TARGET to sub-makes.
From-SVN: r32849
Neil Booth [Fri, 31 Mar 2000 22:23:59 +0000 (22:23 +0000)]
cppexp.c: Delete SKIP_OPERAND.
* cppexp.c: Delete SKIP_OPERAND. Correct priority
PAREN_INNER_PRIO.
(_cpp_parse_expr): Check for multiple unary +/- operators.
Correct priorities of ':' and '?'. Treat ')' as having a
value. Ensure conditional expression is not void.
From-SVN: r32848
Mark Mitchell [Fri, 31 Mar 2000 16:24:30 +0000 (16:24 +0000)]
alias.c (canon_rtx): Make it global.
* alias.c (canon_rtx): Make it global.
(rtx_equal_for_memref_p): CONST_INT equality is now pointer
equality.
* cse.c (struct table_elt): Add canon_exp.
(insert): Clear it.
(invalidate): Canonicalize expressions only once.
* rtl.h (canon_rtx): Declare.
From-SVN: r32845
Mark Mitchell [Fri, 31 Mar 2000 08:57:54 +0000 (08:57 +0000)]
Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
* Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
* alias.c (reg_known_value): Add comments.
(init_alias_analysis): Likewise.
* cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
address.
(cse_basic_block): Fix typo in comment.
* emit-rtl.c: Include hashtab.h.
(const_int_htab): New variable.
(const_int_htab_hash): New function.
(const_int_htab_eq): Likewise.
(rtx_htab_mark_1): Likewise.
(rtx_htab_mark): Likewise.
(gen_rtx_CONST_INT): Cache all CONST_INTs.
(unshare_all_rtx): Fix formatting.
(init_emit_once): Initialize const_int_htab.
* rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
address.
* rtl.texi: Document the fact that all CONST_INTs with the same
value are shared.
From-SVN: r32844
Jeff Law [Fri, 31 Mar 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r32843
Mark Mitchell [Fri, 31 Mar 2000 07:04:37 +0000 (07:04 +0000)]
hashtab.h (hashval_t): New type.
* hashtab.h (hashval_t): New type.
(htab_find_with_hash): Use it as an argument.
(htab_find_slot_with_hash): Likewise.
* hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
codes.
(htab_find_with_hash): Likewise.
(htab_find_slot_with_hash): Likewise.
From-SVN: r32842
Richard Henderson [Fri, 31 Mar 2000 04:48:39 +0000 (20:48 -0800)]
* alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
From-SVN: r32841
Jeffrey A Law [Fri, 31 Mar 2000 01:05:27 +0000 (01:05 +0000)]
c-parse.in (cast_expr): Move change from March 21 into c-parse.in since it is used to generate c-parse.y.
* c-parse.in (cast_expr): Move change from March 21 into c-parse.in
since it is used to generate c-parse.y.
* objc-parse.c, objc-parse.y: Regenerated.
From-SVN: r32840
Alexandre Petit-Bianco [Thu, 30 Mar 2000 23:41:57 +0000 (15:41 -0800)]
expr.c (java_lang_expand_expr): Added Anthony's Thu Jan 6 2000 patch missing hunk.
Thu Mar 30 15:26:56 2000 Alexandre Petit-Bianco <apbianco@dcygnus.com>
* expr.c (java_lang_expand_expr): Added Anthony's Thu Jan 6 2000
patch missing hunk. Fixed indentation.
From-SVN: r32839
Zack Weinberg [Thu, 30 Mar 2000 22:31:37 +0000 (22:31 +0000)]
configure.in: Comment out --enable-c-cpplib stanza.
* configure.in: Comment out --enable-c-cpplib stanza.
* configure: Regenerate.
From-SVN: r32838
Richard Kenner [Thu, 30 Mar 2000 22:17:51 +0000 (22:17 +0000)]
expr.c (store_constructor): Properly compute displacement and alignment when offset is variable.
* expr.c (store_constructor): Properly compute displacement and
alignment when offset is variable.
From-SVN: r32837
Richard Kenner [Thu, 30 Mar 2000 21:46:37 +0000 (21:46 +0000)]
expmed.c (store_bit_field, [...]): Fix more cases of alignment in bytes.
* expmed.c (store_bit_field, store_fixed_bit_field): Fix more
cases of alignment in bytes.
From-SVN: r32836
Jeffrey A Law [Thu, 30 Mar 2000 20:32:31 +0000 (20:32 +0000)]
function.c (expand_function_end): Pass alignment argument to emit_block_move in bits, not bytes.
* function.c (expand_function_end): Pass alignment argument to
emit_block_move in bits, not bytes.
From-SVN: r32835
Nick Clifton [Thu, 30 Mar 2000 19:49:14 +0000 (19:49 +0000)]
added entry for patch that removed ASM_SPEC from config/arm/arm.h.
From-SVN: r32833
Tom Tromey [Thu, 30 Mar 2000 19:10:17 +0000 (19:10 +0000)]
gjavah.c (D_NAN_MASK): Only define as word-reversed when HOST_FLOAT_WORDS_BIG_ENDIAN and...
* gjavah.c (D_NAN_MASK): Only define as word-reversed when
HOST_FLOAT_WORDS_BIG_ENDIAN and HOST_WORDS_BIG_ENDIAN disagree.
From-SVN: r32832
Richard Kenner [Thu, 30 Mar 2000 18:17:19 +0000 (18:17 +0000)]
expr.c (move_by_pieces_ninsns): Fix one more missing align correction.
* expr.c (move_by_pieces_ninsns): Fix one more missing align
correction.
From-SVN: r32831
Richard Kenner [Thu, 30 Mar 2000 14:12:28 +0000 (14:12 +0000)]
* expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
From-SVN: r32830
Richard Kenner [Thu, 30 Mar 2000 13:46:05 +0000 (13:46 +0000)]
calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
* calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
* explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
* function.c (assign_parms): Likewise.
* integrate.c (expand_inline_function): Likewise.
* stmt.c (expand_decl): Likewise.
(copy_rtx_and_substitute): Likewise.
* expr.c (expand_expr, expand_expr_unaligned): Likewise.
(clear_by_pieces): Fix error in last change.
* emit-rtl.c (init_emit): Set known registers alignment in bits.
* function.h (regno_pointer_align): Now unsigned.
* config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
is in bits.
* config/i386/i386.c (aligned_operand): Likewise.
* config/sparc/sparc.c (mem_min_alignment): Likewise.
* config/alpha/alpha.c (aligned_memory_operand): Likewise.
(unaligned_memory_operand): Likewise.
(alpha_expand_block_move, alpha_expand_block_clear): Likewise.
Also make alignments and sizes unsigned and some whitespace cleanup.
(alpha_va_start): Do nothing if VALIST's type is error_mark_node.
From-SVN: r32829
Nathan Sidwell [Thu, 30 Mar 2000 12:08:26 +0000 (12:08 +0000)]
rtti.c (class_hint_flags): Rename flags.
* rtti.c (class_hint_flags): Rename flags.
(class_initializer): Remove flags.
(synthesize_tinfo_var): Combine offset and flags. Add flags
for __vmi_class_type_info.
(create_tinfo_types): Remove flags from __class_type_info and
__si_class_type_info. Merge flags and offset from
base_class_type_info.
* inc/cxxabi.h (__base_class_info): Merge offset and vmi_flags.
(__base_class_info::is_virtual_p): Adjust.
(__base_class_info::is_public_p): Adjust.
(__base_class_info::offset): New accessor.
(__class_type_info::details): Remove member.
(__class_type_info::__class_type_info): Lose details.
(__class_type_info::detail_masks): Remove.
(__si_class_type_info::__si_class_type_info): Lose details.
(__vmi_class_type_info::details): New member.
(__vmi_class_type_info::__vmi_class_type_info): Adjust.
(__vmi_class_type_info::detail_masks): New member.
* tinfo.cc (__class_type_info::do_upcast): Initialize result
with unknown_details_mask.
(__vmi_class_type_info::do_find_public_src): Adjust
(__vmi_class_type_info::do_dyncast): Adjust.
(__vmi_class_type_info::do_upcast): Set result details, if
needed. Adjust.
(__dynamic_cast): Temporarily #if out optimization.
From-SVN: r32828
Richard Kenner [Thu, 30 Mar 2000 11:47:08 +0000 (11:47 +0000)]
builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
* builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
(expand_builtin_apply): Pass alignment to emit_block_move in bits.
(expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
(expand_builtin_memset): Likewise, but to clear_storage.
* calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
(restore_fixed_argument_area): Likewise.
(store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
(load_register_parameters): Likewise, to emit_group_load.
(expand_call): Likewise, to emit_group_store and emit_block_move.
(emit_library_call_value_1): Likewise, to emit_block_move.
(store_one_arg): Likewise, and to emit_push_insn.
* expmed.c (extract_bit_field): Alignment is in bits, not bytes.
(extract_fixed_bit_field, extract_split_bit_field): Likewise.
* expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
(emit_block_move, emit_group_load, emit_group_store): Likewise.
(clear_by_pieces, clear_storage, emit_push_insn): Likewise.
(expand_assigment, store_expr, store_constructor_field): Likewise.
(expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
(store_constructor, store_field, get_inner_reference): Likewise.
Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
(expand_expr, case COMPONENT_REF): Likewise.
(copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
and positions; reindent code.
* expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
* function.c (purge_addressof_1): Pass bit align to store_bit_field.
(assign_parms): Likewise to emit_group_store.
* optbas.c (prepare_cmp_insn): Alignment is in bits.
(emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
* stmt.c (expand_value_return): Pass align in bits to emit_group_load.
(expand_return): Likewise to {extract,store}_bit_field.
* stor-layout.c (get_mode_alignment): Minor cleanup.
* config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
* config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
* ch/expr.c (chill_expand_expr): Pass bit alignment to emit_block_move.
From-SVN: r32827
Jeff Law [Thu, 30 Mar 2000 08:45:09 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r32826
Zack Weinberg [Thu, 30 Mar 2000 07:42:55 +0000 (07:42 +0000)]
cppinit.c (cpp_start_read): Call initialize_dependency_output only after reading in the primary source file.
* cppinit.c (cpp_start_read): Call initialize_dependency_output
only after reading in the primary source file.
From-SVN: r32825
Jeffrey A Law [Thu, 30 Mar 2000 02:19:19 +0000 (02:19 +0000)]
* i386/djgpp.h: Remove extraneous "+".
From-SVN: r32824
Jason Merrill [Thu, 30 Mar 2000 02:11:39 +0000 (02:11 +0000)]
* configure.in: -linux-gnu*, not -linux-gnu.
From-SVN: r32823
Philipp Thomas [Thu, 30 Mar 2000 00:33:45 +0000 (00:33 +0000)]
* POTFILES.in: Remove config/rs6000/cygwin.h
From-SVN: r32822
Geoff Keating [Thu, 30 Mar 2000 00:03:14 +0000 (00:03 +0000)]
c-common.c (c_common_nodes_and_builtins): The first parameter to __builtin_va_start and __builtin_va_copy is now either a...
* c-common.c (c_common_nodes_and_builtins): The first parameter to
__builtin_va_start and __builtin_va_copy is now either a 'va_list'
or a reference to a va_list.
* builtins.c (stabilize_va_list): Simplify now we don't have to
work around C array address decay.
* c-typeck.c (convert_for_assignment): Handle assignment to
a reference parameter by taking the address of the RHS.
* ginclude/stdarg.h (va_start): Don't take address of first parameter.
(va_copy): Likewise.
(__va_copy): Likewise.
* ginclude/varargs.h (va_start): Likewise.
(__va_copy): Likewise.
From-SVN: r32821
Jeffrey A Law [Wed, 29 Mar 2000 22:48:25 +0000 (22:48 +0000)]
* stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
From-SVN: r32820
Jeffrey A Law [Wed, 29 Mar 2000 22:46:03 +0000 (22:46 +0000)]
* calls.c (expand_call): Fix typo.
From-SVN: r32819
Jason Merrill [Wed, 29 Mar 2000 20:56:57 +0000 (15:56 -0500)]
up
From-SVN: r32818
Jason Merrill [Wed, 29 Mar 2000 20:56:14 +0000 (15:56 -0500)]
add ATTRIBUTE_UNUSED
From-SVN: r32817
Nick Clifton [Wed, 29 Mar 2000 20:49:42 +0000 (20:49 +0000)]
Undo effects of previous delta.
Undo effects of previous delta. Do not define ASM_SPEC and SUBTARGET_EXTRA_ASM_SPEC
oin arm.h as it conflicts with builds for non GAS using targets
From-SVN: r32816
Jeffrey A Law [Wed, 29 Mar 2000 20:48:06 +0000 (20:48 +0000)]
* gcc.c-torture/compile/
20000329-1.c: New test.
From-SVN: r32815
Jason Merrill [Wed, 29 Mar 2000 20:40:37 +0000 (20:40 +0000)]
tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't been expanded.
* tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
been expanded.
From-SVN: r32814
Richard Kenner [Wed, 29 Mar 2000 20:34:34 +0000 (20:34 +0000)]
stor-layout.c (bit_from_pos, [...]): New functions.
* stor-layout.c (bit_from_pos, byte_from_pos): New functions.
(pos_from_byte, pos_from_bit, normalize_offset): Likewise.
(normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
* tree.c (bit_position, byte_position): Likewise.
* tree.h: Declare new functions.
From-SVN: r32813
Zack Weinberg [Wed, 29 Mar 2000 20:19:06 +0000 (20:19 +0000)]
Protocol.h, [...]: Change #endif labels to comments.
* objc/Protocol.h, objc/objc-list.h: Change #endif labels to
comments.
From-SVN: r32812
Nick Clifton [Wed, 29 Mar 2000 19:15:36 +0000 (19:15 +0000)]
Minor formatting changes.
Add definitions of ASM_SPEC and SUBTARGET_EXTRA_ASM_SPEC to arm.h if not
already defined.
From-SVN: r32810
Zack Weinberg [Wed, 29 Mar 2000 19:04:54 +0000 (19:04 +0000)]
hashtab.c (htab_find_with_hash): Avoid calculating hash2 unless it will be used.
* hashtab.c (htab_find_with_hash): Avoid calculating hash2
unless it will be used. Rearrange loop for better
optimization.
(higher_prime_number): Add static prototype.
From-SVN: r32809
Zack Weinberg [Wed, 29 Mar 2000 19:02:40 +0000 (19:02 +0000)]
cppfiles.c (cpp_read_file): Don't pass zero-length string to _cpp_calc_hash.
* cppfiles.c (cpp_read_file): Don't pass zero-length string to
_cpp_calc_hash.
From-SVN: r32808
Jakub Jelinek [Wed, 29 Mar 2000 18:32:04 +0000 (20:32 +0200)]
dwarf2out.c (gen_enumeration_type_die): If enum has a negative value, don't output it as unsigned.
* dwarf2out.c (gen_enumeration_type_die): If enum has a negative
value, don't output it as unsigned.
From-SVN: r32807
Jeffrey A Law [Wed, 29 Mar 2000 17:54:37 +0000 (17:54 +0000)]
* stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
From-SVN: r32806
Kaveh R. Ghazi [Wed, 29 Mar 2000 16:24:07 +0000 (16:24 +0000)]
c-common.c (c_common_nodes_and_builtins): Don't special case cplus_mode when declaring builtin bzero/bcmp...
* c-common.c (c_common_nodes_and_builtins): Don't special case
cplus_mode when declaring builtin bzero/bcmp, always avoid
prototype arguments.
From-SVN: r32805
Bruce Korb [Wed, 29 Mar 2000 14:19:58 +0000 (14:19 +0000)]
Initially set the variable "fixincludes" to a non-file
From-SVN: r32804
Jan Hubicka [Wed, 29 Mar 2000 13:10:44 +0000 (13:10 +0000)]
Convert ACCUMULATE_OUTGOING_ARGS to an expression.
* calls.c (PUSH_ARGS_REVERSED) Change to expression.
(ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
(struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
(save_fixed_argument_area, restore_fixed_argument_area):
conditionize by #ifdef REG_PARM_STACK_SPACE only.
(emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
(precompute_register_parameters): Avoid #ifdefs on
ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
(stire_one_args): Likewise.
(expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
(emit_library_call_value_1): Likewise.
(compute_argument_block_size): Align to STACK_BOUNDARY only for
ACCUMULATE_OUTGOING_ARGS.
* combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
value.
(nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
(use_crosses_set_p): Likewise.
* all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
#define ACCUMULATE_OUTGOING_ARGS 1.
* i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
frames.
* i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
constants.
(TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
(TARGET_SWITCHES): Add push-args, no-push-args,
accumulate-outgoing-args and no-accumulate-outgoing-args.
(ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
* expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
(push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
and PUSH_ROUNDING.
(emit_push_insn): Likewise.
* final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
(final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
* function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
(STACK_DYNAMIC_OFFSET): Define correctly for both
ACCUMULATE_OUTGOING_ARGS and normal mode.
* invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
* tm.texi (PUSH_ARGS): Document.
(ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
From-SVN: r32803
Jan Hubicka [Wed, 29 Mar 2000 09:54:31 +0000 (09:54 +0000)]
flags.h (flag_optimize_sibling_calls): Declare.
* flags.h (flag_optimize_sibling_calls): Declare.
* calls.c (expand_call): Fail sibcall when
!flag_optimize_sibling_calls
* invoke.texi (flag_optimize_sibling_calls): Document.
* toplev.c (flag_optimize_sibling_calls): New global variable.
(f_options): Add flag_optimize_sibling_calls.
(rest_of_compilation): Conditionize
optimize_sibling_and_tail_recursive_calls by
flag_optimize_sibling_calls.
(main): Set flag_optimize_sibling_calls for -O2.
* stmt.c (expand_return): Conditionize tail recursion by
flag_optimize_sibling_calls.
From-SVN: r32802
Richard Henderson [Wed, 29 Mar 2000 08:54:15 +0000 (00:54 -0800)]
att.h (LOCAL_LABEL_PREFIX): Define.
* config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
(ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
From-SVN: r32801
Jeff Law [Wed, 29 Mar 2000 08:45:06 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r32800
Nathan Sidwell [Wed, 29 Mar 2000 08:22:21 +0000 (08:22 +0000)]
except.c (add_eh_table_entry): Mark type_info's as referenced.
gcc:
* except.c (add_eh_table_entry): Mark type_info's as referenced.
gcc/cp:
* rtti.c (get_tinfo_decl): Mark used.
(emit_tinfo_decl): Don't optimize polymorphic type_info. Only
mark as dealt with, if we output it.
From-SVN: r32799
Mark Mitchell [Wed, 29 Mar 2000 07:36:39 +0000 (07:36 +0000)]
class.c: Reorganize to put virtual function table initialization machinery at the end of...
* class.c: Reorganize to put virtual function table initialization
machinery at the end of the file.
From-SVN: r32798
Alexandre Oliva [Wed, 29 Mar 2000 04:06:13 +0000 (04:06 +0000)]
aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi is given.
* config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
is given.
* config/rs6000/aix43.h (CPP_SPEC): Likewise.
* config/rs6000/rs6000.h (CPP_SPEC): Moved to...
* config/rs6000/aix.h: then modified likewise.
From-SVN: r32797
Bryce McKinlay [Wed, 29 Mar 2000 02:08:59 +0000 (02:08 +0000)]
Test case for PR libgcj/184:
* libjava.lang/pr184.java: New file.
* libjava.lang/pr184.out: New file.
From-SVN: r32796
Richard Henderson [Wed, 29 Mar 2000 01:56:04 +0000 (17:56 -0800)]
rtl.h: Redistribute enum reg_note documentation.
* rtl.h: Redistribute enum reg_note documentation.
Kill trailing whitespace.
* rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
Kill trailing whitespace.
From-SVN: r32795
Jason Merrill [Wed, 29 Mar 2000 00:58:46 +0000 (19:58 -0500)]
class.c (finish_struct): Use bitsize_zero_node.
* class.c (finish_struct): Use bitsize_zero_node.
* pt.c (instantiate_class_template): Likewise.
From-SVN: r32794
Alexandre Petit-Bianco [Tue, 28 Mar 2000 22:35:46 +0000 (22:35 +0000)]
parse-scan.y (pop_class_context): Reset `inner_qualifier_length' when negative *before* using it as an array index.
2000-03-28 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse-scan.y (pop_class_context): Reset `inner_qualifier_length'
when negative *before* using it as an array index.
* ChangeLog: Fixed typo.
(Fixes the following bogus patch:
http://gcc.gnu.org/ml/gcc-patches/2000-03/msg00937.html)
From-SVN: r32793
Zack Weinberg [Tue, 28 Mar 2000 21:45:02 +0000 (21:45 +0000)]
cppfiles.c (hash_IHASH): Just return i->hash.
2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
* cppfiles.c (hash_IHASH): Just return i->hash.
(cpp_included): Set dummy.hash using _cpp_calc_hash. Use
htab_find_with_hash.
(cpp_read_file): Likewise.
(find_include_file): Likewise. Properly initialize
ih->nshort. Share ih->name and ih->nshort if possible.
* cpphash.c (_cpp_calc_hash): New function.
(hash_HASHNODE): Just return h->hash.
(_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
htab_find_with_hash.
* cpphash.h: Prototype _cpp_calc_hash.
* cppinit.c (initialize_builtins): Provide a valid hash
to _cpp_make_hashnode, using _cpp_calc_hash.
* cpphash.c (collect_expansion): # is not a special character
in object-like macros. In -traditional mode, /**/ is not
token paste at the beginning or end of the line.
* cpplib.c (do_include, do_import, do_include_next): If
parse_include fails, return immediately.
From-SVN: r32792
Jan Hubicka [Tue, 28 Mar 2000 21:03:37 +0000 (23:03 +0200)]
sibcall.c (indentify_call_return_value): Find last call in the chain; Allow stack adjustment after function call.
* sibcall.c (indentify_call_return_value): Find last call in the chain;
Allow stack adjustment after function call.
From-SVN: r32791
Franz Sirl [Tue, 28 Mar 2000 20:37:45 +0000 (20:37 +0000)]
com.c (ffecom_decl_field): Use DECL_ALIGN for a FIELD_DECL.
* com.c (ffecom_decl_field): Use DECL_ALIGN for a FIELD_DECL.
(ffecom_init_0): Likewise.
From-SVN: r32790
Zack Weinberg [Tue, 28 Mar 2000 20:01:13 +0000 (20:01 +0000)]
Fix thinko in original version
From-SVN: r32789
Jason Merrill [Tue, 28 Mar 2000 19:42:28 +0000 (19:42 +0000)]
arm.md (return peepholes): Update to reflect the new call insn patterns.
* config/arm/arm.md (return peepholes): Update to reflect the new
call insn patterns.
* config/arm/arm.c (arm_volatile_func): Also check
current_function_nothrow.
(output_return_instruction, output_func_prologue): Use it.
(arm_output_epilogue, arm_expand_prologue): Likewise.
From-SVN: r32788
Mark Mitchell [Tue, 28 Mar 2000 19:27:15 +0000 (19:27 +0000)]
Put RTTI entries at negative offsets in new ABI.
* class.c (dfs_build_vbase_offset_vtbl_entries): Put the first
vbase offset at index -3, not -1.
(build_vtabe_offset_vtbl_entries): Use unmarked_vtable_pathp, not
dfs_vtable_path_unmarked_real_bases_queue_p to walk bases.
(dfs_build_vcall_offset_vtbl_entries): Don't use skip_rtti_stuff.
(build_rtti_vtbl_entries): New function.
(set_rtti_entry): Remove.
(build_primary_vtable): Don't use it.
(build_secondary_vtable): Likewise.
(start_vtable): Remove.
(first_vfun_index): New function.
(set_vindex): Likewise.
(add_virtual_function): Don't call start_vtable. Do call
set_vindex.
(set_primary_base): Rename parameter.
(determine_primary_base): Likewise.
(num_vfun_entries): Don't use skip_rtti_stuff.
(num_extra_vtbl_entries): Include RTTI information.
(build_vtbl_initializer): Use build_rtti_vtbl_entries.
(skip_rtti_stuff): Remove.
(dfs_modify_vtables): Don't use it.
(modify_all_vtables): Don't use start_vtable. Do use set_vindex.
(layout_nonempty_base_or_field): Update size handling.
(create_vtable_ptr): Tweak.
(layout_class_type): Adjust parameter names.
(finish_struct_1): Simplify.
* cp-tree.h (CLASSTYPE_VSIZE): Tweak documentation.
(skip_rtti_stuff): Remove.
(first_vfun_index): New function.
(dfs_vtable_path_unmarked_real_bases_queue_p): Remove.
(dfs_vtable_path_marked_real_bases_queue_p): Remove.
(marked_vtable_pathp): Declare.
(unmarked_vtable_pathp): Likewise.
* error.c (dump_expr): Use first_vfun_index to calculate vtable
offsets.
* rtti.c (build_headof): Look for RTTI at negative offsets.
(get_tinfo_decl_dynamic): Likewise.
(tinfo_base_init): Don't take the address of the TINFO_VTABLE_DECL
here.
(create_pseudo_type_info): Do it here instead. Adjust so that
vptr points at first virtual function.
* search.c (marked_vtable_pathp): Make it global.
(unmarked_vtable_pathp): Likewise.
(dfs_vtable_path_unmarked_real_bases_queue_p): Remove.
(dfs_vtable_path_marked_real_bases_queue_p): Likewise.
(dfs_get_pure_virtuals): Don't use skip_rtti_stuff.
(get_pure_virtuals): Likewise.
(expand_upcast_fixups): Likewise.
* tree.c (debug_binfo): Likewise.
* tinfo.cc (__dynamic_cast): Look for vtable_prefix at appropriate
negative offset.
From-SVN: r32787
Mark Mitchell [Tue, 28 Mar 2000 19:24:00 +0000 (19:24 +0000)]
New test case
From-SVN: r32786
Zack Weinberg [Tue, 28 Mar 2000 19:20:29 +0000 (19:20 +0000)]
New test cases
From-SVN: r32785
Tom Tromey [Tue, 28 Mar 2000 18:06:15 +0000 (18:06 +0000)]
gcc.c (handle_braces): In {x*...} case, break out of loop if switch is found.
* gcc.c (handle_braces): In {x*...} case, break out of loop if
switch is found.
From-SVN: r32784
Richard Kenner [Tue, 28 Mar 2000 17:01:49 +0000 (17:01 +0000)]
expr.c (store_constructor): SIZE now signed.
* expr.c (store_constructor): SIZE now signed.
For EXPR_SIZE, don't evaluate size; just needed if constant.
* fold-const.c (fold): Fix a number of cases when folded tree is
wrong type.
* function.c (flush_addressof): Reenable.
* tree.h (flush_addressof): Likewise.
* toplev.c (independent_decode_option): Look at strings_processed.
* config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
From-SVN: r32783
Jan Hubicka [Tue, 28 Mar 2000 15:41:40 +0000 (17:41 +0200)]
regmove.c (struct csa_memlist): Make mem field rtx *.
* regmove.c (struct csa_memlist): Make mem field rtx *.
(record_one_stack_ref): Accept rtx * instead of rtx as parameter.
(try_apply_stack_adjustment): Replace whole MEM rtx.
(combine_stack_adjustments_for_block): Update calls
to record_one_stack_ref.
From-SVN: r32782
Neil Booth [Tue, 28 Mar 2000 12:00:39 +0000 (12:00 +0000)]
2000-03-28 Neil Booth <NeilB@earthling.net>
* (cpplex.c) _cpp_read_and_prescan. Mark end of input buffer with
'\\' rather than a null character, so nulls are not special. Fix
"\\\n" handling in end-of-buffer conditions. Use trigraph map to
speed trigraph conversion.
(_cpp_init_input_buffer) Initialize trigraph map.
From-SVN: r32781
Jeff Law [Tue, 28 Mar 2000 08:45:06 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r32780
Alexandre Petit-Bianco [Tue, 28 Mar 2000 08:33:45 +0000 (08:33 +0000)]
[multiple changes]
2000-03-28 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse-scan.y (pop_class_context): Reset `inner_qualifier_length'
to 0 when it reaches -1.
2000-03-27 Alexandre Petit-Bianco <apbianco@cygnus.com>
* jcf-parse.c (get_constant): Properly cast `num' during the
invocation of `add_double call'.
* jcf-write.c (push_long_const): Properly cast `lo' before
comparing it to short bounds.
* parse-scan.y (interface_declaration:): Rule re-arrange so that
`interface_body:' is reduced after the current interface is
pushed.
2000-02-28 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse-scan.y (inner_qualifier, inner_qualifier_length): New
static globals.
(push_class_context, pop_class_context): New function.
(class_body:): Call pop_class_context.
(interface_body:): Likewise.
(INNER_QUALIFIER): New macro.
(report_class_declaration): Changed output format and use
INNER_QUALIFIER. Call push_class_context.
From-SVN: r32779
Alan Modra [Tue, 28 Mar 2000 06:10:09 +0000 (22:10 -0800)]
Alan Modra <alan@linuxcare.com.au>
* config/i386/i386.c (output_387_binary_op): Correct intel
mode assembly output, and add spaces after commas in AT&T
output. Correct Unixware assembler comment. Document input
constraints. Comment fp operations. Reduce profligate buffer
size. Remove extraneous abort. Localize temp var.
(SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
(output_fix_trunc): Add spaces after commas in assembly output.
From-SVN: r32778
Richard Henderson [Tue, 28 Mar 2000 05:58:50 +0000 (21:58 -0800)]
Add CCZmode.
From-SVN: r32777