OSDN Git Service

pf3gnuchains/gcc-fork.git
24 years ago * class.c (get_vtable_name): Use a literal format string and
ghazi [Sat, 11 Dec 1999 19:02:10 +0000 (19:02 +0000)]
* class.c (get_vtable_name): Use a literal format string and
VTABLE_NAME_PREFIX macro instead of VTABLE_NAME_FORMAT.
(prepare_fresh_vtable): Likewise.

* cp-tree.h (VTABLE_NAME_PREFIX): Define this instead of
VTABLE_NAME_FORMAT.

* decl.c (make_rtl_for_local_static): Remove unused variable `type'.

* init.c (build_vec_init): Initialize variable `try_body'.

* lex.c (yyerror): Don't call a variadic function with a
non-literal format string.

* optimize.c (optimize_function): Call memset, not bzero.

* pt.c (for_each_template_parm_r): Add static prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30868 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * typeck.c (apply_chill_array_layout, apply_chill_field_layout):
ghazi [Sat, 11 Dec 1999 15:22:24 +0000 (15:22 +0000)]
    * typeck.c (apply_chill_array_layout, apply_chill_field_layout):
        Avoid the use of ANSI string concatenation.

        * expr.c (chill_expand_case_expr): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30867 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Sat, 11 Dec 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30866 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * configure.in: Fix typo for "-64" in 64bit as check.
davem [Fri, 10 Dec 1999 22:33:07 +0000 (22:33 +0000)]
    * configure.in: Fix typo for "-64" in 64bit as check.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30865 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
davem [Fri, 10 Dec 1999 21:29:46 +0000 (21:29 +0000)]
* longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
appropriate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30864 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * c-parse.in (string): With -Wtraditional, warn if ANSI string
ghazi [Fri, 10 Dec 1999 21:00:34 +0000 (21:00 +0000)]
    * c-parse.in (string): With -Wtraditional, warn if ANSI string
        concatenation is utilized.

        * invoke.texi (-Wtraditional): Document it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30863 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
ghazi [Fri, 10 Dec 1999 20:02:43 +0000 (20:02 +0000)]
    * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
        Cast a ptrdiff_t to long and pass it to printf with %ld.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30862 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
