OSDN Git Service
rth [Wed, 5 Apr 2000 01:06:14 +0000 (01:06 +0000)]
* calls.c (try_to_integrate): Initialize reg_parm_stack_space.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32917
138bc75d-0d04-0410-961f-
82ee72b054a4
scox [Wed, 5 Apr 2000 00:32:45 +0000 (00:32 +0000)]
* Makefile.in: Add rules for regrename.o
* regrename.c: New file.
* rtl.h (regrename_optimize): Add prototype.
* toplev.c (rename_registers_dump, flag_rename_registers): New variables
(compile_file, decode_d_option): Add support for -frename-registers.
(rest_of_compilation): Call regrename_optimize.
* config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
New macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32916
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Tue, 4 Apr 2000 22:54:44 +0000 (22:54 +0000)]
* Makefile (gccbug): New target.
(doc): Depend on it.
* gcc.texi (Bugs): Link subnodes.
(gccbug): New node.
* gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
Document severities, priorities, and classes in bug form.
* ChangeLog: Replace leading spaces with tabs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32915
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 4 Apr 2000 21:49:49 +0000 (21:49 +0000)]
* gcc.dg/cast-qual-1.c: Revert last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32914
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 4 Apr 2000 21:23:10 +0000 (21:23 +0000)]
* dbxout.c (CONTIN): If it doesn't have to do anything, give it a
definition that doesn't provoke the "empty body in an
if-statement" warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32913
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 4 Apr 2000 21:17:20 +0000 (21:17 +0000)]
* cpplex.c (trigraph_map, speccase): Combine into single
table, chartab.
(NORMAL, NONTRI): New macros.
(_cpp_read_and_prescan): Change to use unified table. Use
is_hspace to test for whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32912
138bc75d-0d04-0410-961f-
82ee72b054a4
cpopetz [Tue, 4 Apr 2000 21:10:43 +0000 (21:10 +0000)]
* builtins.c (expand_builtin_strlen): Force the source to
be a memory address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32911
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 4 Apr 2000 21:07:17 +0000 (21:07 +0000)]
2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32910
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 4 Apr 2000 20:46:23 +0000 (20:46 +0000)]
* cfns.gperf (hash, libc_name_p): Prototype.
* rtti.c (build_dynamic_cast_1): Constification.
* search.c (dfs_debug_unmarkedp, dfs_debug_mark): Unhide prototypes.
* semantics.c (deferred_type_access_control): Prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32909
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 4 Apr 2000 20:40:20 +0000 (20:40 +0000)]
* boehm.c (mark_reference_fields, set_bit): Prototype.
(set_bit): Un-ANSI-fy definition.
* class.c (init_test_hash_newfunc, decl_hash, decl_compare):
Prototype.
* decl.c (emit_init_test_initialization): Likewise.
* gjavah.c (jni_print_char): Likewise.
* parse.y (create_new_parser_context): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32908
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 4 Apr 2000 19:56:20 +0000 (19:56 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added AWTException.java.
* java/awt/AWTException.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32907
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Tue, 4 Apr 2000 18:22:01 +0000 (18:22 +0000)]
Top level:
2000-04-04 Alexandre Petit-Bianco <apbianco@cygnus.com>
* configure.in: (i[3456]86-*-solaris2*): Removed `target-libffi'
from list. Patch proposed by Anthony Green.
Libffi:
2000-04-04 Alexandre Petit-Bianco <apbianco@cygnus.com>
* configure: Rebuilt.
* configure.in: (i*86-*-solaris*): New libffi target. Patch
proposed by Bryce McKinlay.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32906
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 4 Apr 2000 18:13:22 +0000 (18:13 +0000)]
Correct many new ABI issues regarding vbase and vcall offset
layout.
* cp-tree.h (BINFO_VTABLE): Document.
(struct lang_type): Tweak formatting.
(BINFO_PRIMARY_BINFO): Add to documentation.
(CLASSTYPE_VSIZE): Fix typo in comment.
(CLASSTYPE_VBASECLASSES): Update documentation.
(BINFO_VBASE_MARKED): Remove.
(SET_BINFO_VBASE_MARKED): Likewise.
(CLEAR_BINFO_VBASE_MARKED): Likewise.
(BINFO_FIELDS_MARKED): Remove.
(SET_BINFO_FIELDS_MARKED): Likewise.
(CLEAR_BINFO_FIELDS_MARKED): Likewise.
(enum access_kind): New enumeration.
(num_extra_vtbl_entries): Remove declaration.
(size_extra_vtbl_entries): Likewise.
(get_vtbl_decl_for_binfo): New function.
(dfs_vbase_unmark): Remove declaration.
(mark_primary_bases): Likewise.
* class.c (SAME_FN): Remove.
(struct vcall_offset_data_s): Move definition.
(build_vbase_pointer): Use `build', not `build_binary_op', to
access the vbase pointer under the new ABI.
(build_vtable_entry_ref): Use get_vtbl_decl_for_binfo.
(build_primary_vtable): Likewise.
(dfs_mark_primary_bases): Move here from search.c.
(mark_primary_bases): Likewise.
(determine_primary_bases): Under the new ABI, don't make a base
class a primary base just because we don't yet have any virtual
functions.
(layout_vtable_decl): Use get_vtbl_decl_for_binfo.
(num_vfun_entries): Remove.
(dfs_count_virtuals): Likewise.
(num_extra_vtbl_entries): Likewise.
(size_extra_vtbl_entries): Likewise.
(layout_virtual_bases): Iterate in inheritance graph order under
the new ABI.
(finish_struct_1): Use TYPE_VFIELD, not CLASSTYPE_VSIZE, to
indicate that a vfield is present.
(init_class_processing): Initialize access_public_node, etc., from
ak_public, etc.
(get_vtbl_decl_for_binfo): New function.
(dump_class_hierarchy_r): Likewise.
(dump_class_hierarchy): Use it.
(finish_vtbls): Build the vtbls in inheritance graph order.
(dfs_finish_vtbls): Adjust call to build_vtbl_initializer.
(initialize_vtable): Use get_vtbl_decl_for_binfo.
(accumulate_vtbl_inits): Add comments explaining why a pre-order
walk is required.
(dfs_accumulate_vtbl_inits): Set BINFO_VTABLE to the location
where the vptr points, even for primary vtables.
(build_vtbl_initializer): Adjust handling of vbase and vcall
offsets.
(build_vcall_and_vbase_vtable_entries): New function.
(dfs_build_vbase_offset_vtbl_entries): Remove.
(build_vbase_offset_vtbl_entries): Reimplement.
(dfs_build_vcall_offset_vtbl_entries): Don't include virtuals that
were already handled in a primary base class vtable.
(build_vcall_offset_vtbl_entries): Adjust.
(build_rtti_vtbl_entries): Adjust.
* decl2.c (output_vtable_inherit): Use get_vtbl_decl_for_binfo.
* init.c (expand_virtual_init): Simplify.
* repo.c (repo_get_id): Use get_vtbl_decl_for_binfo.
* rtti.c (create_pseudo_type_info): Adjust calculation of vptr.
* search.c (BINFO_ACCESS): New macro.
(SET_BINFO_ACCESS): Likewise.
(dfs_access_in_type): Manipulate access_kinds, not access nodes.
(access_in_type): Likewise.
(dfs_accessible_p): Likewise.
(protected_accessible_p): Likewise.
(lookup_fnfields_1): Adjust documentation.
(dfs_mark_primary_bases): Move to class.c
(mark_primary_bases): Likewise.
(dfs_vbase_unmark): Remove.
(virtual_context): Use BINFO_FOR_VBASE.
(dfs_get_vbase_types): Simplify.
(dfs_build_inheritance_graph_order): New function.
(get_vbase_types): Use it.
* tree.c (debug_binfo): Use get_vtbl_decl_for_binfo.
* tinfo.cc (get_vbase_offset): New function.
(__vmi_class_type_info::do_find_public_src): Use it.
(__vmi_class_type_info::do_dyncast): Likewise.
(__vmi_class_type_info::do_upcast): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32905
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 4 Apr 2000 17:19:30 +0000 (17:19 +0000)]
* calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
(ECF_IS_CONST): Rename to ECF_CONST.
(special_function_p): Make static, change interface.
(flags_from_decl_or_type, try_to_integrate): Break out from ...
(expand_call) ... here; convert number of variables to flags.
(emit_library_call_vlue_1): Likewise.
(setjmp_call_p): New function.
(initialize_argument_information): Accepts flags as argument;
return flags.
(precompute_arguments): Likewise.
* tree.h (special_function_p): Remove.
(setjmp_call_p): Add prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32904
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 4 Apr 2000 15:13:11 +0000 (15:13 +0000)]
* gcc.dg/cast-qual-1.c: Check casts through a pointer typedef.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32903
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Tue, 4 Apr 2000 12:45:36 +0000 (12:45 +0000)]
* execute/
20000403-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32902
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 4 Apr 2000 10:13:26 +0000 (10:13 +0000)]
* config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
(movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
(movsf): Don't force any constant to memory if target is integer
hard register.
Move fp_zero_operand check below the const0_rtx check.
(movtf): Likewise. Also allow fp_zero_operand for stores into
memory.
(movdf): Likewise. Also allow fp_zero_operand for stores into
memory and into integer hard registers.
(clear_df, clear_dfp, movdf_const_intreg_sp32,
movdf_const_intreg_sp64): Remove.
(movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
conditions.
(movdf_no_e_insn_v9_sp32): New pattern.
(movdf_insn_v9only): Remove.
(movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
(movdf_insn_sp64): Remove.
(movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
(movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
(following splits): Rewrite conditions. Add two new splits
for storing 0.0 into memory and registers.
(clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
(movtf_insn_sp32): Redo constraints and conditions.
(movtf_insn_vis_sp32): New pattern.
(movtf_no_e_insn_sp32): Redo constraints and conditions.
(movtf_insn_hq_sp64): Likewise.
(movtf_insn_hq_vis_sp64): New pattern.
(movtf_insn_sp64): Redo constraints and conditions.
(movtf_insn_vis_sp64): New pattern.
(movtf_no_e_insn_sp64): Redo constraints and conditions.
(movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
or memory.
* config/sparc/sparc.c (sparc_override_options): Assume v9 if either
-mvis or -m64 to take down the number of various reload patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32901
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 4 Apr 2000 10:09:09 +0000 (10:09 +0000)]
* config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
so that addresses are offsetable by up to 16 bytes.
(GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
offsetable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32900
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 4 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32899
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 4 Apr 2000 06:42:40 +0000 (06:42 +0000)]
* pa/pa-64.h: New file.
* pa/pa64-regs.h: New file.
* pa/pa64-start.h: New file.
* pa/t-pa64: New file.
* pa/xm-pa64hpux.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32898
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 4 Apr 2000 02:24:50 +0000 (02:24 +0000)]
* sparc.c (output_restore_regs): Prototype.
(sparc_emit_float_lib_cmp): Constification.
* emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
* reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
Prototype.
* simplify-rtx.c (entry_and_rtx_equal_p): Constification.
(get_value_hash, hash_rtx): Likewise.
* ssa.c (compute_conservative_reg_partition): Prototype.
* tree.c (mark_hash_entry): Prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32896
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 4 Apr 2000 01:44:12 +0000 (01:44 +0000)]
Update regexps for modified error messages
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32895
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 3 Apr 2000 23:36:49 +0000 (23:36 +0000)]
* include/jvm.h (_Jv_GetArrayElementFromElementType): More
commentary from Alex.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32894
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 3 Apr 2000 23:25:07 +0000 (23:25 +0000)]
* bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
* i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
* i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32893
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 3 Apr 2000 23:16:10 +0000 (23:16 +0000)]
Should have been committed with previous batch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32892
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 3 Apr 2000 23:03:20 +0000 (23:03 +0000)]
* gcc.c (C specs): Pass -f(no-)show-column to the
preprocessor.
* ch/lang-specs.h, cp/lang-specs.h, f/lang-specs.h,
objc/lang-specs.h: Likewise.
* gcc.dg/cpp-redef-2.c, gcc.dg/cpp-tradwarn1.c,
gcc.dg/cpp-unc.c: Add -fno-show-column to compiler options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32891
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 3 Apr 2000 22:33:12 +0000 (22:33 +0000)]
* cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
and SYNTAX_ERROR2. Replace `' in messages with ''.
(op_to_str): Make re-entrant.
(_cpp_parse_expr): Implement new error macros. Use | rather
than || to logically or 2 boolean integers. Simply expression
checking we have a left operand iff needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32890
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Mon, 3 Apr 2000 21:29:03 +0000 (21:29 +0000)]
* execute/
20000402-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32889
138bc75d-0d04-0410-961f-
82ee72b054a4
dlindsay [Mon, 3 Apr 2000 21:11:27 +0000 (21:11 +0000)]
log entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32888
138bc75d-0d04-0410-961f-
82ee72b054a4
dlindsay [Mon, 3 Apr 2000 21:05:03 +0000 (21:05 +0000)]
More va-arg variations. OKed by Jeff Law.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32887
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 3 Apr 2000 19:30:12 +0000 (19:30 +0000)]
Add dependency of 'diagnostic.o' on 'diagnostic.c'
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32886
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 3 Apr 2000 18:07:45 +0000 (18:07 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am ($(javao_files)): Depend on libgcj.zip.
From H.J. Lu.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32885
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 3 Apr 2000 17:19:15 +0000 (17:19 +0000)]
Apply Philip Blundell's patch to fix typos in SUBTARGET_EXTRA_LINK_SPEC
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32882
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 3 Apr 2000 09:04:42 +0000 (09:04 +0000)]
* gcc.c-torture/compile/
20000403-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32881
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 3 Apr 2000 08:35:44 +0000 (08:35 +0000)]
* gcc.c-torture/compile/
20000403-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32880
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 3 Apr 2000 07:43:51 +0000 (07:43 +0000)]
* fixinc/server.c (find_shell): New function. Avoid $SHELL.
(run_shell): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32878
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 3 Apr 2000 07:41:25 +0000 (07:41 +0000)]
* Makefile.in (stmp-int-hdrs): Make include subdir here...
(stmp-fixproto): ...rather than here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32877
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 3 Apr 2000 07:21:06 +0000 (07:21 +0000)]
* basicio.c (PATH_MAX): Always provide a definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32876
138bc75d-0d04-0410-961f-
82ee72b054a4
law [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32875
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 3 Apr 2000 06:17:03 +0000 (06:17 +0000)]
* stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
CEIL_DIV_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32874
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 3 Apr 2000 06:08:44 +0000 (06:08 +0000)]
* i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32873
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 3 Apr 2000 06:04:36 +0000 (06:04 +0000)]
* Makefile.in: Have alias.o depend on $(TREE_H).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32872
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 2 Apr 2000 22:51:55 +0000 (22:51 +0000)]
* configure.in: Indent the # of #include_next one space.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32871
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 2 Apr 2000 22:50:55 +0000 (22:50 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32870
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 2 Apr 2000 22:12:14 +0000 (22:12 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32869
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sun, 2 Apr 2000 15:41:00 +0000 (15:41 +0000)]
Forgot to add this file before...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32868
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sun, 2 Apr 2000 15:36:43 +0000 (15:36 +0000)]
2000-03-26 Anthony Green <green@redhat.com>
* misc.c (GC_enable): Always define GC_enable and GC_disable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32867
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32866
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sun, 2 Apr 2000 09:19:17 +0000 (09:19 +0000)]
* config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
before checking MUST_PASS_IN_STACK.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32865
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 2 Apr 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32864
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 2 Apr 2000 08:27:23 +0000 (08:27 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32863
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32862
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32861
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 1 Apr 2000 22:55:25 +0000 (22:55 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32860
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 1 Apr 2000 22:45:01 +0000 (22:45 +0000)]
Add dg-do tag
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32859
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 1 Apr 2000 22:02:31 +0000 (22:02 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32858
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 1 Apr 2000 19:07:05 +0000 (19:07 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32857
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 1 Apr 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32856
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 1 Apr 2000 07:48:59 +0000 (07:48 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32855
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 1 Apr 2000 07:42:37 +0000 (07:42 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32854
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Sat, 1 Apr 2000 01:37:44 +0000 (01:37 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32853
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Sat, 1 Apr 2000 00:19:13 +0000 (00:19 +0000)]
Fixed email address typo in Thu Mar 30, 2000 ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32852
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32851
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 31 Mar 2000 23:16:11 +0000 (23:16 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32850
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 31 Mar 2000 22:28:33 +0000 (22:28 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32849
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 31 Mar 2000 22:23:59 +0000 (22:23 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32848
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 31 Mar 2000 16:24:30 +0000 (16:24 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32845
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 31 Mar 2000 08:57:54 +0000 (08:57 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32844
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 31 Mar 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32843
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 31 Mar 2000 07:04:37 +0000 (07:04 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32842
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 31 Mar 2000 04:48:39 +0000 (04:48 +0000)]
* alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32841
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
* objc-parse.c, objc-parse.y: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32840
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Thu, 30 Mar 2000 23:41:57 +0000 (23:41 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32839
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 30 Mar 2000 22:31:37 +0000 (22:31 +0000)]
* configure.in: Comment out --enable-c-cpplib stanza.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32838
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32837
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 30 Mar 2000 21:46:37 +0000 (21:46 +0000)]
* expmed.c (store_bit_field, store_fixed_bit_field): Fix more
cases of alignment in bytes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32836
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32835
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 30 Mar 2000 19:49:14 +0000 (19:49 +0000)]
added entry for patch that removed ASM_SPEC from config/arm/arm.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32833
138bc75d-0d04-0410-961f-
82ee72b054a4
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 HOST_WORDS_BIG_ENDIAN disagree.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32832
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 30 Mar 2000 18:17:19 +0000 (18:17 +0000)]
* expr.c (move_by_pieces_ninsns): Fix one more missing align
correction.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32831
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 30 Mar 2000 14:12:28 +0000 (14:12 +0000)]
* expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32830
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 30 Mar 2000 13:46:05 +0000 (13:46 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32829
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 30 Mar 2000 12:08:26 +0000 (12:08 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32828
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 30 Mar 2000 11:47:08 +0000 (11:47 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32827
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 Mar 2000 08:45:09 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32826
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32825
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 Mar 2000 02:19:19 +0000 (02:19 +0000)]
* i386/djgpp.h: Remove extraneous "+".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32824
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 30 Mar 2000 02:11:39 +0000 (02:11 +0000)]
* configure.in: -linux-gnu*, not -linux-gnu.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32823
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 Mar 2000 00:33:45 +0000 (00:33 +0000)]
* POTFILES.in: Remove config/rs6000/cygwin.h
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32822
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [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 '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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32821
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 29 Mar 2000 22:48:25 +0000 (22:48 +0000)]
* stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32820
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 29 Mar 2000 22:46:03 +0000 (22:46 +0000)]
* calls.c (expand_call): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32819
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 29 Mar 2000 20:56:57 +0000 (20:56 +0000)]
up
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32818
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 29 Mar 2000 20:56:14 +0000 (20:56 +0000)]
add ATTRIBUTE_UNUSED
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32817
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 29 Mar 2000 20:49:42 +0000 (20:49 +0000)]
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32816
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 29 Mar 2000 20:48:06 +0000 (20:48 +0000)]
* gcc.c-torture/compile/
20000329-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32815
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32814
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 29 Mar 2000 20:34:34 +0000 (20:34 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32813
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Wed, 29 Mar 2000 20:19:06 +0000 (20:19 +0000)]
* objc/Protocol.h, objc/objc-list.h: Change #endif labels to
comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32812
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32810
138bc75d-0d04-0410-961f-
82ee72b054a4