gcc.git
24 years agoDaily bump.
Jeff Law [Thu, 30 Dec 1999 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31136

24 years ago* gcc.c-torture/compile/991229-3.c: New test.
Jeffrey A Law [Thu, 30 Dec 1999 06:54:04 +0000 (06:54 +0000)]
* gcc.c-torture/compile/991229-3.c: New test.

From-SVN: r31135

24 years ago* gcc.c-torture/compile/991229-2.c: New test.
Jeffrey A Law [Thu, 30 Dec 1999 06:51:26 +0000 (06:51 +0000)]
* gcc.c-torture/compile/991229-2.c: New test.

From-SVN: r31134

24 years ago* gcc.c-torture/compile/991229-1.c: New test.
Jeffrey A Law [Thu, 30 Dec 1999 06:47:39 +0000 (06:47 +0000)]
* gcc.c-torture/compile/991229-1.c: New test.

From-SVN: r31133

24 years agodwarfout.c: Include "frame.h"
Gabriel Dos Reis [Thu, 30 Dec 1999 05:58:56 +0000 (06:58 +0100)]
dwarfout.c: Include "frame.h"

1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

        * dwarfout.c: Include "frame.h"
        * dwarf2out.c: Likewise.
        * Makefile.in (dwarfout.o): Depend on frame.h
        (dwarf2out.o): Likewise.

From-SVN: r31131

24 years ago* gcc.c-torture/compile/labels-2.c: New test.
Greg McGary [Thu, 30 Dec 1999 03:55:32 +0000 (03:55 +0000)]
* gcc.c-torture/compile/labels-2.c: New test.

From-SVN: r31128

24 years agoRestore i386 binary compatibility in Dwarf EH info.
Martin v. Loewis [Thu, 30 Dec 1999 03:44:13 +0000 (20:44 -0700)]
Restore i386 binary compatibility in Dwarf EH info.

        * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
        value of FIRST_PSEUDO_REGISTER.
        * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
        (struct frame_state): Use DWARF_FRAME_REGISTERS.
        * dwarfout.c (output_reg_number): Ditto.
        * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
        (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.

From-SVN: r31127

24 years agoC++ file type checking
Bruce Korb [Wed, 29 Dec 1999 22:59:16 +0000 (22:59 +0000)]
C++ file type checking

From-SVN: r31125

24 years agocrtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
Kaveh R. Ghazi [Wed, 29 Dec 1999 21:22:16 +0000 (21:22 +0000)]
crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.

* crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
Otherwise provide a declaration for atexit.
(init_dummy): Make sure dummy call to atexit is nevertheless
called with correct number of args.

* frame.c: Update comments referring to other files.

* libgcc2.c: Likewise.

From-SVN: r31124

24 years agocse.c (free_element, [...]): Remove unused prototypes.
Kaveh R. Ghazi [Wed, 29 Dec 1999 21:18:46 +0000 (21:18 +0000)]
cse.c (free_element, [...]): Remove unused prototypes.

* cse.c (free_element, get_element): Remove unused prototypes.

* fold-const.c (extract_muldiv): Initialize variables `op0' and
`op1'.

* jump.c (invert_exp): Add explicit braces to avoid ambiguous
`else' clauses.

From-SVN: r31123

24 years agoPatch to configure.in, approved by law@cygnus, for mn10200 processor.
Donald Lindsay [Wed, 29 Dec 1999 20:48:34 +0000 (20:48 +0000)]
Patch to configure.in, approved by law@cygnus, for mn10200 processor.

From-SVN: r31121

24 years agoclass.c (create_vtable_ptr): Put the vtable at the beginning of the class, not the...
Mark Mitchell [Wed, 29 Dec 1999 20:05:41 +0000 (20:05 +0000)]
class.c (create_vtable_ptr): Put the vtable at the beginning of the class, not the end, in the new ABI.

* class.c (create_vtable_ptr): Put the vtable at the beginning of
the class, not the end, in the new ABI.
* tree.c (propagate_binfo_offsets): Do the right thing for the new
ABI.

From-SVN: r31120

24 years ago* g77.texi (C Interfacing Tools): Fix an incorrect link.
Gerald Pfeifer [Wed, 29 Dec 1999 18:32:38 +0000 (19:32 +0100)]
* g77.texi (C Interfacing Tools): Fix an incorrect link.

From-SVN: r31119

24 years agopa.md (conditional zero): If op1 is a register, force it into the same register as...
Jeffrey A Law [Wed, 29 Dec 1999 17:54:29 +0000 (17:54 +0000)]
pa.md (conditional zero): If op1 is a register, force it into the same register as op0.

        * pa.md (conditional zero): If op1 is a register, force it into
        the same register as op0.

From-SVN: r31118

24 years agoDaily bump.
Jeff Law [Wed, 29 Dec 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31117

24 years agocp-tree.h (lang_type): Add nearly_empty_p.
Mark Mitchell [Wed, 29 Dec 1999 08:28:50 +0000 (08:28 +0000)]
cp-tree.h (lang_type): Add nearly_empty_p.

* cp-tree.h (lang_type): Add nearly_empty_p.  Adjust dummy.
(CLASSTYPE_NEARLY_EMPTY_P): New macro.
* class.c (check_bases): Update CLASSTYPE_NEARLY_EMPTY_P.
(check_field_decls): Likewise.
(check_bases_and_members): Likewise.

From-SVN: r31116

24 years agocp-tree.h (do_inline_function_hair): Remove.
Mark Mitchell [Wed, 29 Dec 1999 07:31:51 +0000 (07:31 +0000)]
cp-tree.h (do_inline_function_hair): Remove.

* cp-tree.h (do_inline_function_hair): Remove.
* class.c (layout_class_type): New function, split out from
finish_struct_1.
(fixup_pending_inline): Likewise.
(fixup_inline_methods): New function.
* method.c (fixup_pending_inline): Remove.
(do_inline_function_hair): Likewise.

* decl.c (BOOL_TYPE_SIZE): Bools always have size `1' under the
new ABI.

From-SVN: r31115

24 years agocp-tree.h (lang_type): Replace abstract_virtuals with pure_virtuals.
Mark Mitchell [Wed, 29 Dec 1999 06:39:42 +0000 (06:39 +0000)]
cp-tree.h (lang_type): Replace abstract_virtuals with pure_virtuals.

* cp-tree.h (lang_type): Replace abstract_virtuals with pure_virtuals.
(CLASSTYPE_ABSTRACT_VIRTUALS): Rename to ...
(CLASSTYPE_PURE_VIRTUALS): ... this.
(lang_decl_flags): Replace abstract_virtual with pure_virtual.
(DECL_ABSTRACT_VIRTUAL_P): Rename to ...
(DECL_PURE_VIRTUAL_P): ... this.
(get_abstract_virtuals): Rename to ...
(get_pure_virtuals): ... this.
* call.c (build_new_method_call): Replace DECL_PURE_VIRTUAL_P with
DECL_ABSTRACT_VIRTUAL_P.  Replace CLASSTYPE_ABSTRACT_VIRTUALS with
CLASSTYPE_PURE_VIRTUALS.
* class.c (build_vtable_entry): Likewise.
(finish_struct_bits): Likewise.  Call get_pure_virtuals, not
get_abstract_virtuals.
(build_vtbl_initializer): Likewise.
(override_one_vtable): Likewise.
(check_methods): Likewise.
* decl.c (duplicate_decls): Likewise.
(redeclaration_error_message): Likewise.
(lang_mark_tree): Likewise.
* decl2.c (grok_function_init): Likewise.
(import_export_vtable): Likewise.
(import_expor_class): Likewise.
* typeck2.c (abstract_virtuals_error): Likewise.
* xref.c (GNU_xref_member): Likewise.
* search.c (get_abstract_virtuals): Rename to get_pure_virtuals.

From-SVN: r31114

24 years ago* tree.h (BINFO_BASETYPES): Improve documentation.
Mark Mitchell [Wed, 29 Dec 1999 06:12:58 +0000 (06:12 +0000)]
* tree.h (BINFO_BASETYPES): Improve documentation.

From-SVN: r31113

24 years agoconfigure.in (--enable-checking): Use a more portable `for' loop syntax.
Kaveh R. Ghazi [Tue, 28 Dec 1999 17:31:23 +0000 (17:31 +0000)]
configure.in (--enable-checking): Use a more portable `for' loop syntax.

        * configure.in (--enable-checking): Use a more portable `for'
        loop syntax.

From-SVN: r31110

24 years agoconfigure.in (AC_DECL_SYS_SIGLIST, [...]): Don't use.
Kaveh R. Ghazi [Tue, 28 Dec 1999 16:36:09 +0000 (16:36 +0000)]
configure.in (AC_DECL_SYS_SIGLIST, [...]): Don't use.

        * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
        arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.

        * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
        Delete files.

        * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
        Delete descriptions.

        * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
        m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
        m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
        pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
        xm-svr4.h: Remove all instances of sys_siglist handling.

From-SVN: r31109

24 years agosparc.md (cmp_zero_qi, [...]): New patterns.
Jakub Jelinek [Tue, 28 Dec 1999 09:33:11 +0000 (10:33 +0100)]
sparc.md (cmp_zero_qi, [...]): New patterns.

* config/sparc/sparc.md (cmp_zero_qi,
cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
cmp_zero_extendqidi2_andcc_set): New patterns.

From-SVN: r31108

24 years agot-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
Manfred Hollstein [Tue, 28 Dec 1999 09:15:24 +0000 (09:15 +0000)]
t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.

* m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
(LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
(fpgnulib.c, xfgnulib.c): Add rules.
* m68k/t-mot3300-gas: Likewise.

From-SVN: r31107

24 years agoDaily bump.
Jeff Law [Tue, 28 Dec 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31106

24 years agoconfigure.in: Avoid [[ by using test and changequote.
Ian Lance Taylor [Tue, 28 Dec 1999 03:22:04 +0000 (03:22 +0000)]
configure.in: Avoid [[ by using test and changequote.

* configure.in: Avoid [[ by using test and changequote.  Add
changequote required by 1999-12-14 change.
* configure: Rebuild.

From-SVN: r31105

24 years ago* config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
Clinton Popetz [Mon, 27 Dec 1999 23:31:48 +0000 (23:31 +0000)]
* config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.

From-SVN: r31104

24 years agoalias.c (nonlocal_reference_p): Add else for disjoint ifs.
Christophe Jaillet [Mon, 27 Dec 1999 23:01:12 +0000 (23:01 +0000)]
alias.c (nonlocal_reference_p): Add else for disjoint ifs.

        * 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.

From-SVN: r31103

24 years agovasprintf.c (int_vasprintf): Don't re-read the format character as this mishandles...
Geoff Keating [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'.

* vasprintf.c (int_vasprintf): Don't re-read the format character
as this mishandles strings like '%%s'.

From-SVN: r31102

24 years agodiagnostic.c (v_message_with_decl): Use .* format specifier instead of building the...
Kaveh R. 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.

       * diagnostic.c (v_message_with_decl): Use .* format specifier
       instead of building the format specifier width manually.

From-SVN: r31101

24 years agosystem.h (strsignal): Don't check HAVE_STRSIGNAL when determining whether to provide...
Kaveh R. 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.

        * system.h (strsignal): Don't check HAVE_STRSIGNAL when
        determining whether to provide a prototype.  Remove the
        sys_siglist clause in the conditional.

From-SVN: r31100

24 years agoUpdate for 991221 and 991227
Martin v. Löwis [Mon, 27 Dec 1999 11:39:01 +0000 (11:39 +0000)]
Update for 991221 and 991227

From-SVN: r31099

24 years agoNew test case
Martin v. Löwis [Mon, 27 Dec 1999 11:36:24 +0000 (11:36 +0000)]
New test case

From-SVN: r31098

24 years agofold-const.c (operand_equal_p): Use memcmp to compare string constants.
Martin v. Löwis [Mon, 27 Dec 1999 11:35:07 +0000 (11:35 +0000)]
fold-const.c (operand_equal_p): Use memcmp to compare string constants.

* fold-const.c (operand_equal_p): Use memcmp to compare string
constants.

From-SVN: r31097

24 years agoDaily bump.
Jeff Law [Mon, 27 Dec 1999 08:45:09 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31096

24 years agoh8300.h (TARGET_H8300H, [...]): Make sure UNITS_PER_WORD and BITS_PER_WORD are compil...
Jakub Jelinek [Mon, 27 Dec 1999 08:34:45 +0000 (09:34 +0100)]
h8300.h (TARGET_H8300H, [...]): Make sure UNITS_PER_WORD and BITS_PER_WORD are compile time constants when...

* 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.

From-SVN: r31095

24 years agoCommit forgotten Thread.java patch.
Bryce McKinlay [Mon, 27 Dec 1999 07:33:22 +0000 (07:33 +0000)]
Commit forgotten Thread.java patch.

From-SVN: r31094

24 years agoacconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING, GC_CHECKING, GC_ALWAYS_COL...
Zack Weinberg [Sun, 26 Dec 1999 23:06:54 +0000 (23:06 +0000)]
acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING, GC_CHECKING, GC_ALWAYS_COLLECT.

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.

From-SVN: r31093

24 years agodecl.c (store_return_init): Use mode of old RTL generated for DECL_RESULT, not the...
Mark Mitchell [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.

* 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.

From-SVN: r31092

24 years ago* fold-const.c (fold_truthop): Properly check for FP RHS.
Richard Kenner [Sun, 26 Dec 1999 12:43:28 +0000 (12:43 +0000)]
* fold-const.c (fold_truthop): Properly check for FP RHS.

From-SVN: r31091

24 years agoDaily bump.
Jeff Law [Sun, 26 Dec 1999 08:45:42 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31090

24 years agoDaily bump.
Jeff Law [Sat, 25 Dec 1999 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31089

24 years agotoplev.h (note_deferall_of_defined_inline_function): Declare.
Mark Mitchell [Fri, 24 Dec 1999 20:24:16 +0000 (20:24 +0000)]
toplev.h (note_deferall_of_defined_inline_function): Declare.

* 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.

From-SVN: r31088

24 years agoexpr.c (store_constructor): Don't call clear_storage if size is variable.
Richard 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.

* expr.c (store_constructor): Don't call clear_storage if size is
variable.

From-SVN: r31086

24 years agoMakefile.in (toplev.o): Depend on loop.h.
Kaveh R. Ghazi [Fri, 24 Dec 1999 14:04:54 +0000 (14:04 +0000)]
Makefile.in (toplev.o): Depend on loop.h.

* 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.

From-SVN: r31085

24 years agoDaily bump.
Jeff Law [Fri, 24 Dec 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31084

24 years agolinux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the NO_SIGNALS case.
Bryce McKinlay [Fri, 24 Dec 1999 01:08:34 +0000 (01:08 +0000)]
linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the NO_SIGNALS case.

1999-12-22  Bryce McKinlay  <bryce@albatross.co.nz>

        * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
        NO_SIGNALS case.

From-SVN: r31083

24 years agonatObject.cc (notify): Throw message with IllegalMonitorStateException.
Bryce McKinlay [Fri, 24 Dec 1999 01:00:46 +0000 (01:00 +0000)]
natObject.cc (notify): Throw message with IllegalMonitorStateException.

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.

From-SVN: r31082

24 years agoreload1.c (emit_input_reload_insns): Restore old behaviour wrt.
J"orn Rennecke [Thu, 23 Dec 1999 23:17:20 +0000 (23:17 +0000)]
reload1.c (emit_input_reload_insns): Restore old behaviour wrt.

* reload1.c (emit_input_reload_insns): Restore old behaviour
wrt. 'special' reloads.

From-SVN: r31081

24 years agoMakefile.in (ggc-simple.c, ggc-page.c): Don't depend on hash.h.
Zack Weinberg [Thu, 23 Dec 1999 17:54:00 +0000 (17:54 +0000)]
Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on hash.h.

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.

From-SVN: r31080

24 years agoDaily bump.
Jeff Law [Thu, 23 Dec 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31079

24 years agodwarf2out.c (add_abstract_origin_attribute): Call gen_abstract_function on our functi...
Jason Merrill [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.

        * dwarf2out.c (add_abstract_origin_attribute): Call
        gen_abstract_function on our function context.

From-SVN: r31078

24 years ago* Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
Hans-Peter Nilsson [Thu, 23 Dec 1999 02:00:31 +0000 (02:00 +0000)]
* Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.

From-SVN: r31077

24 years ago* MAINTAINERS: Add myself to "write after approval" list.
Hans-Peter Nilsson [Thu, 23 Dec 1999 01:47:09 +0000 (01:47 +0000)]
* MAINTAINERS: Add myself to "write after approval" list.

From-SVN: r31076

24 years agoAdd myself to "write after approval" list
Hans-Peter Nilsson [Thu, 23 Dec 1999 01:32:54 +0000 (01:32 +0000)]
Add myself to "write after approval" list

From-SVN: r31075

24 years agoc4x.c (c4x_address_cost): Add statement to default case in switch.
Michael Hayes [Wed, 22 Dec 1999 20:47:57 +0000 (20:47 +0000)]
c4x.c (c4x_address_cost): Add statement to default case in switch.

* config/c4x/c4x.c (c4x_address_cost): Add statement to default
case in switch.

From-SVN: r31074

24 years ago* dump.c (dequeue_and_dump): Handle CTOR_STMTs.
Mark Mitchell [Wed, 22 Dec 1999 18:00:58 +0000 (18:00 +0000)]
* dump.c (dequeue_and_dump): Handle CTOR_STMTs.

From-SVN: r31073

24 years agoc4x.md (*addqi3_noclobber_reload): Change operand 0 constraints to "a!r".
Michael Hayes [Wed, 22 Dec 1999 09:50:19 +0000 (09:50 +0000)]
c4x.md (*addqi3_noclobber_reload): Change operand 0 constraints to "a!r".

* config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
constraints to "a!r".

From-SVN: r31072

24 years agooops, not an ICE, just a bogus error
Alexandre Oliva [Wed, 22 Dec 1999 09:25:27 +0000 (09:25 +0000)]
oops, not an ICE, just a bogus error

From-SVN: r31071

24 years agooops, it needs -O1 to fail
Alexandre Oliva [Wed, 22 Dec 1999 09:22:49 +0000 (09:22 +0000)]
oops, it needs -O1 to fail

From-SVN: r31070

24 years ago* nameret2.C: New test.
Alexandre Oliva [Wed, 22 Dec 1999 09:21:44 +0000 (09:21 +0000)]
* nameret2.C: New test.

From-SVN: r31069

24 years agolibio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of _IO_fpos_t.
Jakub Jelinek [Wed, 22 Dec 1999 09:01:59 +0000 (10:01 +0100)]
libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of _IO_fpos_t.

* 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.

From-SVN: r31068

24 years ago* error.c (dump_decl): Support named return values.
Alexandre Oliva [Wed, 22 Dec 1999 08:52:49 +0000 (08:52 +0000)]
* error.c (dump_decl): Support named return values.

From-SVN: r31067

24 years ago* g++.old-deja/g++.pt/instantiate6.C: Remove excess errors XFAIL.
Alexandre Oliva [Wed, 22 Dec 1999 08:48:32 +0000 (08:48 +0000)]
* g++.old-deja/g++.pt/instantiate6.C: Remove excess errors XFAIL.

From-SVN: r31066

24 years agoDaily bump.
Jeff Law [Wed, 22 Dec 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31065

24 years ago* nameret1.C: New test.
Alexandre Oliva [Wed, 22 Dec 1999 08:41:27 +0000 (08:41 +0000)]
* nameret1.C: New test.

From-SVN: r31064

24 years agotweaks
Alexandre Oliva [Wed, 22 Dec 1999 04:54:48 +0000 (04:54 +0000)]
tweaks

From-SVN: r31063

24 years ago* template10.C: New test.
Alexandre Oliva [Wed, 22 Dec 1999 04:52:11 +0000 (04:52 +0000)]
* template10.C: New test.

From-SVN: r31062

24 years ago* mauve-libgcj: Added java.lang.reflect.Modifier.toString12.
Tom Tromey [Tue, 21 Dec 1999 23:50:01 +0000 (23:50 +0000)]
* mauve-libgcj: Added java.lang.reflect.Modifier.toString12.

From-SVN: r31061

24 years agoAdd commentary:Remove seek for ios::app if not.
Martin v. Löwis [Tue, 21 Dec 1999 18:14:50 +0000 (18:14 +0000)]
Add commentary:Remove seek for ios::app if not.

From-SVN: r31059

24 years ago* filebuf.cc (open): Support ios::ate if _G_HAVE_IO_FILE_OPEN.
Martin v. Löwis [Tue, 21 Dec 1999 18:10:24 +0000 (18:10 +0000)]
* filebuf.cc (open): Support ios::ate if _G_HAVE_IO_FILE_OPEN.

From-SVN: r31057

24 years agoMakefile.in (calls.o): Depend on function.h.
Mark Mitchell [Tue, 21 Dec 1999 17:27:23 +0000 (17:27 +0000)]
Makefile.in (calls.o): Depend on function.h.

* Makefile.in (calls.o): Depend on function.h.
(alias.o): Likewise.

From-SVN: r31056

24 years agoNew test
Mark Mitchell [Tue, 21 Dec 1999 17:03:24 +0000 (17:03 +0000)]
New test

From-SVN: r31053

24 years agoBreak up emit_reload_insns.
Bernd Schmidt [Tue, 21 Dec 1999 13:56:28 +0000 (13:56 +0000)]
Break up emit_reload_insns.

From-SVN: r31052

24 years ago* pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
Richard Kenner [Tue, 21 Dec 1999 12:11:13 +0000 (12:11 +0000)]
* pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.

From-SVN: r31050

24 years ago* md.texi: Add c4x constraints documentation.
Michael Hayes [Tue, 21 Dec 1999 10:45:28 +0000 (10:45 +0000)]
* md.texi: Add c4x constraints documentation.

From-SVN: r31049

24 years agoNew test case.
Martin v. Löwis [Tue, 21 Dec 1999 09:49:39 +0000 (09:49 +0000)]
New test case.

From-SVN: r31048

24 years agodgux.c (struct option): Rename to lang_independent_option.
Martin v. Löwis [Tue, 21 Dec 1999 09:31:50 +0000 (09:31 +0000)]
dgux.c (struct option): Rename to lang_independent_option.

* 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.

From-SVN: r31047

24 years agoDaily bump.
Jeff Law [Tue, 21 Dec 1999 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31046

24 years agoMakefile.in (crtbegin.o, [...]): Depend on stmp-int-hdrs.
Mike Stump [Tue, 21 Dec 1999 06:18:22 +0000 (06:18 +0000)]
Makefile.in (crtbegin.o, [...]): Depend on stmp-int-hdrs.

        * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
        stmp-int-hdrs.
        (libgcc2.a): Similarly.

From-SVN: r31045

24 years agolonglong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss with W_TYPE_SIZE ...
David Edelsohn [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.

        * 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.

From-SVN: r31044

24 years agofold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
Jeffrey A Law [Tue, 21 Dec 1999 06:02:59 +0000 (06:02 +0000)]
fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.

        * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
        Remove redundant initialization of "frexpon" and "expon".

From-SVN: r31043

24 years agocp-tree.h (CLASSTYPE_VFIELD_PARENT): Update comments.
Mark Mitchell [Tue, 21 Dec 1999 02:11:10 +0000 (02:11 +0000)]
cp-tree.h (CLASSTYPE_VFIELD_PARENT): Update comments.

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.

From-SVN: r31042

24 years agocp-tree.h (TYPE_VIRTUAL_P): Rename to ...
Mark Mitchell [Tue, 21 Dec 1999 00:19:01 +0000 (00:19 +0000)]
cp-tree.h (TYPE_VIRTUAL_P): Rename to ...

* 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.

From-SVN: r31041

24 years agoModifier.java (STRICT): New constant.
Tom Tromey [Mon, 20 Dec 1999 23:05:21 +0000 (23:05 +0000)]
Modifier.java (STRICT): New constant.

* java/lang/reflect/Modifier.java (STRICT): New constant.
(isStrict): New method.
(toString): Added `strict'.

From-SVN: r31040

24 years agoFix typo in turned-off code
Richard Kenner [Mon, 20 Dec 1999 22:55:38 +0000 (17:55 -0500)]
Fix typo in turned-off code

From-SVN: r31039

24 years ago* tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
Richard 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.

From-SVN: r31038

24 years agoexpr.c (store_constructor): New argument SIZE; pass to clear_storage.
Richard Kenner [Mon, 20 Dec 1999 20:29:36 +0000 (20:29 +0000)]
expr.c (store_constructor): New argument SIZE; pass to clear_storage.

* expr.c (store_constructor): New argument SIZE; pass to clear_storage.
(store_constructor_field, expand_expr): Pass new arg.

From-SVN: r31037

24 years agoMakefile.in (explow.o): Depend on function.h.
Mark Mitchell [Mon, 20 Dec 1999 19:47:58 +0000 (19:47 +0000)]
Makefile.in (explow.o): Depend on function.h.

* Makefile.in (explow.o): Depend on function.h.

* stor-layout.c (set_sizetype): Fix typo.

From-SVN: r31036

24 years ago* g++.old-deja/g++.other/cast3.C: New test.
Nathan Sidwell [Mon, 20 Dec 1999 15:54:19 +0000 (15:54 +0000)]
* g++.old-deja/g++.other/cast3.C: New test.

From-SVN: r31035

24 years agotypeck.c (strip_all_pointer_quals): New static function.
Nathan Sidwell [Mon, 20 Dec 1999 15:53:43 +0000 (15:53 +0000)]
typeck.c (strip_all_pointer_quals): New static function.

* typeck.c (strip_all_pointer_quals): New static function.
(build_static_cast): Use it. Don't use at_least_as_qualified_p.

From-SVN: r31034

24 years agocurrent_function -> cfun
Bernd Schmidt [Mon, 20 Dec 1999 13:18:17 +0000 (13:18 +0000)]
current_function -> cfun

From-SVN: r31033

24 years agoChange some regsets to regset_heads
Bernd Schmidt [Mon, 20 Dec 1999 12:13:01 +0000 (12:13 +0000)]
Change some regsets to regset_heads

From-SVN: r31032

24 years agoDaily bump.
Jeff Law [Mon, 20 Dec 1999 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31031

24 years agoAlpha Linux changes.
Anthony Green [Mon, 20 Dec 1999 05:55:34 +0000 (05:55 +0000)]
Alpha Linux changes.

From-SVN: r31030

24 years ago* config/c4x/rtems.h: New file.
Michael Hayes [Mon, 20 Dec 1999 04:40:37 +0000 (04:40 +0000)]
* config/c4x/rtems.h: New file.

From-SVN: r31029

24 years agogcconfig.h: Use libgcj hack for Alpha Linux.
Anthony Green [Mon, 20 Dec 1999 02:34:52 +0000 (02:34 +0000)]
gcconfig.h: Use libgcj hack for Alpha Linux.

       * gcconfig.h: Use libgcj hack for Alpha Linux.
       Undefine MPROTEXT_VDB (from Jeff Sturm).
       * os_dep.c: Remove Alpha Linux hacks.
       * misc.c: Ditto.

From-SVN: r31028

24 years agolibgcjdata.c: New file.
Anthony Green [Mon, 20 Dec 1999 02:18:11 +0000 (02:18 +0000)]
libgcjdata.c: New file.

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.

From-SVN: r31027

24 years agoBetter spill failure messages.
Bernd Schmidt [Sun, 19 Dec 1999 17:39:15 +0000 (17:39 +0000)]
Better spill failure messages.

From-SVN: r31026

24 years agors6000.h (SUBTARGET_DEFAULT): New macro.
Richard Kenner [Sun, 19 Dec 1999 12:45:21 +0000 (12:45 +0000)]
rs6000.h (SUBTARGET_DEFAULT): New macro.

* rs6000.h (SUBTARGET_DEFAULT): New macro.
(TARGET_SWITCHES): Allow subtargets to default switches.
* rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.

From-SVN: r31025

24 years agoDaily bump.
Jeff Law [Sun, 19 Dec 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31024