OSDN Git Service
law [Wed, 14 Jun 2000 16:38:54 +0000 (16:38 +0000)]
Thinko in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34551
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 14 Jun 2000 16:35:16 +0000 (16:35 +0000)]
* gcc.c (main): Quiet compiler warnings. argv is assumed to be
writable in parts of the GCC code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34550
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 14 Jun 2000 16:10:14 +0000 (16:10 +0000)]
* cp-tree.h (BINFO_OVERRIDE_ALONG_VIRTUAL_PATH): New macro.
* class.c (dfs_find_final_overrider): Set it appropriately.
(dfs_built_vtt_inits): Check BINFO_OVERRIDE_ALONG_VIRTUAL_PATH to
avoid unneeded secondary vptrs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34549
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 14 Jun 2000 16:08:28 +0000 (16:08 +0000)]
* config/elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf
specification match cast.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34548
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 14 Jun 2000 15:30:12 +0000 (15:30 +0000)]
* configure.in: Revert AC_TYPE_GETGROUPS patch from June 13.
* configure, config.in: Rebuilt.
* sys-protos.h: Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34547
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 14 Jun 2000 15:27:58 +0000 (15:27 +0000)]
* configure.in: Revert AC_TYPE_GETGROUPS patch from June 13.
* configure, config.in: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34546
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 14 Jun 2000 08:59:54 +0000 (08:59 +0000)]
* g++.old-deja/g++.other/eh1.C: New test.
* g++.old-deja/g++.other/type.C: New test.
* g++.old-deja/g++.other/initstring.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34545
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 14 Jun 2000 08:47:38 +0000 (08:47 +0000)]
Add Build don't link which disappeared on the way
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34544
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 14 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34543
138bc75d-0d04-0410-961f-
82ee72b054a4
wehle [Wed, 14 Jun 2000 07:41:57 +0000 (07:41 +0000)]
* ifcvt.c (EDGE_COMPLEX): Move definition ...
* basic-block.h (EDGE_COMPLEX): ... here.
* loop.c (check_dbra_loop): Specify the register when
generating REG_NONNEG notes and don't generate duplicates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34542
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 14 Jun 2000 05:30:09 +0000 (05:30 +0000)]
* tree.h (TYPE_USER_ALIGN, DECL_USER_ALIGN): Define.
(struct tree_type, struct tree_decl): Add user_align member.
* stor-layout.c (layout_decl): Set DECL_USER_ALIGN.
(place_union_field): If BIGGEST_FIELD_ALIGNMENT is defined
and DECL_USER_ALIGN 0, cap alignment to this value.
(place_field): Likewise.
(finalize_type_size): Set TYPE_USER_ALIGN.
(layout_type): Likewise.
(initialize_sizetypes): Likewise.
* c-common.c (decl_attributes): Set TYPE_USER_ALIGN resp.
DECL_USER_ALIGN to 1.
* c-decl.c (duplicate_decls): Set DECL_USER_ALIGN.
(xfer_tag): Set TYPE_USER_ALIGN.
(finish_struct): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
(finish_enum): Likewise.
* stmt.c (expand_decl): Set DECL_USER_ALIGN.
(expand_anon_union_decl): Likewise.
* tree.c (make_node): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
(build_index_type): Set TYPE_USER_ALIGN.
(build_range_type): Likewise.
(build_common_tree_nodes_2): Likewise.
* tm.texi (BIGGEST_FIELD_ALIGNMENT): Document the changed meaning.
ch/:
* decl.c (init_decl_processing): Set TYPE_USER_ALIGN.
(layout_enum): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
* typeck.c (layout_chill_range_type): Set TYPE_USER_ALIGN.
(apply_chill_field_layout): Set DECL_USER_ALIGN.
(layout_chill_struct_type): Set TYPE_USER_ALIGN.
cp/:
* class.c (build_secondary_vtable): Set DECL_USER_ALIGN.
(check_bitfield_decl, check_field_decl): Likewise.
(build_vtbl_or_vbase_field, build_base_field): Likewise.
(layout_class_type): Set DECL_USER_ALIGN resp. CLASSTYPE_USER_ALIGN.
* decl.c (record_unknown_type): Set TYPE_USER_ALIGN.
(xfer_tag, finish_enum): Likewise.
* decl2.c (finish_builtin_type): Likewise.
* init.c (init_init_processing): Likewise.
* pt.c (instantiate_class_template): Likewise.
* rtti.c (get_tinfo_decl, synthesize_tinfo_fn): Set DECL_USER_ALIGN.
* cp-tree.h (struct lang_type): Add user_align member.
(CLASSTYPE_USER_ALIGN): Define.
f/:
* com.c (ffecom_transform_common_): Set DECL_USER_ALIGN.
(ffecom_transform_equiv_, ffecom_decl_field): Likewise.
(ffecom_init_0): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
(duplicate_decls): Set DECL_USER_ALIGN.
java/:
* typeck.c (build_java_array_type): Set TYPE_USER_ALIGN.
* parse.y (java_complete_class): Set DECL_USER_ALIGN.
* parse.c: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34541
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 14 Jun 2000 03:06:30 +0000 (03:06 +0000)]
* configure.in: Use --enable-checking=misc,tree,gc by default if
no --enable-checking option is given and for
--enable-checking=yes.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34540
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 14 Jun 2000 01:16:03 +0000 (01:16 +0000)]
2000-06-13 Steven King <sxking@uswest.net>
* acinclude.m4: Fixup some of the builtin math tests and add tests for
__builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
* acconfig.h: Add entries for fmod*.
2000-06-13 Branko Cibej <branko.cibej@hermes.si>
* bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
Test *_MODFF not *_MODF for modf(float, float*).
(modf(float, float*)): Remove reference to _C_legacy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34539
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 14 Jun 2000 00:12:42 +0000 (00:12 +0000)]
2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
_GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
superset, and already defined at top level.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* docs/17_intro/contribute.html: Plead with people to use -cp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34538
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 14 Jun 2000 00:01:08 +0000 (00:01 +0000)]
2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
_GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
superset, and already defined at top level.
* aclocal.m4: Regenerate.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34537
138bc75d-0d04-0410-961f-
82ee72b054a4
warrenl [Tue, 13 Jun 2000 23:52:00 +0000 (23:52 +0000)]
Fix a stupid typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34536
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 13 Jun 2000 23:48:29 +0000 (23:48 +0000)]
2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
* testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
* testsuite/27_io/filebuf.cc: Changed calls to
fpos<>._M_position() to implicit calls to operator streamoff().
* testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
as not needed. Revert, as part of standard.
* testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
call to numpunct<>._M_init() with overrides of the appropriate
virtual functions.
* testsuite/27_io/stringstream.cc: Removed unnecessary char *
pointers from test01, so no need to call base(), which isn't
guaranteed to be implemented as iterators may themselves be pointers
* testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
_M_position() - use implicit conversion to streamoff instead
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34535
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 13 Jun 2000 23:48:02 +0000 (23:48 +0000)]
2000-06-13 Thomas Holenstein <thomas@hex.ch>
* bits/stl_iterator.h: Added inline to operators == to >=.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34534
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 13 Jun 2000 23:47:37 +0000 (23:47 +0000)]
complain about long long
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34533
138bc75d-0d04-0410-961f-
82ee72b054a4
warrenl [Tue, 13 Jun 2000 23:44:05 +0000 (23:44 +0000)]
Test for PR java.lang/258:
* libjava.lang/Class_1.java: New file.
* libjava.lang/Class_1.out: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34532
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 13 Jun 2000 23:36:19 +0000 (23:36 +0000)]
* libgcc2.c (ia64_throw_helper): Use __builtin_return_address.
(__throw): Don't pass the address of a label.
* config/ia64/ia64.c (ia64_compute_frame_size): Use
current_function_is_leaf.
(ia64_expand_prologue): Likewise. Modify return_address_pointer_rtx
instead of reg_names[RETURN_ADDRESS_REGNUM].
(ia64_init_machine_status): Reset return_address_pointer_rtx.
* config/ia64/ia64.h (RETURN_ADDRESS_POINTER_REGNUM): Rename
from RETURN_ADDRESS_REGNUM. Update all uses.
(RETURN_ADDR_RTX): Use return_address_pointer_rtx; return
zero instead of null on failure.
(ELIMINABLE_REGS): Add ra->b0 elimination.
(CAN_ELIMINATE): Update accordingly.
(INITIAL_ELIMINATION_OFFSET): Likewise.
(REGISTER_NAMES): Use an illegal assembler name for
RETURN_ADDRESS_POINTER_REGNUM.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34531
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 13 Jun 2000 23:19:50 +0000 (23:19 +0000)]
* config/ia64/ia64.h (enum reg_class): Remove FR_INT_REGS, FR_FP_REGS,
GR_AND_FR_INT_REGS, GR_AND_FR_FP_REGS.
(REG_CLASS_NAMES): Likewise.
(REG_CLASS_CONTENTS): Likewise.
(FR_FP_REGNO_P, FR_INT_REGNO_P): Remove.
(HARD_REGNO_MODE_OK): Remove references to them.
(REGNO_REG_CLASS): Likewise.
(REG_CLASS_FROM_LETTER): Likewise.
(CLASS_MAX_NREGS): Likewise.
(REGISTER_MOVE_COST): Likewise.
* config/ia64/ia64.c (ia64_secondary_reload_class): Likewise.
* config/ia64/ia64.md (*): Replace "e" constraints with "f".
(movqi_internal): Special case moves from zero.
(movhi_internal, movsi_internal): Likewise.
(movdi_internal): Likewise. Fill out "f" constraints.
(movsf_internal): Fill out "r" constraints.
(movdf_internal): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34530
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 13 Jun 2000 22:23:49 +0000 (22:23 +0000)]
* flow.c (insn_dead_p): Keep sets to PIC_OFFSET_TABLE_REGNUM
alive before reload.
* haifa-sched.c (struct deps): Add in_post_call_group_p.
(add_dependence): Handle notes between SCHED_GROUP_P insns.
(remove_dependence): Always define.
(set_sched_group_p): New.
(sched_analyze_2): Use it.
(sched_analyze_insn): Don't special-case naked uses. Look for
and extend in_post_call_group_p.
(sched_analyze): Clear stale SCHED_GROUP_P. Set in_post_call_group_p.
(init_deps): Clear in_post_call_group_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34529
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 13 Jun 2000 22:20:56 +0000 (22:20 +0000)]
2000-06-13 Brent Verner <brent@rcfile.org>
* bits/streambuf.tcc: repaired _S_copy_streambufs()
* testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34528
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jun 2000 21:49:33 +0000 (21:49 +0000)]
* Make-lang.in (c++.install-common): Install g++-cross in
$(gcc_tooldir)/bin as g++ and c++; g++ in $(bindir) as
$(target_alias)-g++ and $(target_alias)-c++.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34527
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 13 Jun 2000 21:47:44 +0000 (21:47 +0000)]
* combine.c (subst): Use CLASS_CANNOT_CHANGE_MODE and
CLASS_CANNOT_CHANGE_MODE_P instead of CLASS_CANNOT_CHANGE_SIZE
and hard-coded tests.
(simplify_set): Likewise.
(gen_lowpart_for_combine): Likewise.
* emit-rtl.c (gen_lowpart_common): Likewise.
* global.c (find_reg): Likewise.
* local-alloc.c (find_free_reg): Likewise.
* recog.c (register_operand): Likewise.
* regclass.c (init_reg_sets_1): Likewise.
(record_operand_costs, regclass): Likewise.
* reload.c (push_reload): Likewise.
* reload1.c (choose_reload_regs): Likewise.
* flow.c (mark_used_regs): Conditionally set REG_CHANGES_MODE.
* local-alloc.c (struct qty): Rename changes_size to changes_mode.
Update all references.
* regs.h (struct reg_info_def): Likewise.
(REG_CHANGES_MODE): Rename from REG_CHANGES_SIZE.
* tm.texi (CLASS_CANNOT_CHANGE_MODE): Document.
(CLASS_CANNOT_CHANGE_MODE_P): Likewise.
* config/alpha/alpha.h (CLASS_CANNOT_CHANGE_MODE): Rename.
(CLASS_CANNOT_CHANGE_MODE_P): New.
* config/mips/mips.h: Likewise.
* config/pa/pa32-regs.h: Likewise.
* config/pa/pa64-regs.h: Likewise.
* config/rs6000/rs6000.h: Likewise.
* config/sh/sh.h: Likewise.
* config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE): New.
(CLASS_CANNOT_CHANGE_MODE_P): New.
* config/avr/avr.h (CLASS_CANNOT_CHANGE_SIZE): Remove dead code.
* config/d30v/d30v.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34526
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jun 2000 21:31:26 +0000 (21:31 +0000)]
* Make-lang.in (CHILL.install-common): Use $(INSTALL_SCRIPT), not
$(INSTALL_PROGRAM) for chill.install.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34525
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jun 2000 21:28:31 +0000 (21:28 +0000)]
* configure.in: Add AC_TYPE_GETGROUPS test.
* sys-protos.h: Use GETGROUPS_T * for second arg of getgroups.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34524
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 13 Jun 2000 21:16:24 +0000 (21:16 +0000)]
* explow.c (set_mem_attributes): Do nothing for NULL type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34523
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jun 2000 20:54:33 +0000 (20:54 +0000)]
* config/m68k/openbsd.h (ASM_SPEC): pass down options to assembler
correctly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34522
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 13 Jun 2000 20:08:12 +0000 (20:08 +0000)]
Fix typo found by bootstrap.
* config/ia64/ia64.md (movxf_internal): Add missing "e" to ldf/stf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34521
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jun 2000 20:06:39 +0000 (20:06 +0000)]
* Makefile.in (gensupport.o): Remove bogus $(HOST_PREFIX) reference.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34520
138bc75d-0d04-0410-961f-
82ee72b054a4
pthomas [Tue, 13 Jun 2000 18:04:16 +0000 (18:04 +0000)]
gcc:
2000-06-13 Philipp Thomas <pthomas@suse.de>
* configure.in(ALL_LINGUAS): Changed en_UK to en_GB.
* configure: Rebuilt.
gcc/po:
2000-06-13 Philipp Thomas <pthomas@suse.de>
* en_UK.po: Renamed to en_GB.po.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34519
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jun 2000 16:09:51 +0000 (16:09 +0000)]
* configure.in: Adjust FreeBSD bits to match changes to config.guess.
We now default to ELF for the i386, and a.out is the special case.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34518
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jun 2000 16:06:26 +0000 (16:06 +0000)]
* final.c (final_scan_insn): Delete notes between cc0 setter and
user when restarting from setter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34517
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jun 2000 15:54:53 +0000 (15:54 +0000)]
* vax.h (INDEX_TERM_P): Define evaluation order of &&'s in || and
cast to squelch signed/unsigned warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34516
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34515
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 13 Jun 2000 07:19:22 +0000 (07:19 +0000)]
* cpplib.c (handle_directive): Print non-NUL-terminated string
with %.*s.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34514
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 13 Jun 2000 05:55:52 +0000 (05:55 +0000)]
oops
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34513
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Tue, 13 Jun 2000 02:23:56 +0000 (02:23 +0000)]
Do not handle dead code via conditional execution if special handling is needed
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34512
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 13 Jun 2000 02:13:54 +0000 (02:13 +0000)]
2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
members.
* src/locale.cc: Add cwchar include here. Remove incorrect
definitions, and stub them out.
* config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
* config/solaris/solaris2.7/ctype.cc (ctype): Same.
* config/solaris/solaris2.5/ctype.cc (ctype): Same.
* config/newlib/ctype.cc: Same.
* config/gnu-linux/ctype.cc: Same.
* config/bsd/ctype.cc: Same.
* config/aix/ctype.cc: Same.
2000-06-12 Branko Cibej <branko.cibej@hermes.si>
* config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
towupper and towlower to convert wide characters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34511
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 12 Jun 2000 23:56:56 +0000 (23:56 +0000)]
2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34510
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 12 Jun 2000 23:52:58 +0000 (23:52 +0000)]
update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34509
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 12 Jun 2000 23:08:05 +0000 (23:08 +0000)]
* print-rtl.c (print_rtx, case MEM): Use HOST_WIDE_INT_PRINT_DEC
to print the alias set.
* print-tree.c (print_node, DECL_* nodes and case 't'): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34507
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 12 Jun 2000 23:01:25 +0000 (23:01 +0000)]
* config/float-vax.h: Add GFLOAT defines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34506
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 12 Jun 2000 22:59:13 +0000 (22:59 +0000)]
* configure.in: Update tm dependencies for MPE.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34505
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 12 Jun 2000 22:45:46 +0000 (22:45 +0000)]
2000-06-12 H.J. Lu <hjl@gnu.org>
* gengenrtl.c (obstack_alloc_rtx): Correct the allocated size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34504
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 12 Jun 2000 20:46:28 +0000 (20:46 +0000)]
* class.c (vcall_offset_data_s): Add last_init and fns.
(overrides): Rename to same_signature_p.
(dfs_find_final_overrider): Adjust accordingly.
(mark_overriders): Likewise.
(warn_hidden): Likewise.
(build_vtbl_initializer): Reorganize machinery for building things
at negative offsets.
(build_vcall_and_vbase_vtbl_entries): Likewise.
(build_vbase_offset_vtbl_entries): Likewise.
(dfs_build_vcall_offset_vtbl_entries): Correct order of vcall
offset entries. Do not create two entries for functions with the
same signature.
(build_vcall_offset_vtbl_entries): Initialize vod->fns.
(build_rtti_vtbl_entries): Reorganize machinery for building things
at negative offsets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34503
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 12 Jun 2000 19:58:57 +0000 (19:58 +0000)]
* aix41.h (SUBTARGET_SWITCHES): Delete threads.
(CPP_SPEC): Change mthreads to pthread.
(LIB_SPEC): Likewise.
(STARTFILE_SPEC): Likewise.
* aix43.h (SUBTARGET_SWITCHES): Delete thread.
(CPP_SPEC): Change mthreads to pthread.
(LIB_SPEC): Likewise.
(STARTFILE_SPEC): Likewise.
* rs6000-protos.h (reg_or_arith_cint_operand): New.
* rs6000.c (reg_or_arith_cint_operand): New.
(num_insns_constant_wide): Decorate unsigned constant.
* rs6000.h (PREDICATE_CODES): Add reg_or_arith_cint_operand.
* rs6000.md (addsi3): Use new predicate.
(subsi3, adddi3, subdi3): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34502
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 12 Jun 2000 19:26:43 +0000 (19:26 +0000)]
* optimize.c (expand_call_inline): Don't recurse into the code
used to initialize the parameters more than once.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34501
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 12 Jun 2000 19:14:08 +0000 (19:14 +0000)]
* c-common.c (lang_get_alias_set): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34500
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Mon, 12 Jun 2000 14:40:24 +0000 (14:40 +0000)]
* flow.c (mark_used_regs): Revert last change.
(life_analysis): Remove PROP_AUTOINC if running after reload.
(propagate_one_insn): PROP_AUTOINC is always off after reload.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34499
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 12 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34498
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 12 Jun 2000 06:43:27 +0000 (06:43 +0000)]
* mangle.c (NESTED_TEMPLATE_MATCH): Fix typo in comment.
(is_std_substitution): Don't check CLASSTYPE_USE_TEMPLATE here.
(find_substitution): Only use the `Sa' substitution for
std::allocator, not instantiations of it.
(write_template_prefix): Move comment. Only use a TREE_LIST to
represent substitutions for a member template.
(write_array_type): Mangle array dimensions correctly.
* optimize.c (maybe_clone_body): Copy more information from the
cloned function.
* pt.c (regenerate_decl_from_template): Preserve DECL_USE_TEMPLATE
on the regenerated declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34497
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 11 Jun 2000 20:21:02 +0000 (20:21 +0000)]
2000-06-09 Rodney Brown <RodneyBrown@mynd.com>
* mcore-protos.h: discards const warning removal.
* mcore.c: discards const warning removal.
2000-06-09 Kazu Hirata <kazu@hxi.com>
* config/h8300/lib1funcs.asm: Declare the machine architecture at
the beginning of the file.
2000-06-09 J. David Anglin <dave@hiauly1.hia.nrc.ca>
* real.h: Add prototype for ldexp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34496
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 11 Jun 2000 20:03:20 +0000 (20:03 +0000)]
* gcc.c-torture/compile/
20000609-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34495
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Sun, 11 Jun 2000 19:39:55 +0000 (19:39 +0000)]
2000-06-11 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
* rdfmt.c (rd_L): Use if-then-else instead of case statement to
solve problems when sizeof(char) == sizeof(short).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34494
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Sun, 11 Jun 2000 15:27:10 +0000 (15:27 +0000)]
Sun Jun 11 17:20:00 MET 2000 Toon Moene <toon@moene.indiv.nluug.nl>
* MAINTAINERS: Add self as Fortran maintainer,
remove Craig Burley.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34493
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Sun, 11 Jun 2000 14:02:36 +0000 (14:02 +0000)]
* flow.c (mark_used_regs): Don't call find_auto_inc after reload
has run.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34492
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 11 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34491
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 11 Jun 2000 04:29:49 +0000 (04:29 +0000)]
Warning fixes:
* bb-reorder.c (build_scope_forest): Initialize variable
`curr_scope'.
* calls.c (expand_call): Likewise for variables
`save_pending_stack_adjust' and `save_stack_pointer_delta'.
* i386.c (function_arg_advance, function_arg): Cast to avoid
signed/unsigned warnings.
* i386.h (MEMORY_MOVE_COST): Likewise.
* ifcvt.c (cond_exec_process_if_block): Initialize variables
`else_start' and `else_end'.
* libgcc2.h (__eh_alloc, __eh_free): Prototype.
* regrename.c (rr_replace_reg): Initialize variable `dest_subregno'.
ch:
* Makefile.in (EXPR_H): New dependency variable.
(actions.o, expr.o): Use EXPR_H.
(lang.o): Depend on RTL_H and EXPR_H.
* lang.c: Include rtl.h and expr.h.
(lang_get_alias_set): Mark parameter with ATTRIBUTE_UNUSED.
cp:
* decl2.c (compare_options): Don't needlessly cast away const-ness.
f:
* com.c (lang_get_alias_set): Mark parameter with ATTRIBUTE_UNUSED.
java:
* decl.c (create_primitive_vtable): Prototype.
* jcf-write.c (generate_bytecode_insns): Initialize variable
`saved_context'.
* lang.c (lang_get_alias_set): Mark parameter with ATTRIBUTE_UNUSED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34490
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 11 Jun 2000 04:08:31 +0000 (04:08 +0000)]
* decl.c (add_binding): Handle duplicate declarations of external
variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34489
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 11 Jun 2000 03:57:18 +0000 (03:57 +0000)]
* mangle.c (write_number): Take an unsigned HOST_WIDE_INT as an
argument.
(write_signed_number): New macro.
(write_unsigned_number): Likewise.
(write_source_name): Use them.
(write_number): Handle signed and unsigned values.
(write_integer_cst): Use tree_int_cst_sgn, and use
write_unsigned_number or write_signed_number as appropriate.
(write_discriminator): Use write_unsigned_number or
write_signed_number as appropriate.
(write_template_arg_literal): Likewise.
(write_array_type): Use tree_low_cst.
(write_template_parm): Use write_unsigned_number or
write_signed_number as appropriate.
(write_substitution): Adjust call to write_number.
(write_type): Get the TYPE_MAIN_VARIANT before mangling it.
(write_expression): Handle non-type template arguments of
reference type correctly.
(mangle_thunk): Use write_signed_number.
* mangle.c (find_substition): Don't mangle objects with typename
substitutions (e.g. "cin" as "Si").
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34488
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 11 Jun 2000 03:44:49 +0000 (03:44 +0000)]
Revert last patch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34487
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 11 Jun 2000 03:38:05 +0000 (03:38 +0000)]
Revert last patch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34486
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 11 Jun 2000 03:34:54 +0000 (03:34 +0000)]
New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34485
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 11 Jun 2000 02:54:16 +0000 (02:54 +0000)]
* Makefile.in (libintl.a): Depend on intl.all.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34484
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 10 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34483
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 10 Jun 2000 03:02:21 +0000 (03:02 +0000)]
Revert previous patch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34482
138bc75d-0d04-0410-961f-
82ee72b054a4
cpopetz [Sat, 10 Jun 2000 02:57:20 +0000 (02:57 +0000)]
* gcc.dg/
20000609-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34481
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 10 Jun 2000 01:45:52 +0000 (01:45 +0000)]
* Makefile.in (c-parse.o): Also depend on output.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34480
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 9 Jun 2000 21:47:40 +0000 (21:47 +0000)]
toplevel:
* ggc-none.c, ggc-simple.c, ggc-page.c (ggc_alloc_obj): Rename
it ggc_alloc, drop second argument, never clear returned memory.
* ggc-common.c (ggc_alloc_string): Use ggc_alloc.
(ggc_alloc_cleared): New.
* ggc.h: Prototype ggc_alloc and ggc_alloc_cleared, not
ggc_alloc_obj. Remove ggc_alloc macro.
(ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Use ggc_alloc.
* rtl.c (rtvec_alloc): Clear the vector always.
(rtx_alloc): Clear the first word always. Remove dirty
obstack tricks (this routine is no longer a bottleneck).
* tree.c (make_node): Clear the new node always.
(make_tree_vec): Likewise.
(tree_cons): Clear the common structure always.
(build1): Likewise; also, clear TREE_COMPLEXITY.
* gengenrtl.c: Use puts wherever possible. Remove extra
newlines.
(gendef): Clear the first word of an RTX in the generator
function, irrespective of ggc_p. Initialize '0' slots to
NULL.
(genlegend): Don't generate obstack_alloc_rtx routine, just a
thin wrapper macro around obstack_alloc.
* stmt.c (expand_fixup): Use ggc_alloc.
* c-typeck.c (add_pending_init): Use ggc_alloc.
* emit-rtl.c (init_emit_once): Clear CONST_DOUBLE_CHAIN(tem).
* varasm.c (immed_double_const): Set CONST_DOUBLE_MEM(r) to
const0_rtx when it is created.
(immed_real_const_1): Set CONST_DOUBLE_CHAIN(r) to NULL_RTX if
we are not in a function.
* tree.c (tree_class_check_failed): Make second arg an int.
* tree.h: Update prototype.
cp:
* call.c (add_candidate): Use ggc_alloc_cleared.
* decl.c (lookup_label): Likewise.
* lex.c (retrofit_lang_decl): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34478
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 9 Jun 2000 18:55:36 +0000 (18:55 +0000)]
* cp-demangle.c (demangle_operator_name): Add spaces before
names beginning with a letter: delete, delete[], new, new[],
sizeof.
(demangle_special_name): Handle TF <type> and TJ <type>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34477
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 9 Jun 2000 18:52:27 +0000 (18:52 +0000)]
Revert last patch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34476
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 9 Jun 2000 18:02:21 +0000 (18:02 +0000)]
* tree.h (VOID_TYPE_P): Don't look at the TYPE_MAIN_VARIANT
of an error_type_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34475
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 9 Jun 2000 16:45:22 +0000 (16:45 +0000)]
Revert last patch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34474
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [Fri, 9 Jun 2000 16:45:00 +0000 (16:45 +0000)]
* config/avr/avr.c (asm_output_section_name): bugfix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34473
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 9 Jun 2000 16:41:10 +0000 (16:41 +0000)]
* cp-tree.h (cp_tree_index): Remove Java types.
(java_fundamental_type_kind): New enumeration type.
(java_fundamental_types): New array.
* class.c (push_lang_context): Use java_fundamental_types.
* decl.c (java_fundamental_types): Define it.
(initialize_java_fundamental_types): New function.
(init_decl_processing): Call it
* mangle.c (integer_type_codes): Make it const.
(java_fundamental_type_codes): New variable.
(write_source_name_from_string): New function.
(write_identifier): Constify.
(write_builtin_type): Handle Java types. Use same_type_p for type
comparison.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34472
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 9 Jun 2000 16:26:24 +0000 (16:26 +0000)]
revert mangling patch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34471
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 9 Jun 2000 16:23:47 +0000 (16:23 +0000)]
* timevar.def: Add TV_EXPAND.
* timevar.c (timevar_print): Update timing information.
* calls.c (try_to_integrate): Push to TV_INTEGRATION for inlining.
* stmt.c (expand_return): Check for error_mark_node.
cp/:
* semantics.c (expand_body): Push to TV_EXPAND.
* optimize.c (optimize_function): Push to TV_INTEGRATION.
* decl.c (start_function): Always call announce_function.
* tinfo2.cc: Just declare abort.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34470
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 9 Jun 2000 14:49:38 +0000 (14:49 +0000)]
* configure.in: Also avoid wrapping auto-build.h with IN_GCC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34469
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 9 Jun 2000 14:42:09 +0000 (14:42 +0000)]
* scan-types.sh (VALUE) Wrap use with double quotes to protect
variable against filename expansion when it contains "char *".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34468
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 9 Jun 2000 14:37:56 +0000 (14:37 +0000)]
* system.h (SSIZE_MAX): Delete backup definition.
* cppfiles.c (read_include_file): Use INTTYPE_MAXIMUM(ssize_t)
instead of SSIZE_MAX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34467
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 9 Jun 2000 14:31:54 +0000 (14:31 +0000)]
* configure.in: Check whether gas supports -relax.
* configure, config.in: Rebuilt.
* config/sparc/sparc.h (ASM_RELAX_SPEC): Define.
(EXTRA_SPECS): Add asm_relax.
(ASM_SPEC): Add %(asm_relax).
(TARGET_SWITCHES): Add -mrelax and -mno-relax.
* config/sparc/linux64.h (LINK_ARCH_SPEC): Rename to LINK_SPEC.
(LINK_SPEC): Pass -relax to linker unless -mno-relax or -r.
(ASM_SPEC): Add %(asm_relax).
* config/sparc/linux.h (LINK_SPEC, ASM_SPEC): Likewise.
* config/sparc/sparc.c (output_sibcall): If HAVE_AS_RELAX_OPTION,
never use sethi/jmpl for leaf tail calls. Use or with rs2 %g0
instead of mov, so that gas can further optimize it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34466
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Fri, 9 Jun 2000 08:40:02 +0000 (08:40 +0000)]
2000-06-09 Gabriel Dos Reis <gdr@codesourcery.com>
* lex.c (DEF_OPERATOR): Say `operator@' -not- `operator @'
whenever @ is a symbolic name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34465
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 9 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34464
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 8 Jun 2000 22:39:17 +0000 (22:39 +0000)]
* gcc.c-torture/noncompile/noncompile.exp: Remove poison-1 block.
* gcc.c-torture/noncompile/poison-1.c: Move...
* gcc.dg/poison-1.c: ...here, and adapt to dg framework.
* gcc.dg/cpp-li1.c: Add a token after the #line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34463
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 8 Jun 2000 22:33:18 +0000 (22:33 +0000)]
Emit correct debug info for 64-bit signed enums on 64-bit host.
* dwarf2out.c (size_of_die, case dw_val_class_const): Use
size_of_sleb128.
(value_format, case dw_val_class_const): Use sdata format.
(output_die): Call output_sleb128.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34462
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 8 Jun 2000 21:22:02 +0000 (21:22 +0000)]
2000-06-08 Branko Cibej <branko.cibej@hermes.si>
* acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* math/cosf.c: New file.
* math/fabsf.c: Likewise.
* math/sinf.c: Likewise.
* math/sqrtf.c: Likewise.
* math/Makefile.am (EXTRA_DIST): Add those four files.
* math/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34461
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 8 Jun 2000 18:05:39 +0000 (18:05 +0000)]
2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
* testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34460
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 8 Jun 2000 17:35:44 +0000 (17:35 +0000)]
* libioP.h: Remove old ABI mangling code.
* stdstrbufs.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34459
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 8 Jun 2000 17:34:33 +0000 (17:34 +0000)]
* invoke.texi: Remove documentation for -fsquangle and
-fname-mangling-version.
Remove old ABI mangling code.
* cp-tree.h (cp_tree_index): Remove CPTI_TINFO_DECL_ID and
CPTI_TINFO_VAR_ID.
(tinfo_decl_id): Remove.
(tinfo_var_id): Likewise.
(name_mangling_version): Likewise.
(flag_do_squangling): Likewise.
(get_vtt_name): Likewise.
(init_method): Likewise.
(build_overload_name): Likewise.
(build_static_name): Likewise.
(build_decl_overload_real): Likewise.
(build_overload_with_type): Likewise.
(build_destructor_name): Likewise.
(get_id_2): Likewise.
(get_ctor_vtbl_name): Likewise.
(mangle_typeinfo_fn_for_type): New function.
(mangle_java_reflection_var_for_type): Likewise.
* call.c (build_new_method_call): Use mangle_vtt_for_type.
* class.c (get_vtable_name): Remove.
(get_vtt_name): Remove.
(get_vtable_decl): Use mangle_vtbl_for_type.
(build_vtt): Likewise.
(build_ctor_vtbl_group): Remove old ABI mangling support.
* decl.c (pushtag): Likewise.
(maybe_commonize_var): Use set_mangled_name_for_decl.
(grokfndecl): Remove old ABI mangling support.
(grokvardecl): Likewise.
(grokdeclarator): Likewise.
(grok_op_properties): Adjust use of DEF_OPERATOR.
* decl2.c (name_mangling_version): Remove.
(lang_f_options): Remove squangle.
(unsupported_options): Add squangle.
(lang_decode_options): Don't set flag_do_squangling. Issue a
warning for -fname-mangling-version.
(grokclassfn): Remove old ABI mangling support.
(finish_static_data_member_decl): Likewise.
(grokfield): Likewise.
(grokoptypename): Likewise.
(get_sentry): Likewise.
* init.c (build_java_class_ref): Use
mangle_java_reflection_var_for_type.
* lex.c (init_operators): Adjust use of DEF_OPERATOR.
(init_parse): Call init_mangle, not init_method.
* mangle.c (write_special_name_constructor): Handle
maybe-in-charge constructors.
(write_special_name_destructor): Handle
maybe-in-charge destructors.
(write_expression): Tweak code to handle non-type template
arguments with reference type.
(mangle_typeinfo_fn_for_type): New function.
(mangle_java_reflection_var_for_type): Likewise.
(mangle_conv_op_name_for_type): Don't use a name that the user
could type.
* method.c (enum mangling_flags): Remove.
(mangling_flags): Likewise.
(obstack_chunk_alloc): Likewise.
(obstack_chunk_free): Likewise.
(OB_INIT): Likewise.
(OB_PUTC): Likewise.
(OB_PUTC2): Likewise.
(OB_PUTS): Likewise.
(OB_PUTID): Likewise.
(OB_PUTCP): Likewise.
(OB_FINISH): Likewise.
(OB_LAST): Likewise.
(btypelist): Likewise.
(ktypelist): Likewise.
(maxbtype): Likewise.
(maxktype): Likewise.
(typevec): Likewise.
(maxtype): Likewise.
(init_method): Likewise.
(digit_buffer): Likewise.
(nofold): Likewise.
(start_squangling): Likewise.
(end_squangling): Likewise.
(icat): Likewise.
(dicat): Likewise.
(old_backref_index): Likewise.
(flush_repeats): Likewise.
(is_back_referenceable_type): Likewise.
(issue_nrepeats): Likewise.
(check_ktype): Likewise.
(issue_ktype): Likewise.
(build_overload_nested_name): Likewise.
(build_underscore_int): Likewise.
(build_overload_scope_ref): Likewise.
(mangle_expression): Likewise.
(build_overload_int): Likewise.
(mangled_C9x_name): Likewise.
(build_overload_value): Likewise.
(build_template_template_parm_names): Likewise.
(build_template_parm_names): Likewise.
(build_overload_identifier): Likewise.
(build_qualified_name): Likewise.
(build_mangled_name_for_type_with_Gcode): Likewise.
(build_mangled_name_for_type): Likewise.
(build_overload_name): Likewise.
(build_mangled_name): Likewise.
(process_modifiers): Likewise.
(check_btype): Likewise.
(process_overload_item): Likewise.
(build_static_name): Likewise.
(build_decl_overload_real): Likewise.
(set_mangled_name_for_decl): Remove old ABI mangling support.
(build_typename_overload): Remove.
(build_overload_with_type): Remove.
(get_id_2): Remove.
(get_ctor_vtbl_name): Remove.
(build_destructor_name): Likewise.
(set_mangled_name_for_decl): Likewise.
(make_thunk): Remove old ABI mangling support.
* operators.def: Likewise.
* pt.c (check_explicit_specialization): Don't call
set_mangled_name_for_template_decl.
(lookup_template_class): Remove old ABI mangling support.
(tsubst_friend_function): Update comment.
(tsubst_decl): Remove old ABI mangling support.
(tsubst_copy): Likewise.
(set_mangled_name_for_template_decl): Remove.
* rtti.c (init_rtti_processing): Use std_identifier. Don't set
tinfo_decl_id or tinfo_var_id.
(get_tinfo_var): Use mangle_typeinfo_for_type.
(tinfo_name): Remove old ABI mangling support.
(get_tinfo_decl): Likewise.
(tinfo_base_init): Likewise.
(create_real_tinfo_var): Use a name that the user can't type.
* tinfo2.cc (BUILTIN): Adjust to use new mangling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34458
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 8 Jun 2000 17:25:22 +0000 (17:25 +0000)]
Fix DWARF2 64-bit enum debugging support, for debugging IA-64 emacs bugs.
* dwarf2out.c (ASM_OUTPUT_DWARF_DATA8): Add new macro that uses
UNALIGNED_DOUBLE_INT_ASM_OP. Rename old macro to
ASM_OUTPUT_DWARF_CONST_DOUBLE.
(output_die, case dw_val_class_unsigned_const): Correct call to
ASM_OUTPUT_DWARF_DATA8.
(output_die, case dw_val_class_long_long): Use
ASM_OUTPUT_DWARF_CONST_DOUBLE.
* tree.c (host_integerp): Accept unsigned HOST_WIDE_INT values when
pos is zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34457
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 8 Jun 2000 17:15:32 +0000 (17:15 +0000)]
Add unwind support for epilogues, because the kernel unwinder needs them.
* config/ia64/ia64-protos.h (ia64_output_end_prologue): Add.
(output_function_prologue): Fix mispelling.
(output_function_prologue, output_function_epilogue): Reorder to
match ia64.c definition order.
* config/ia64/ia64.c (ia64_expand_prologue): Add comment.
(ia64_expand_epilogue): Set RTX_FRAME_RELATED_P on stack restore insns.
Use r3 instead of r2 for large stack restores.
(ia64_output_end_prologue): New function.
(process_set): Emit ".restore sp" for epilogue stack restores.
* config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34456
138bc75d-0d04-0410-961f-
82ee72b054a4
phdm [Thu, 8 Jun 2000 16:51:44 +0000 (16:51 +0000)]
* cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34455
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 8 Jun 2000 16:14:17 +0000 (16:14 +0000)]
* method.c (make_thunk): Clear DECL_VTT_PARM in thunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34454
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 8 Jun 2000 14:33:04 +0000 (14:33 +0000)]
* dbxout.c (dbxout_type_fields): Don't segfault on fields with
incomplete types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34453
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 8 Jun 2000 08:30:28 +0000 (08:30 +0000)]
* frame.c (end_fde_sort): Remove extraneous erratic array test.
* frame.c (start_fde_sort): Don't malloc (0).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34452
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 8 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34451
138bc75d-0d04-0410-961f-
82ee72b054a4
phdm [Thu, 8 Jun 2000 07:29:53 +0000 (07:29 +0000)]
* cp-demangle.c (stdio.h): File included unconditionaly.
(template_arg_list_new): Parameter list is PARAMS ((void)), not ().
* dyn-string.c (stdio.h): File included.
* partition.c (partition_print): No `&' needed to take the address of
a function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34450
138bc75d-0d04-0410-961f-
82ee72b054a4