rth [Mon, 27 Dec 1999 23:01:12 +0000 (23:01 +0000)]
* alias.c (nonlocal_reference_p): Add else for disjoint ifs.
* flow.c (find_use_as_address): Likewise.
* function.c (fixup_var_refs_1): Likewise.
(walk_fixup_memory_subreg, fixup_stack_1): Likewise.
* jump.c (invert_exp, redirect_exp): Likewise.
* loop.c (replace_call_address): Likewise.
(count_nonfixed_reads): Likewise.
* rtlanal.c (modified_between_p): Likewise.
(modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
(side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
* unroll.c (remap_split_bivs): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31103
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Mon, 27 Dec 1999 21:38:06 +0000 (21:38 +0000)]
* vasprintf.c (int_vasprintf): Don't re-read the format character
as this mishandles strings like '%%s'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31102
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 27 Dec 1999 16:52:03 +0000 (16:52 +0000)]
* diagnostic.c (v_message_with_decl): Use .* format specifier
instead of building the format specifier width manually.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31101
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 27 Dec 1999 15:39:39 +0000 (15:39 +0000)]
* system.h (strsignal): Don't check HAVE_STRSIGNAL when
determining whether to provide a prototype. Remove the
sys_siglist clause in the conditional.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31100
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Mon, 27 Dec 1999 11:39:01 +0000 (11:39 +0000)]
Update for 991221 and 991227
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31099
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Mon, 27 Dec 1999 11:36:24 +0000 (11:36 +0000)]
New test case
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31098
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Mon, 27 Dec 1999 11:35:07 +0000 (11:35 +0000)]
* fold-const.c (operand_equal_p): Use memcmp to compare string
constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31097
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 27 Dec 1999 08:45:09 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31096
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 27 Dec 1999 08:34:45 +0000 (08:34 +0000)]
* config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
compiling libgcc2.
* config/mips/mips.h (TARGET_64BIT): Likewise.
* config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
* libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
of {SI,DI}type and DIunion. Define these types to QI/HI modes on
dsps. Give routines proper names if SI/DI modes are not used.
* longlong.h: Use DWunion instead of DIunion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31095
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 27 Dec 1999 07:33:22 +0000 (07:33 +0000)]
Commit forgotten Thread.java patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31094
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 26 Dec 1999 23:06:54 +0000 (23:06 +0000)]
1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
* acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
GC_CHECKING, GC_ALWAYS_COLLECT.
* configure.in: Allow --enable-checking with an argument
listing check modes to enable.
* config.in, configure: Rebuilt.
* ggc-page.c, ggc-simple.c: Define GGC_POISON (and
GGC_ALWAYS_VERIFY for ggc-simple.c) only if
ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
ENABLE_GC_ALWAYS_COLLECT.
* rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
throughout.
* tree.h, tree.c: Change ENABLE_CHECKING to
ENABLE_TREE_CHECKING throughout.
* cp-tree.h: Replace ENABLE_CHECKING with ENABLE_TREE_CHECKING
throughout.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31093
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 26 Dec 1999 15:28:18 +0000 (15:28 +0000)]
* decl.c (store_return_init): Use mode of old RTL generated for
DECL_RESULT, not the mode of DECL_RESULT itself.
* semantics.c (finish_named_return_value): Set DECL_UNINLINABLE
for functions that used named return values.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31092
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 26 Dec 1999 12:43:28 +0000 (12:43 +0000)]
* fold-const.c (fold_truthop): Properly check for FP RHS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31091
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 26 Dec 1999 08:45:42 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31090
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 25 Dec 1999 08:45:06 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31089
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 24 Dec 1999 20:24:16 +0000 (20:24 +0000)]
* toplev.h (note_deferall_of_defined_inline_function): Declare.
* toplev.c (note_deferral_of_defined_inline_function): New
function, split out from ...
(rest_of_compilation): ... here. Use it.
* semantics.c (expand_body): Use
note_deferral_of_defined_inline_function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31088
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 24 Dec 1999 17:27:36 +0000 (17:27 +0000)]
* expr.c (store_constructor): Don't call clear_storage if size is
variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31086
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 24 Dec 1999 14:04:54 +0000 (14:04 +0000)]
* Makefile.in (toplev.o): Depend on loop.h.
* dwarfout.c: Include tm_p.h.
* emit-rtl.c (restore_emit_status): Mark parameter with
ATTRIBUTE_UNUSED.
* final.c (final_scan_insn): Likewise.
* flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
flow_depth_first_order_compute, flow_loop_pre_header_find,
flow_loop_tree_node_add, flow_loops_tree_build,
flow_loop_level_compute, flow_loops_level_compute,
flow_loop_outside_edge_p): Add prototypes.
(recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
* ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
Mark with ATTRIBUTE_NORETURN.
* hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
* local-alloc.c (no_conflict_p): Likewise.
* loop.c (insert_bct): Hide definitions of variables with hidden
usage.
(note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
* regclass.c (memory_move_secondary_cost): Mark variable `mem'
with ATTRIBUTE_UNUSED.
(record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
(reg_scan): Likewise.
* reload.c (find_reloads): Remove unused variables `changed'.
* reload1.c (reload_reg_class_lower): Don't unnecessarily cast
away const-ness.
(allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
Remove unused variable `insn'.
* toplev.c: Include loop.h.
(report_file_and_line): Remove unnecessary prototype.
* tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
* unroll.c (biv_total_increment): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31085
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 24 Dec 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31084
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 24 Dec 1999 01:08:34 +0000 (01:08 +0000)]
1999-12-22 Bryce McKinlay <bryce@albatross.co.nz>
* linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
NO_SIGNALS case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31083
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 24 Dec 1999 01:00:46 +0000 (01:00 +0000)]
1999-12-22 Bryce McKinlay <bryce@albatross.co.nz>
* java/lang/natObject.cc (notify): Throw message with
IllegalMonitorStateException.
(notifyAll): Ditto.
(wait): Ditto.
* java/lang/Thread.java (isInterrupted): Don't clear interrupt_flag.
(isInterrupted_): New function, which does clear interrupt_flag.
(interrupt): Use `isInterrupted_'.
* java/lang/natThread.cc (interrupt): Add comment.
(join): Set `Prev' in joiner loop.
Change various calls to `isInterrupted' to use `isInterrupted_'.
* posix-threads.cc (_Jv_CondWait): Allways use pthread_cond_timedwait
on linux. Set result to 0 on an interrupt. Test interrupted status
of java Thread object directly.
FLAG_INTERRUPTED: removed.
(_Jv_ThreadStart): Throw OutOfMemoryError if pthread_create fails.
(_Jv_ThreadInterrupt): Don't set FLAG_INTERRUPTED.
(_Jv_InitThreads): Don't block SIGINT.
(_Jv_ThreadWait): Don't configure SIGINT handler.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31082
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 23 Dec 1999 23:17:20 +0000 (23:17 +0000)]
* reload1.c (emit_input_reload_insns): Restore old behaviour
wrt. 'special' reloads.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31081
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 23 Dec 1999 17:54:00 +0000 (17:54 +0000)]
1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
* Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
hash.h. (cse.c): Don't depend on hashtab.h.
* cse.c: Don't include hashtab.h.
(hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
of dead functions.
* ggc-simple.c: Don't include hash.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31080
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 23 Dec 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31079
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 23 Dec 1999 05:26:55 +0000 (05:26 +0000)]
* dwarf2out.c (add_abstract_origin_attribute): Call
gen_abstract_function on our function context.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31078
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 23 Dec 1999 02:00:31 +0000 (02:00 +0000)]
* Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31077
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 23 Dec 1999 01:47:09 +0000 (01:47 +0000)]
* MAINTAINERS: Add myself to "write after approval" list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31076
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 23 Dec 1999 01:32:54 +0000 (01:32 +0000)]
Add myself to "write after approval" list
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31075
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Wed, 22 Dec 1999 20:47:57 +0000 (20:47 +0000)]
* config/c4x/c4x.c (c4x_address_cost): Add statement to default
case in switch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31074
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 22 Dec 1999 18:00:58 +0000 (18:00 +0000)]
* dump.c (dequeue_and_dump): Handle CTOR_STMTs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31073
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Wed, 22 Dec 1999 09:50:19 +0000 (09:50 +0000)]
* config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
constraints to "a!r".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31072
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 22 Dec 1999 09:25:27 +0000 (09:25 +0000)]
oops, not an ICE, just a bogus error
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31071
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 22 Dec 1999 09:22:49 +0000 (09:22 +0000)]
oops, it needs -O1 to fail
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31070
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 22 Dec 1999 09:21:44 +0000 (09:21 +0000)]
* nameret2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31069
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 22 Dec 1999 09:01:59 +0000 (09:01 +0000)]
* libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of
_IO_fpos_t.
(_IO_seekoff, _IO_seekpos): Likewise. Use _IO_off64_t instead of
_IO_fpos64_t.
* libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Likewise.
(_IO_seekoff, _IO_seekpos): Likewise.
(_IO_default_seekoff, _IO_default_seekpos): Likewise.
(_IO_default_seek): Likewise.
(_IO_file_seekoff, _IO_file_seek, _IO_str_seekoff): Likewise.
* streambuf.h (streampos): Typedef to _IO_off_t resp. _IO_off64_t.
* parsestream.h (class parsebuf::pos_at_line_start): Change type
to _IO_off_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31068
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 22 Dec 1999 08:52:49 +0000 (08:52 +0000)]
* error.c (dump_decl): Support named return values.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31067
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 22 Dec 1999 08:48:32 +0000 (08:48 +0000)]
* g++.old-deja/g++.pt/instantiate6.C: Remove excess errors XFAIL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31066
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 22 Dec 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31065
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 22 Dec 1999 08:41:27 +0000 (08:41 +0000)]
* nameret1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31064
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 22 Dec 1999 04:54:48 +0000 (04:54 +0000)]
tweaks
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31063
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 22 Dec 1999 04:52:11 +0000 (04:52 +0000)]
* template10.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31062
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 21 Dec 1999 23:50:01 +0000 (23:50 +0000)]
* mauve-libgcj: Added java.lang.reflect.Modifier.toString12.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31061
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Tue, 21 Dec 1999 18:14:50 +0000 (18:14 +0000)]
Add commentary:Remove seek for ios::app if not.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31059
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Tue, 21 Dec 1999 18:10:24 +0000 (18:10 +0000)]
* filebuf.cc (open): Support ios::ate if _G_HAVE_IO_FILE_OPEN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31057
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 21 Dec 1999 17:27:23 +0000 (17:27 +0000)]
* Makefile.in (calls.o): Depend on function.h.
(alias.o): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31056
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 21 Dec 1999 17:03:24 +0000 (17:03 +0000)]
New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31053
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Tue, 21 Dec 1999 13:56:28 +0000 (13:56 +0000)]
Break up emit_reload_insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31052
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 21 Dec 1999 12:11:13 +0000 (12:11 +0000)]
* pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31050
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Tue, 21 Dec 1999 10:45:28 +0000 (10:45 +0000)]
* md.texi: Add c4x constraints documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31049
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Tue, 21 Dec 1999 09:49:39 +0000 (09:49 +0000)]
New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31048
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Tue, 21 Dec 1999 09:31:50 +0000 (09:31 +0000)]
* config/i386/dgux.c (struct option): Rename to
lang_independent_option.
(struct m_options): Add description field.
(output_options): Rename option type, add sep declaration, output
ix86_cpu_string and ix86_arch_string only if set.
(output_file_start): Rename option type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31047
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 21 Dec 1999 08:45:06 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31046
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 21 Dec 1999 06:18:22 +0000 (06:18 +0000)]
* Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
stmp-int-hdrs.
(libgcc2.a): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31045
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 21 Dec 1999 06:10:20 +0000 (06:10 +0000)]
* longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31044
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 21 Dec 1999 06:02:59 +0000 (06:02 +0000)]
* fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
Remove redundant initialization of "frexpon" and "expon".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31043
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 21 Dec 1999 02:11:10 +0000 (02:11 +0000)]
1999-12-20 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (CLASSTYPE_VFIELD_PARENT): Update comments.
(CLASSTYPE_HAS_PRIMARY_BASE_P): New macro.
(CLASSTYPE_PRIMARY_BINFO): Likewise.
* class.c (check_methods): Don't set TYPE_HAS_COMPLEX_INIT_REF,
TYPE_NEEDS_CONSTRUCTING, and CLASSTYPE_NON_AGGREGATE here.
(check_bases_and_members): Set them here instead.
(create_vtable_ptr): New function, split out from ...
(finish_struct_1): ... here. Use it. Tidy. Use
CLASSTYPE_HAS_PRIMARY_BASE_P and CLASSTYPE_PRIMARY_BINFO.
* search.c (dfs_init_vbase_pointers): Handle seeing TYPE_VFIELD as
the first field in the class.
* tree.c (layout_basetypes): Use CLASSTYPE_N_BASECLASSES. Handle
seeing TYPE_VFIELD as the first field in the class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31042
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 21 Dec 1999 00:19:01 +0000 (00:19 +0000)]
* cp-tree.h (TYPE_VIRTUAL_P): Rename to ...
(TYPE_POLYMORPHIC_P): ... this.
(TYPE_USES_COMPLEX_INHERITANCE): Rename to ...
(TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P): ... this.
(TREE_CALLS_NEW): Remove.
(TREE_MANGLED): Likewise.
* call.c (build_vfield_ref): Use TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P,
and TYPE_POLYMORPHIC_P.
* class.c (check_bases): Likewise.
(finish_base_struct): Likewise.
(finish_struct_bits): Likewise.
(check_for_override): Likewise.
(finish_struct_1): Likewise.
(get_vfield_name): Likewise.
* decl.c (xref_basetypes): Likewise.
* decl2.c (import_export_class): Likewise.
(import_export_decl): Likewise.
* error.c (dump_function_decl): Likewise.
* pt.c (instantiate_class_template): Likewise.
* repo.c (repo_inline_used): Likewise.
* rtti.c (build_headof): Likewise.
(get_tinfo_fn_dynamic): Likewise.
(build_x_typeid): Likewise.
(get_tinfo_var): Likewise.
(build_dynamic_cast_1): Likewise.
(synthesize_tinfo_fn): Likewise.
* search.c (lookup_field_1): Likewise.
(dfs_debug_mark): Likewise.
(maybe_suppress_debug_info): Likewise.
* typeck.c (build_component_ref): Likewise.
(build_component_addr): Likewise.
* typeck2.c (process_init_constructor): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31041
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 20 Dec 1999 23:05:21 +0000 (23:05 +0000)]
* java/lang/reflect/Modifier.java (STRICT): New constant.
(isStrict): New method.
(toString): Added `strict'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31040
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 20 Dec 1999 22:55:38 +0000 (22:55 +0000)]
Fix typo in turned-off code
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31039
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 20 Dec 1999 21:23:30 +0000 (21:23 +0000)]
* tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31038
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 20 Dec 1999 20:29:36 +0000 (20:29 +0000)]
* expr.c (store_constructor): New argument SIZE; pass to clear_storage.
(store_constructor_field, expand_expr): Pass new arg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31037
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 20 Dec 1999 19:47:58 +0000 (19:47 +0000)]
* Makefile.in (explow.o): Depend on function.h.
* stor-layout.c (set_sizetype): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31036
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 20 Dec 1999 15:54:19 +0000 (15:54 +0000)]
* g++.old-deja/g++.other/cast3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31035
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 20 Dec 1999 15:53:43 +0000 (15:53 +0000)]
* typeck.c (strip_all_pointer_quals): New static function.
(build_static_cast): Use it. Don't use at_least_as_qualified_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31034
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Mon, 20 Dec 1999 13:18:17 +0000 (13:18 +0000)]
current_function -> cfun
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31033
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Mon, 20 Dec 1999 12:13:01 +0000 (12:13 +0000)]
Change some regsets to regset_heads
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31032
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 20 Dec 1999 08:45:06 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31031
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Mon, 20 Dec 1999 05:55:34 +0000 (05:55 +0000)]
Alpha Linux changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31030
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Mon, 20 Dec 1999 04:40:37 +0000 (04:40 +0000)]
* config/c4x/rtems.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31029
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Mon, 20 Dec 1999 02:34:52 +0000 (02:34 +0000)]
* gcconfig.h: Use libgcj hack for Alpha Linux.
Undefine MPROTEXT_VDB (from Jeff Sturm).
* os_dep.c: Remove Alpha Linux hacks.
* misc.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31028
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Mon, 20 Dec 1999 02:18:11 +0000 (02:18 +0000)]
1999-12-19 Anthony Green <green@cygnus.com>
* libgcjdata.c: New file.
* libgcj.spec.in: Use @LIBDATASTARTSPEC@ in startfile.
* configure: Rebuilt.
* configure.in (LIBDATASTARTSPEC): Force data with a known name
into the program.
* Makefile.in: Rebuilt.
* Makefile.am: Build libgcjdata.a.
* libgcj.spec.in: Use @FORCELIBGCCSPEC@ in startfile.
* configure: Rebuilt.
* configure.in (FORCELIBGCCSPEC): Force important parts of libgcc
into every program.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31027
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Sun, 19 Dec 1999 17:39:15 +0000 (17:39 +0000)]
Better spill failure messages.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31026
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 19 Dec 1999 12:45:21 +0000 (12:45 +0000)]
* rs6000.h (SUBTARGET_DEFAULT): New macro.
(TARGET_SWITCHES): Allow subtargets to default switches.
* rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31025
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 19 Dec 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31024
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 19 Dec 1999 05:36:13 +0000 (05:36 +0000)]
* crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
in a main program.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31023
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Dec 1999 04:43:20 +0000 (04:43 +0000)]
* cccp.c (main): Define __STDC_VERSION__ as necessary.
* cppinit.c (cpp_handle_option): Likewise.
* ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
determine when to define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31022
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Dec 1999 04:35:31 +0000 (04:35 +0000)]
* alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
cmove with mismatched test and data modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31021
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Dec 1999 04:31:06 +0000 (04:31 +0000)]
* c-typeck.c (c_expand_start_case): Don't warn for long switch
in system headers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31020
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 19 Dec 1999 02:01:51 +0000 (02:01 +0000)]
Fix typo in last change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31019
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 19 Dec 1999 01:19:33 +0000 (01:19 +0000)]
Revert bogus patch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31018
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 18 Dec 1999 21:33:23 +0000 (21:33 +0000)]
* alias.c: Minor reformatting.
* flow.c: Likewise.
* regs.h: Likewise.
* stor-layout.c: Likewise.
* fold-const.c: Likewise.
(OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
(struct cb_args, const_binop_1, const_binop): Pass type of arg,
not arg itself.
(size_int_wide): Cache nodes even if garbage collecting.
(twoval_comparison_p): Reenable SAVE_EXPR case if operand
of SAVE_EXPR has no side effects.
* cse.c: Move a comment.
* tree.c: Minor reformatting.
(int_size_in_bytes): Return -1 if constant overflows.
* reload.c (combine_reloads): Do nothing if no output reload
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31017
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Sat, 18 Dec 1999 19:59:24 +0000 (19:59 +0000)]
* unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31016
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Sat, 18 Dec 1999 19:56:21 +0000 (19:56 +0000)]
* MAINTAINERS: Add myself to the write-after-approval list
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31015
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 18 Dec 1999 18:44:24 +0000 (18:44 +0000)]
1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
* objc/objc-parse.c: Regenerate. This file must be rebuilt
after any change to c-parse.in, even if objc-parse.y didn't
change. Oops.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31014
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sat, 18 Dec 1999 18:30:41 +0000 (18:30 +0000)]
* toplev.c (rest_of_compilation): Restore BLOCK tree
reconstruction and branch shortening changes lost in
December 18th change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31013
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Sat, 18 Dec 1999 14:34:56 +0000 (14:34 +0000)]
* newcvsroot: Add check on the number of command-line arguments.
Add usage.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31012
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Sat, 18 Dec 1999 13:34:21 +0000 (13:34 +0000)]
* config/arm/linux-elf.h: Change all instances of
ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
* config/arm/uclinux-elf.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31011
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 18 Dec 1999 08:45:06 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31009
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 18 Dec 1999 01:45:40 +0000 (01:45 +0000)]
1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
* toplev.c (notice, vmessage, v_message_with_file_and_line,
v_message_with_decl, file_and_line_for_asm,
v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
pfatal_with_name, fatal_io_error, need_error_newline,
last_error_function, last_error_tick, announce_function,
default_print_error_function, print_error_function,
report_error_function, fnotice, error_with_file_and_line,
error_with_decl, error_for_asm, error, set_fatal_function, fatal,
_fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
warning_with_decl, warning_for_asm, warning, pedwarn,
pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
diagnostic.c
(compile_file): Use fnotice instead of notice. Adjust call.
* diagnostic.c: New file.
* Makefile.in (OBJS): Include diagnostic.o
(diagnostic.o): Define dependence.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31003
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 18 Dec 1999 00:44:00 +0000 (00:44 +0000)]
* java/lang/reflect/Method.java (toString): Call getType if
required. Partial fix for PR libgcj/111. From Per Bothner.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31002
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 17 Dec 1999 23:17:43 +0000 (23:17 +0000)]
* config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
Tweak formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31001
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 17 Dec 1999 22:43:43 +0000 (22:43 +0000)]
* config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31000
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 17 Dec 1999 21:49:30 +0000 (21:49 +0000)]
1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
* fixtests.c (is_cxx_header): New fn, split out of
double_slash_test.
(else_endif_label): Allow "#endif // comment" in C++ headers,
as determined by is_cxx_header.
* fixfixes.c (else_endif_label_fix): Update comment.
* fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
a tty.
* genfixes: Correct double thinko in commandline parsing.
* hackshell.tpl: Generate correct sh syntax for bypass
entries.
* inclhack.def (all): Whenever an inserted preprocessor
conditional is split over multiple lines, use double
backslashes in this file so the fixed header will be readable.
(AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
and add bypass entry for correct version of this header.
(AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
(AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
(hpux8_bogus_inlines): New fix, split from...
(ultrix_atof_param) ... here.
(math_expression): Add bypass entry keyed to glibc comment
indicating the problem has been dealt with; disable
unnecessary sed operations; update commentary.
(math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
add select and bypass entries, simplify shell operation.
(math_huge_val_ifndef): Split from math_gcc_ifndefs.
(ip_missing_semi, rs6000_param, tinfo_cplusplus,
ultrix_atof_param): Add select entry.
(stdio_va_list, sunos_mather_decl): Add bypass entry.
(systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
comments with the fixes they describe.
* fixincl.x, fixincl.sh, inclhack.sh: Regen.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30999
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 17 Dec 1999 21:23:38 +0000 (21:23 +0000)]
1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
* c-parse.in (string action): Do not warn about ANSI string
concatenation in system headers. Affects C parser only.
* c-parse.y, c-parse.c, c-parse.h: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30998
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 17 Dec 1999 20:25:59 +0000 (20:25 +0000)]
* gjavah.c (decode_signature_piece): Print "::" in JArray<>. This
fixes PR gcj/119.
(process_file): Use `\n\' at end of each line in string.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30997
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 17 Dec 1999 16:06:17 +0000 (16:06 +0000)]
* java/lang/natPosixProcess.cc (startProcess): Don't use sprintf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30996
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 17 Dec 1999 15:49:32 +0000 (15:49 +0000)]
* config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
compiling libgcc2 the macro depends always on arch cpp defines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30995
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 17 Dec 1999 15:37:35 +0000 (15:37 +0000)]
* loop.c (insert_loop_mem): Don't record MEMs from inside
EXPR_LISTs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30994
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 17 Dec 1999 13:19:41 +0000 (13:19 +0000)]
* regclass.c (regclass): Do not use flowgraph when not optimizing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30993
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 17 Dec 1999 11:10:58 +0000 (11:10 +0000)]
* gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
notes too, create one when replacement failed, attempt to simplify
resulting notes.
(cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
or REG_EQUIV notes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30992
138bc75d-0d04-0410-961f-
82ee72b054a4