geoffk [Fri, 10 Dec 1999 19:15:32 +0000 (19:15 +0000)]
* config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
68881, we have no 68881 registers at all.
(HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
value in a 68881 register if it is available.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30861 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
cpopetz [Fri, 10 Dec 1999 18:11:58 +0000 (18:11 +0000)]
* config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
for long long multiply-accumulate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30860 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago1999-11-17 Andrew Haley <aph@cygnus.com>
aph [Fri, 10 Dec 1999 16:06:23 +0000 (16:06 +0000)]
1999-11-17  Andrew Haley  <aph@cygnus.com>

* parse.h (BUILD_THROW): Add support for sjlj-exceptions.
decl.c (init_decl_processing): Add _Jv_Sjlj_Throw.
expr.c (build_java_athrow): Add support for sjlj-exceptions.
java-tree.h: Ditto.
jcf-write.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30859 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoUndo previous change
crux [Fri, 10 Dec 1999 15:27:55 +0000 (15:27 +0000)]
Undo previous change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30858 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
davem [Fri, 10 Dec 1999 12:08:51 +0000 (12:08 +0000)]
* config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
New functions.
* config/sparc/sparc-protos.h: Add them.
* config/sparc/sparc.h: Add them to PREDICATE_CODES.
(EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
constraints which use those helpers.
(EXTRA_CONSTRAINT): Use this new macro.
* md.texi: Update sparc target constraints documentation.
* config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
movsf_const_high, movsf_const_lo, movsf_insn): Delete.
(movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
(movsf high/lo_sum split): Rework for new patterns.
(movsf expander): Allow storing fp_zero to memory if ! live_g0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30857 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Fri, 10 Dec 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30856 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * c-common.c (c_common_nodes_and_builtins):
gavin [Fri, 10 Dec 1999 04:26:06 +0000 (04:26 +0000)]
* c-common.c (c_common_nodes_and_builtins):
Create __builtin_ptrdiff_t and __builtin_size_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30855 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
law [Fri, 10 Dec 1999 01:09:59 +0000 (01:09 +0000)]
    * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30854 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * regclass.c (globalize_reg): Re-instate test that allows
amylaar [Fri, 10 Dec 1999 00:57:03 +0000 (00:57 +0000)]
* regclass.c (globalize_reg): Re-instate test that allows
fixed registers to be declared as a variable even after functions
are defined.

* testsuite/gcc.dg/991209-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30853 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * i386.md (cpu attribute): Add "athlon".
hubicka [Thu, 9 Dec 1999 23:54:58 +0000 (23:54 +0000)]
* i386.md (cpu attribute): Add "athlon".
(athlon_decode): New attribute.
(Athlon scheduling units definitions): New.
(fcmp and shld patterns): Set athlon_decode to "vector".
* i386.c (athlon_cost): New.
(m_ATHLON): New.
(x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
x86_use_sahf): Set for Athlon.
(x86_use_fiop): Unset for Athlon.
(override_options): Define Athlon alignments and "athlon" name.
(x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
* i386.h (TARGET_ATHLON): New.
(enum processor_type): Add PROCESSOR_ATHLON.
(TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
for CPU_DEFAULT==6
(TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30852 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * loop.c (record_biv): Declare parameter as int.
mmitchel [Thu, 9 Dec 1999 23:37:30 +0000 (23:37 +0000)]
* loop.c (record_biv): Declare parameter as int.

* config/i386/i386-protos.h: Declare long_memory_operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30851 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * except.c (expand_throw): Add static attribute to match
mmitchel [Thu, 9 Dec 1999 23:24:58 +0000 (23:24 +0000)]
* except.c (expand_throw): Add static attribute to match
prototype.

* Makefile.in (semantics.o): Add dependency on output.h.
* semantics.c: Include output.h for declaration of
make_function_rtl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30850 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl.c (init_decl_processing): Reenable inlining on trees.
mmitchel [Thu, 9 Dec 1999 19:13:33 +0000 (19:13 +0000)]
* decl.c (init_decl_processing): Reenable inlining on trees.
(finish_function): Likewise.
* expr.c (cplus_expand_expr): Don't handle AGGR_INIT_EXPR here.
* semantics.c (simplify_aggr_init_exprs): New function.
(expand_body): Use it.
* tree.c (walk_tree): Special-case TARGET_EXPRs since they
sometimes present the same sub-tree twice.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30849 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
mmitchel [Thu, 9 Dec 1999 18:59:30 +0000 (18:59 +0000)]
* tree.c (copy_node): Do zero the TREE_CHAIN, even for an
EXPR_WITH_FILE_LOCATION.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30848 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * include/posix-threads.h (_Jv_PthreadCheckMonitor): Handle case
tromey [Thu, 9 Dec 1999 16:57:27 +0000 (16:57 +0000)]
* include/posix-threads.h (_Jv_PthreadCheckMonitor): Handle case
where no recursive mutexes exist.  Fixes PR libgcj/117.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30847 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
davem [Thu, 9 Dec 1999 14:38:11 +0000 (14:38 +0000)]
* config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.

* calls.c (precompute_arguments): Make sure initial_value contains
value pseudo which CSE expects.
* cse.c (struct set): New entry orig_src.
(cse_insn): Set it early on entry, use it for libcall EQUIV note
replacement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30846 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago > * decl.c (init_decl_processing): Mark throw_node as a noreturn
green [Thu, 9 Dec 1999 12:32:48 +0000 (12:32 +0000)]
  >     * decl.c (init_decl_processing): Mark throw_node as a noreturn
  >     function with side effects.
  >     (init_decl_processing): Mark all memory allocating DECLs with
  >     DECL_IS_MALLOC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30845 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand in expander.
hubicka [Thu, 9 Dec 1999 10:53:29 +0000 (10:53 +0000)]
* i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand in expander.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30844 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
hubicka [Thu, 9 Dec 1999 10:51:44 +0000 (10:51 +0000)]
* flow.c (recompute_reg_usage): Use basic block info to get loop_depth.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30843 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
hubicka [Thu, 9 Dec 1999 10:46:10 +0000 (10:46 +0000)]
* combine.c (try_combine, distribute_notes): Remove REG_N_REFS
updating code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30842 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
rth [Thu, 9 Dec 1999 10:41:45 +0000 (10:41 +0000)]
    * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
        default on linux64 again.
        * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
        models for multilibing.
        * genmultilib: Accept | as alternative separator within a set in
        MULTILIB_OPTIONS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30841 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * dump.c (dequeue_and_dump): Abbreviate `class' as `cls', not
mmitchel [Thu, 9 Dec 1999 09:07:29 +0000 (09:07 +0000)]
* dump.c (dequeue_and_dump): Abbreviate `class' as `cls', not
`csl'.

* semantics.c (finish_switch_cond): Do conversions here, not ...
* typeck.c (c_expand_start_case): Here.

* semantics.c (do_poplevel): Remove unused variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30840 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Thu, 9 Dec 1999 08:45:09 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30839 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcc.c-torture/compile/991208-1.c: New test.
law [Thu, 9 Dec 1999 06:43:06 +0000 (06:43 +0000)]
    * gcc.c-torture/compile/991208-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30838 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
rth [Thu, 9 Dec 1999 06:25:11 +0000 (06:25 +0000)]
    * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30837 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * longlong.h: Merge in changes from glibc.
davem [Thu, 9 Dec 1999 01:00:45 +0000 (01:00 +0000)]
* longlong.h: Merge in changes from glibc.
Also don't clobber %g2 register in 32bit SPARC assembly, so that
-mno-app-regs libgcc can be compiled.
* libgcc2.c: Add defines so that the updated longlong.h
can be used in libgcc2.a. Also, make sure on most architectures
(at least on all which have optimized code in longlong.h defined
for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30836 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDon't hoist volatile mems out of loops.
crux [Wed, 8 Dec 1999 17:49:26 +0000 (17:49 +0000)]
Don't hoist volatile mems out of loops.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30834 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
davem [Wed, 8 Dec 1999 15:28:00 +0000 (15:28 +0000)]
* config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
if TARGET_ARCH32.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30833 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.c (ultra_cmove_results_ready_p,
davem [Wed, 8 Dec 1999 15:22:38 +0000 (15:22 +0000)]
* config/sparc/sparc.c (ultra_cmove_results_ready_p,
ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30832 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
oliva [Wed, 8 Dec 1999 12:30:22 +0000 (12:30 +0000)]
* config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
`-m EMULATION' is added to non-default LINK_ARCH_SPECs.
* configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
is GNU ld.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30830 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * alpha.c (secondary_reload_class): For !BWX, sub-simode
rth [Wed, 8 Dec 1999 11:47:38 +0000 (11:47 +0000)]
    * alpha.c (secondary_reload_class): For !BWX, sub-simode
        outputs require a register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30829 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
brendan [Wed, 8 Dec 1999 11:44:47 +0000 (11:44 +0000)]
* Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
    _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
    functions like dptoul will be resolved.
    (libgcc2.a): Make sure that the object files from DPBIT are named
    differently (prefix `_dp') from those that would be coming from
    FPBIT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30828 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* configure.in: When target is sparc* and tm_file contains 64,
oliva [Wed, 8 Dec 1999 10:27:54 +0000 (10:27 +0000)]
* configure.in: When target is sparc* and tm_file contains 64,
test for 64bit support in assembler.  If not supported, remove
sparc/t-sol2-64 from target-dependent Makefile fragments.
(AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
(HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
(HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
* acconfig.h (AS_SPARC64_FLAG): Added.
* configure, config.in: Rebuilt.
* config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
support.  Use AS_SPARC64_FLAG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30827 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Wed, 8 Dec 1999 08:45:06 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30826 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * configure.in (sparc64-*-linux*): Use posix threads if enabled.
davem [Wed, 8 Dec 1999 08:04:43 +0000 (08:04 +0000)]
* configure.in (sparc64-*-linux*): Use posix threads if enabled.
* configure: Rebuilt.
* config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
-mcpu is given and we're doing 64bit compiles.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30825 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
davem [Wed, 8 Dec 1999 08:00:51 +0000 (08:00 +0000)]
* config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
* config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
* config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
routines, _Qp_* cannot be handled like that now.
(INIT_TARGET_OPTABS): Likewise.
* config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
(seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
sparc_emit_float_lib_cmp if ARCH64 and soft float.
(extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
divtf3, sqrttf3): New expanders.
(extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
non-_hq patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30824 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
davem [Wed, 8 Dec 1999 07:50:45 +0000 (07:50 +0000)]
* config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
as legitimate constant if -mvis.
* config/sparc/sparc.md (movtf): Likewise.
(clear_sf): Use const_double_operand.
(clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30823 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
davem [Wed, 8 Dec 1999 07:28:17 +0000 (07:28 +0000)]
* config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
so that it is actually matched.
(sethi_di_medlow): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30822 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
davem [Wed, 8 Dec 1999 07:26:04 +0000 (07:26 +0000)]
* config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
suitable for holding OFmode values so that gcc works with complex
quad long doubles.
(hard_64bit_mode_classes): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30821 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * loop.h (struct induction): Add multi_insn_incr.
rth [Wed, 8 Dec 1999 03:22:33 +0000 (03:22 +0000)]
    * loop.h (struct induction): Add multi_insn_incr.
        * loop.c (basic_induction_var): New multi_insn_incr argument.
        Set it if we search back through previous insns for the biv.
        (record_biv): New multi_insn_incr argument; fill in struct induction.
        (strength_reduce): Discard an iv with multiple bivs, any of
        which require multiple insns to increment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30820 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
loewis [Tue, 7 Dec 1999 22:00:33 +0000 (22:00 +0000)]
* invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30819 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Tue, 7 Dec 1999 08:45:06 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30817 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * tree.c (walk_tree): Don't recurse into DECL_INITIAL or DECL_SIZE
mmitchel [Tue, 7 Dec 1999 07:49:33 +0000 (07:49 +0000)]
* tree.c (walk_tree): Don't recurse into DECL_INITIAL or DECL_SIZE
unless we're declaring the variable in question.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30816 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * tree.c (walk_tree): Don't recurse into DECL_INITIAL or DECL_SIZE
mmitchel [Tue, 7 Dec 1999 07:38:21 +0000 (07:38 +0000)]
* tree.c (walk_tree): Don't recurse into DECL_INITIAL or DECL_SIZE
unless we're declaring the variable in question.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30815 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * combine.c (check_promoted_subreg): Do not conditionalize this upon
davem [Tue, 7 Dec 1999 03:05:45 +0000 (03:05 +0000)]
* combine.c (check_promoted_subreg): Do not conditionalize this upon
PROMOTE_FUNCTION_RETURN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30814 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix ia64 abort while compiling gcc.c-torture/unsorted/logic.c.
wilson [Tue, 7 Dec 1999 00:24:38 +0000 (00:24 +0000)]
Fix ia64 abort while compiling gcc.c-torture/unsorted/logic.c.
* regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
and handle REG_UNUSED note on insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30813 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix ia64 execute/930630-1.c miscompilation.
wilson [Mon, 6 Dec 1999 23:22:47 +0000 (23:22 +0000)]
Fix ia64 execute/930630-1.c miscompilation.
* combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
inner_mask instead of mask.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30812 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoTue Nov 30 12:36:15 1999 Anthony Green <green@cygnus.com>
apbianco [Mon, 6 Dec 1999 19:56:58 +0000 (19:56 +0000)]
Tue Nov 30 12:36:15 1999  Anthony Green  <green@cygnus.com>

        * verify.c (verify_jvm_instructions): Create new return label
        chain if non existant (don't rely on the verified state of the jsr
        target.)

Tue Nov 23 17:29:40 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * verify.c (merge_type_state): Non verified subroutines being
        considered more than once to trigger passive type merge.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30811 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
davem [Mon, 6 Dec 1999 19:53:38 +0000 (19:53 +0000)]
* config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
.register declaration. Don't use variables with __ prefixes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30810 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoWed Nov 24 17:33:26 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Mon, 6 Dec 1999 19:49:06 +0000 (19:49 +0000)]
Wed Nov 24 17:33:26 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * jcf-parse.c (saw_java_source): Global variable removed.
        (read_class): Don't use `saw_java_source'. Added extra braces.
        (yyparse): Code setting `saw_java_source' removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30809 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * combine.c (check_promoted_subreg, record_promoted_value): New
davem [Mon, 6 Dec 1999 19:45:38 +0000 (19:45 +0000)]
* combine.c (check_promoted_subreg, record_promoted_value): New
functions.
(combine_instructions): Use them to retain nonzero and sign bit
information after SUBREGs are eliminated by optimizations in
this pass if PROMOTE_FUNCTION_RETURN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30808 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoWed Dec 1 04:25:06 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Mon, 6 Dec 1999 19:37:30 +0000 (19:37 +0000)]
Wed Dec  1 04:25:06 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * except.c (expand_end_java_handler): Call
        expand_resume_after_catch and end_catch_handler.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30807 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoTue Nov 30 12:28:34 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Mon, 6 Dec 1999 19:31:25 +0000 (19:31 +0000)]
Tue Nov 30 12:28:34 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * jcf-write.c (generate_byecode_insns): Fixed indentation for
        COMPOUND_EXPR and FIX_TRUNC_EXPR cases.

        * parse.y (patch_assignment): Removed bogus final class test on
        lhs when checking on whether to emit an ArrayStoreException runtime
        check.
        * expr.c (expand_java_arraystore): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30806 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
davem [Mon, 6 Dec 1999 19:31:13 +0000 (19:31 +0000)]
* calls.c (save_fixed_argument_area): If save_mode is BLKmode,
always use move_by_pieces to avoid infinite recursion.
(restore_fixed_argument_area): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30805 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
brendan [Mon, 6 Dec 1999 19:16:52 +0000 (19:16 +0000)]
* dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
    zero if there was an error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30804 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.c (input_operand): Allow HImode and QImode
davem [Mon, 6 Dec 1999 17:45:23 +0000 (17:45 +0000)]
* config/sparc/sparc.c (input_operand): Allow HImode and QImode
valid sethi operations when TARGET_ARCH64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30803 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * longlong.h: Fix clobbers in SPARC asm statements.
davem [Mon, 6 Dec 1999 17:41:19 +0000 (17:41 +0000)]
* longlong.h: Fix clobbers in SPARC asm statements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30802 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.md (return_losum_di): Fix typo in asm
davem [Mon, 6 Dec 1999 17:38:07 +0000 (17:38 +0000)]
* config/sparc/sparc.md (return_losum_di): Fix typo in asm
output string.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30801 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * fold-const.c (optimize_bit_field_compare): Only use one mode
kenner [Mon, 6 Dec 1999 17:28:18 +0000 (17:28 +0000)]
* fold-const.c (optimize_bit_field_compare): Only use one mode
for both RHS and LHS in non-constant case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30800 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * frame.c (start_fde_sort): Only allocate erratic array, if
nathan [Mon, 6 Dec 1999 14:02:16 +0000 (14:02 +0000)]
* frame.c (start_fde_sort): Only allocate erratic array, if
linear one was allocated. Return allocated flag.
(fde_insert): Only insert, if there's a valid array.
(fde_end_sort): Split, sort and merge if linear and erratic
arrays exist, else just sort linear one.
(search_fdes): New function. Linear search through original fde
structure.
(frame_init): Permit multiple initializations. Cope with
memory shortages.
(find_fde): Fallback on linear search, if failed to sort array.
(__deregister_frame_info): Only free sorted array, if we
allocated it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30799 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* gcc.dg/ultrasp2.c: New test.
oliva [Mon, 6 Dec 1999 10:50:26 +0000 (10:50 +0000)]
* gcc.dg/ultrasp2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30798 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl.c (init_decl_processing): #if 0 last patch.
mmitchel [Mon, 6 Dec 1999 10:36:16 +0000 (10:36 +0000)]
* decl.c (init_decl_processing): #if 0 last patch.
(finish_function): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30797 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
davem [Mon, 6 Dec 1999 10:09:20 +0000 (10:09 +0000)]
* config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30796 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Mon, 6 Dec 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30795 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * include/jvm.h: Declare many functions with
green [Mon, 6 Dec 1999 06:33:56 +0000 (06:33 +0000)]
* include/jvm.h: Declare many functions with
__attribute__((__malloc__)).
* gcj/javaprims.h: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30794 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
davem [Mon, 6 Dec 1999 01:54:50 +0000 (01:54 +0000)]
* config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30793 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl.c (init_decl_processing): Set flag_inline_trees if
mmitchel [Sun, 5 Dec 1999 20:04:37 +0000 (20:04 +0000)]
* decl.c (init_decl_processing): Set flag_inline_trees if
!flag_no_inline.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30792 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * g++.old-deja/g++.abi/align.C (main): Fix typo.
samuel [Sun, 5 Dec 1999 18:29:15 +0000 (18:29 +0000)]
* g++.old-deja/g++.abi/align.C (main): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30791 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * splay-tree.h (struct splay_tree_node): Rename to ...
mmitchel [Sun, 5 Dec 1999 18:13:48 +0000 (18:13 +0000)]
* splay-tree.h (struct splay_tree_node): Rename to ...
(struct splay_tree_node_s): ... this.
(struct splay_tree): Rename to ...
(struct splay_tree_s): ... this.

* splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
rather than struct splay_tree_node.
(splay_tree_insert): Use struct splay_tree_s rather than struct
splay_tree.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30790 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (calls_setjmp_p): Declare.
mmitchel [Sun, 5 Dec 1999 17:58:46 +0000 (17:58 +0000)]
* cp-tree.h (calls_setjmp_p): Declare.
* decl.c (finish_function): Mark functions that call setjmp as
uninlinable.
* optimize.c (calls_setjmp_r): New function.
(calls_setjmp_p): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30789 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * tree.h (special_function_p): Declare.
mmitchel [Sun, 5 Dec 1999 17:53:14 +0000 (17:53 +0000)]
* tree.h (special_function_p): Declare.
* calls.c (special_function_p): Make it global.  Don't take `name'
as a parameter.  Fix typo in 1999-11-28 change.
(expand_cal): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30788 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
mmitchel [Sun, 5 Dec 1999 17:51:50 +0000 (17:51 +0000)]
* dwarf2out.c (add_abstract_origin_attribute): Don't abort when
the original die cannot be found.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30787 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Sun, 5 Dec 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30786 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix another typo
mmitchel [Sun, 5 Dec 1999 02:51:32 +0000 (02:51 +0000)]
Fix another typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30785 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * optimize.c (expand_call_inline): Wrap the expanded call in an
mmitchel [Sun, 5 Dec 1999 02:46:48 +0000 (02:46 +0000)]
* optimize.c (expand_call_inline): Wrap the expanded call in an
EXPR_WITH_FILE_LOCATION node to get correct line numbers for
inlined functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30784 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
mmitchel [Sun, 5 Dec 1999 02:42:10 +0000 (02:42 +0000)]
* tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
* tree.h (EXPR_WFL_FILENAME): Define in terms of
EXPR_WFL_FILENAME_NODE.
(EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
the TREE_CHAIN.
* print-tree.c (print_note): Print TREE_PRIVATE and
TREE_PROTECTED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30783 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix typo
mmitchel [Sun, 5 Dec 1999 02:11:11 +0000 (02:11 +0000)]
Fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30782 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * optimize.c (inline_data): Remove fns_top. Add scope_stmt. Add
mmitchel [Sun, 5 Dec 1999 01:00:28 +0000 (01:00 +0000)]
* optimize.c (inline_data): Remove fns_top.  Add scope_stmt.  Add
in_target_cleanup_p.
(remap_decl): New function.
(remap_block): Likewise.
(copy_scope_stmt): Likewise.
(copy_body_r): Use remap_decl and copy_scope_stmt.
(copy_body): Use VARRAY_TOP_TREE.
(initialize_inlined_parameters): Likewise.
(declare_return_variable): Likewise.
(inlinable_function_p): Check flag_inline_trees.
(expand_call_inline): Handle SCOPE_STMTs and TARGET_EXPRs
specially.  Use VARRAY_PUSH_TREE.  Create a BLOCK for the
parameters of the inlined function.
(optimize_function): Prevent recursion into partially complete
functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30781 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.def (SCOPE_STMT): Take one operand.
mmitchel [Sun, 5 Dec 1999 00:51:38 +0000 (00:51 +0000)]
* cp-tree.def (SCOPE_STMT): Take one operand.
* cp-tree.h (SCOPE_STMT_BLOCK): New macro.
(SCOPE_NULLIFIED_P): Redefine.
(SCOPE_NO_CLEANUPS_P): New macro.
(add_scope_stmt): Change prototype.
* decl.c (poplevel): Tidy.  Warn about unused variables here.
Record SCOPE_STMT_BLOCKs.
(finish_function): Keep DECL_INITIAL for functions that might be
inlined.
* ir.texi: Document SCOPE_NO_CLEANUPS_P.
* semantics.c: Include rtl.h.
(add_scope_stmt): Return the new scope statement and, for an
end-of-scope statement, its matching begin statement.  Don't set
SCOPE_NULLIFIED_P.
(do_pushlevel): Simplify, now that we are always
function-at-a-time.
(do_poplevel): Likewise.  Record SCOPE_STMT_BLOCKs.
(expand_stmt): Don't call expand_start_bindings or
expand_end_bindings for a scope with SCOPE_NO_CLEANUPS_P set.
* tree.c (copy_tree_r): Clear SCOPE_STMT_BLOCK rather than setting
SCOPE_NULLIFIED_P.
* Makefile.in (semantics.o): Depend on RTL_H.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30780 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.def (SCOPE_STMT): Take one operand.
mmitchel [Sun, 5 Dec 1999 00:49:26 +0000 (00:49 +0000)]
* cp-tree.def (SCOPE_STMT): Take one operand.
* cp-tree.h (SCOPE_STMT_BLOCK): New macro.
(SCOPE_NULLIFIED_P): Redefine.
(SCOPE_NO_CLEANUPS_P): New macro.
(add_scope_stmt): Change prototype.
* decl.c (poplevel): Tidy.  Warn about unused variables here.
Record SCOPE_STMT_BLOCKs.
(finish_function): Keep DECL_INITIAL for functions that might be
inlined.
* ir.texi: Document SCOPE_NO_CLEANUPS_P.
* semantics.c: Include rtl.h.
(add_scope_stmt): Return the new scope statement and, for an
end-of-scope statement, its matching begin statement.  Don't set
SCOPE_NULLIFIED_P.
(do_pushlevel): Simplify, now that we are always
function-at-a-time.
(do_poplevel): Likewise.  Record SCOPE_STMT_BLOCKs.
(expand_stmt): Don't call expand_start_bindings or
expand_end_bindings for a scope with SCOPE_NO_CLEANUPS_P set.
* tree.c (copy_tree_r): Clear SCOPE_STMT_BLOCK rather than setting
SCOPE_NULLIFIED_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30779 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl2.c (pending_statics_used): Make it a macro.
mmitchel [Sun, 5 Dec 1999 00:37:56 +0000 (00:37 +0000)]
* decl2.c (pending_statics_used): Make it a macro.
(saved_inlines_used): Likewise.
(finish_static_data_member_decl): Use VARRAY_PUSH_TREE.
(mark_inline_for_output): Likewise.
(ssdf_decls_used): Remove.
(start_static_storage_duration_function): Use VARRAY_PUSH_TREE.
(generate_ctor_or_dtor_function): Adjust accordingly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30778 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * varray.h (varray_head_tag): Add elements_used.
mmitchel [Sun, 5 Dec 1999 00:20:43 +0000 (00:20 +0000)]
* varray.h (varray_head_tag): Add elements_used.
(VARRAY_PUSH): New macro.
(VARRAY_POP): Likewise.
(VARRAY_TOP): Likewise.
Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
types.
* varray.c (varray_init): Initialize elements_used.
* Makefile.in (BASIC_BLOCK_H): Add varray.h.
(INTEGRATE_H): New variable.
(integrate.o): Depend on INTEGRATE_H.
(unroll.o): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30777 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * function.h (insert_block_after_note): Declare.
mmitchel [Sun, 5 Dec 1999 00:13:53 +0000 (00:13 +0000)]
* function.h (insert_block_after_note): Declare.
* function.c (insert_block_after_note): Split out from ...
(retrofit_block): ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30776 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * stmt.c (expand_fixup): Fix typo in comment.
mmitchel [Sun, 5 Dec 1999 00:10:31 +0000 (00:10 +0000)]
* stmt.c (expand_fixup): Fix typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30775 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
hubicka [Sat, 4 Dec 1999 13:21:53 +0000 (13:21 +0000)]
* regmove.c (copy_src_to_dest): Remove loop_depth parameter.
(optimize_reg_copy_1): Remove REG_N_REFS updating code.
(optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
(regmove_optimize, fixup_match_1): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30774 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * flow.c (flow_loops_dump): Add missing argument when calling
m.hayes [Sat, 4 Dec 1999 11:07:07 +0000 (11:07 +0000)]
* flow.c (flow_loops_dump): Add missing argument when calling
flow_loop_nested_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30773 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Sat, 4 Dec 1999 08:45:08 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30772 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
geoffk [Sat, 4 Dec 1999 03:00:04 +0000 (03:00 +0000)]
* c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
(init_attributes): Add A_NO_LIMIT_STACK.
(decl_attributes): Handle A_NO_LIMIT_STACK.
* c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
* explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
Handle stack bounds checking.
* flags.h (flag_stack_check): Use the word 'probe' rather than
'check', because the flag doesn't actually cause any checking to
be done.
* function.c (expand_function_start): Set
current_function_limit_stack.
* function.h (struct function): Add limit_stack.
(current_function_limit_stack): Define.
* invoke.texi (Code Gen Options): Document new options.
* rtl.h: Declare stack_limit_rtx.
* toplev.c (stack_limit_rtx): New variable.
(decode_f_option): Handle new options -fstack-limit-register=REG,
-fstack-limit-symbol=IDENT, -fno-stack-limit.
(main): Add stack_limit_rtx as GC root.
* tree.h (DECL_NO_LIMIT_STACK): New macro.
(struct tree_decl): New member no_limit_stack.

* config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
stack_limit_rtx.
* config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
(conditional_trap+1): Get new mnemonic correct.
(conditional_trap+2): New pattern for DImode traps.

* config/m68k/m68k.c (output_function_prologue): Handle
stack_limit_rtx.
* config/m68k/m68k.md (trap): New insn.
(conditional_trap): New insn.
* md.texi (Standard Names): Document `trap' and
`conditional_trap'.
* optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
so a cc0 setter doesn't get emitted at some random place in the
function.

* config/i960/i960.md (trap): New insn.
(conditional_trap): New expander.
(conditional_trap+1, conditional_trap+2): New insns for signed
and unsigned cases.
* config/i960/i960.c (i960_function_prologue): Use
STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30771 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* flags.h (warn_padded, warn_packed): Add global var decls.
geoffk [Fri, 3 Dec 1999 19:02:20 +0000 (19:02 +0000)]
* flags.h (warn_padded, warn_packed): Add global var decls.
* toplev.c (warn_padded, warn_packed): Add global var defns.
(W_options): Add warnings `-Wpacked' and `-Wpadded'.
* stor-layout.c (layout_record): Add local variable `type'
to hold often-used TREE_TYPE (field).  Add local variable
`unpacked_align' to hold alignment that would be in force
if no `packed' attribute were present.  Warn if `packed' attribute
is unnecessary, or even harmful.  Warn when gcc inserts padding
to satisfy alignment requirements of members.  Use NULL_TREE
when checking whether var_size is set.
* invoke.texi: Document new flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30770 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * g++.old-deja/g++.abi/align.C: New test.
samuel [Fri, 3 Dec 1999 16:45:53 +0000 (16:45 +0000)]
* g++.old-deja/g++.abi/align.C: New test.
* g++.old-deja/g++.abi/aggregates.C: Likewise.
* g++.old-deja/g++.abi/bitfields.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30769 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * frame.c (fde_split): Reimplement to avoid variable sized array.
nathan [Fri, 3 Dec 1999 11:58:27 +0000 (11:58 +0000)]
* frame.c (fde_split): Reimplement to avoid variable sized array.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30768 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Fri, 3 Dec 1999 08:45:06 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30767 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* config.guess, config.sub: Update from autoconf.
oliva [Fri, 3 Dec 1999 04:17:09 +0000 (04:17 +0000)]
* config.guess, config.sub: Update from autoconf.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30766 138bc75d-0d04-0410-961f-82ee72b054a4