Stan Cox [Fri, 20 Mar 1998 08:28:06 +0000 (08:28 +0000)]
(pop_stack): Define. Pops any register on stack and adjusts the stack.
From-SVN: r18723
Manfred Hollstein [Fri, 20 Mar 1998 00:33:35 +0000 (00:33 +0000)]
Makefile.in (install-gcc): Don't specify LANGUAGES here.
8
* Makefile.in (install-gcc): Don't specify LANGUAGES here.
(install-gcc-cross): Instead, override LANGUAGES here.
From-SVN: r18722
Jeffrey A Law [Thu, 19 Mar 1998 22:51:01 +0000 (22:51 +0000)]
configure.in (hppa1.0-hp-hpux10): Handle threads for this config too.
* configure.in (hppa1.0-hp-hpux10): Handle threads for this
config too.
From-SVN: r18721
Mark Mitchell [Thu, 19 Mar 1998 22:31:22 +0000 (22:31 +0000)]
pt.c (tsubst): Clear DECL_PENDING_INLINE_INFO for new FUNCTION_DECLs.
* pt.c (tsubst): Clear DECL_PENDING_INLINE_INFO for new
FUNCTION_DECLs.
From-SVN: r18720
Jason Merrill [Thu, 19 Mar 1998 21:59:35 +0000 (21:59 +0000)]
* decl.c (make_implicit_typename): Lose useless code.
From-SVN: r18719
Jason Merrill [Thu, 19 Mar 1998 21:37:25 +0000 (21:37 +0000)]
* call.c (standard_conversion): Handle A* -> const A* properly.
From-SVN: r18718
Philippe De Muyter [Thu, 19 Mar 1998 20:24:35 +0000 (21:24 +0100)]
* libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
From-SVN: r18717
Philippe De Muyter [Thu, 19 Mar 1998 19:27:18 +0000 (20:27 +0100)]
fold-const.c (fold): Replace sign-extension of a zero extended value by a single zero extension.
* fold-const.c (fold): Replace sign-extension of a zero extended
value by a single zero extension.
From-SVN: r18713
Jason Merrill [Thu, 19 Mar 1998 18:49:57 +0000 (18:49 +0000)]
except.c (init_eh): Do nothing.
* except.c (init_eh): Do nothing.
(save_eh_status): Call init_eh_for_function, not init_eh.
* function.c (push_function_context_to): Don't call init_emit.
From-SVN: r18710
Jason Merrill [Thu, 19 Mar 1998 11:53:41 +0000 (06:53 -0500)]
new
From-SVN: r18709
Jason Merrill [Thu, 19 Mar 1998 11:52:21 +0000 (11:52 +0000)]
pt.c (get_bindings_real): Rename from get_bindings.
* pt.c (get_bindings_real): Rename from get_bindings. Add
check_rettype parm.
(get_bindings): Pass 1.
(get_bindings_overload): Pass 0.
From-SVN: r18708
Michael Meissner [Thu, 19 Mar 1998 10:43:27 +0000 (10:43 +0000)]
Undef RELATIVE_PREFIX_NOT_LINKDIR for System V/eabi
From-SVN: r18705
Mark Mitchell [Thu, 19 Mar 1998 09:08:53 +0000 (09:08 +0000)]
pt.c (check_explicit_specialization): When reverting a static member function...
* pt.c (check_explicit_specialization): When reverting a static
member function, also remove the `this' parameter from
last_function_parms.
From-SVN: r18704
Kaveh R. Ghazi [Thu, 19 Mar 1998 07:14:19 +0000 (07:14 +0000)]
More warning fixes...
* final.c (shorten_branches): Add parentheses around +/- in
operand of &.
* flow.c (life_analysis): Wrap variable `i' in macro ELIMINABLE_REGS.
From-SVN: r18703
Jason Merrill [Thu, 19 Mar 1998 02:54:39 +0000 (02:54 +0000)]
pt.c (tsubst_copy, CONST_DECL): Don't bother tsubsting a function context.
* pt.c (tsubst_copy, CONST_DECL): Don't bother tsubsting
a function context.
From-SVN: r18702
Jason Merrill [Thu, 19 Mar 1998 02:41:03 +0000 (02:41 +0000)]
decl.c (store_bindings): Use free_binding_vecs.
* decl.c (store_bindings): Use free_binding_vecs.
(pop_from_top_level): Likewise.
From-SVN: r18701
Manfred Hollstein [Thu, 19 Mar 1998 00:16:37 +0000 (00:16 +0000)]
regclass.c (memory_move_secondary_cost): Wrap uses of SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS...
P
* regclass.c (memory_move_secondary_cost): Wrap uses of
SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS
with #ifdef tests.
From-SVN: r18699
Manfred Hollstein [Thu, 19 Mar 1998 00:16:36 +0000 (00:16 +0000)]
*** empty log message ***
From-SVN: r18698
Manfred Hollstein [Thu, 19 Mar 1998 00:09:50 +0000 (00:09 +0000)]
m68k.md (addqi3): Fix typo gen_INT vs.
�
* config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
* flow.c (life_analysis): #include <sys/types.h> to make sure
size_t is defined.
* cplus-dem.c (demangle_function_name): Likewise.
From-SVN: r18697
Manfred Hollstein [Thu, 19 Mar 1998 00:09:48 +0000 (00:09 +0000)]
m68k.md (addqi3): Fix typo gen_INT vs.
�
* config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
* flow.c (life_analysis): #include <sys/types.h> to make sure
size_t is defined.
* cplus-dem.c (demangle_function_name): Likewise.
From-SVN: r18696
Manfred Hollstein [Thu, 19 Mar 1998 00:09:47 +0000 (00:09 +0000)]
m68k.md (addqi3): Fix typo gen_INT vs.
�
* config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
* flow.c (life_analysis): #include <sys/types.h> to make sure
size_t is defined.
* cplus-dem.c (demangle_function_name): Likewise.
From-SVN: r18695
Manfred Hollstein [Thu, 19 Mar 1998 00:09:46 +0000 (00:09 +0000)]
m68k.md (addqi3): Fix typo gen_INT vs.
* config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
* flow.c (life_analysis): #include <sys/types.h> to make sure
size_t is defined.
* cplus-dem.c (demangle_function_name): Likewise.
From-SVN: r18694
Manfred Hollstein [Thu, 19 Mar 1998 00:01:20 +0000 (00:01 +0000)]
final.c (insn_noperands): Change type to unsigned int.
P
* final.c (insn_noperands): Change type to unsigned int.
(final_scan_insn): Likewise for noperands;
properly check operand number boundaries.
From-SVN: r18693
Manfred Hollstein [Thu, 19 Mar 1998 00:01:18 +0000 (00:01 +0000)]
final.c (insn_noperands): Change type to unsigned int.
�
* final.c (insn_noperands): Change type to unsigned int.
(final_scan_insn): Likewise for noperands;
properly check operand number boundaries.
From-SVN: r18692
Jim Wilson [Wed, 18 Mar 1998 16:28:32 +0000 (08:28 -0800)]
Testcase for reg-stack failure for testcase using fp conditional move.
* gcc.dg/980313-1.c: New test for fp conditional move on PPro.
From-SVN: r18679
Jim Wilson [Wed, 18 Mar 1998 16:22:58 +0000 (16:22 +0000)]
* gcc.dg/980312-1.c: Fix typo in -march command.
From-SVN: r18678
Richard Henderson [Wed, 18 Mar 1998 16:22:17 +0000 (08:22 -0800)]
Also fix op1's predicate, though extract_bit_field ignores it.
From-SVN: r18677
Richard Henderson [Wed, 18 Mar 1998 16:21:14 +0000 (08:21 -0800)]
alpha.md (extzv): Don't reject register operands.
* alpha.md (extzv): Don't reject register operands. Fix
mode of operand 1.
From-SVN: r18676
Richard Henderson [Wed, 18 Mar 1998 16:14:28 +0000 (08:14 -0800)]
dbxout.c (dbxout_function_end): Fix last change.
* dbxout.c (dbxout_function_end): Fix last change. The correct
predicate is ASM_OUTPUT_SECTION_NAME.
From-SVN: r18675
Jim Wilson [Wed, 18 Mar 1998 15:45:35 +0000 (15:45 +0000)]
Fix bug reported by Toshi Morita.
* sh.md (ashlsi_c-1): Delete 3rd argument to gen_ashlsi_c.
(ashlsi): Use match_dup 1 instead of match_operand 2.
From-SVN: r18674
Bruce Korb [Wed, 18 Mar 1998 14:09:23 +0000 (14:09 +0000)]
Corrected spelling of my name
From-SVN: r18673
Richard Kenner [Wed, 18 Mar 1998 13:45:28 +0000 (13:45 +0000)]
fold-const.c (operand_equal_for_comparison_p): See if equal when nop conversions are removed.
Wed Mar 18 13:46:07 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* fold-const.c (operand_equal_for_comparison_p): See if equal
when nop conversions are removed.
From-SVN: r18672
Richard Kenner [Wed, 18 Mar 1998 13:41:50 +0000 (13:41 +0000)]
expr.c (expand_expr, [...]): If have conditional move, don't use ORIGINAL_TARGET unless REG.
Wed Mar 18 13:42:01 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* expr.c (expand_expr, case COND_EXPR): If have conditional move,
don't use ORIGINAL_TARGET unless REG.
From-SVN: r18671
J"orn Rennecke [Wed, 18 Mar 1998 12:52:07 +0000 (12:52 +0000)]
* netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
From-SVN: r18670
Jim Wilson [Wed, 18 Mar 1998 12:45:22 +0000 (12:45 +0000)]
Fix sparc-sun-solaris2 -O2 -fPIC bootstrap failure with gcse code.
* loop.c (struct movable): New field move_insn_first.
(scan_loop): In consec sets code, set it. Clear it otherwise.
(move_movables): In consec sets code, use it. Copy REG_NOTES from
p to i1 only if i1 does not have REG_NOTES. Delete obsolete ifdefed
out code.
From-SVN: r18669
Jason Merrill [Wed, 18 Mar 1998 12:42:05 +0000 (12:42 +0000)]
decl.c (make_implicit_typename): Only change the type of a TYPENAME_TYPE.
* decl.c (make_implicit_typename): Only change the type of a
TYPENAME_TYPE.
From-SVN: r18668
Mark Mitchell [Wed, 18 Mar 1998 10:52:04 +0000 (10:52 +0000)]
semantics.c: New file, containing routines to perform the semantic phase of parsing.
* semantics.c: New file, containing routines to perform the
semantic phase of parsing.
* parse.y: Use it.
* pt.c (tsubst_expr): Likewise.
* cp-tree.h: Declare the various functions in semantics.c.
Provide macros to access _STMT tree nodes.
* cp-tree.def: Add ASM_STMT tree node.
* Makefile.in, Make-lang.in: Add dependencies on and for
semantics.c.
From-SVN: r18658
Richard Henderson [Wed, 18 Mar 1998 09:55:53 +0000 (01:55 -0800)]
rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT is large...
* rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
is large, and the system doesn't provide atoll or atoq.
(atoll): New.
* alpha/xm-vms.h (HAVE_ATOLL): Define.
Reported by Klaus Kaempf <kkaempf@progis.de>.
From-SVN: r18657
Dave Love [Wed, 18 Mar 1998 08:51:01 +0000 (08:51 +0000)]
Makefile.in ($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a non-existent file since /dev/null loses with bash...
1998-03-18 Dave Love <d.love@dl.ac.uk>
* Makefile.in ($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a
non-existent file since /dev/null loses with bash 2.0/autoconf 2.12.
From-SVN: r18656
Dave Love [Wed, 18 Mar 1998 08:39:32 +0000 (08:39 +0000)]
($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a non-existent file since...
($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a
non-existent file since /dev/null loses with bash 2.0/autoconf 2.12.
From-SVN: r18655
Kaveh R. Ghazi [Wed, 18 Mar 1998 07:18:06 +0000 (07:18 +0000)]
Fix more warnings...
* c-lang.c (finish_file): Wrap variable `void_list_node' with macro
test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
* calls.c (emit_call_1): Wrap variable `already_popped' with macro
test !ACCUMULATE_OUTGOING_ARGS.
* collect2.c (write_c_file_glob): Wrap function definition in
macro test !LD_INIT_SWITCH.
* combine.c (try_combine): Wrap variables `cc_use' and
`compare_mode' in macro test EXTRA_CC_MODES.
* cpplib.c (do_ident): Remove unused variable `len'.
(skip_if_group): Remove unused variables `at_beg_of_line' and
`after_ident'.
(cpp_get_token): Remove unused variable `dummy'.
* dbxout.c (scope_labelno): Move static variable definition inside
the one function scope where it is used.
(dbxout_function_end): Wrap prototype and definition in
macro test !NO_DBX_FUNCTION_END.
* dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
in macro test !MIPS_DEBUGGING_INFO.
* expr.c (expand_builtin_setjmp): Move declaration of variable `i'
into the scope where it is used. Wrap empty else-statement body
in braces.
* fix-header.c: Fix typo in comment.
(inf_skip_spaces): Cast results of INF_UNGET to (void).
(check_protection, main): Likewise.
* flow.c (find_basic_blocks_1): Remove dangling comment text.
* function.c (contains): Wrap prototype and definition in macro
test HAVE_prologue || HAVE_epilogue.
(fixup_var_refs_1): Remove unused variable `width'.
* gen-protos.c (main): Remove unused variable `optr'.
* haifa-sched.c (debug_control_flow): Remove unused variable `j'.
* libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
(__sjpopnthrow): Remove unused variable `jmpbuf'.
(__throw): Remove unused variable `val'.
* protoize.c: Check for a previously existing definition before
defining *_OK macros.
* scan-decls.c (scan_decls): Remove unused variable `old_written'.
From-SVN: r18654
Jason Merrill [Wed, 18 Mar 1998 02:30:09 +0000 (02:30 +0000)]
* pt.c (push_template_decl): Only check primary templates.
From-SVN: r18653
Jason Merrill [Wed, 18 Mar 1998 01:07:57 +0000 (01:07 +0000)]
pt.c (check_explicit_specialization): Complain about default args in explicit specialization.
* pt.c (check_explicit_specialization): Complain about default args
in explicit specialization.
From-SVN: r18652
Jason Merrill [Wed, 18 Mar 1998 01:05:51 +0000 (20:05 -0500)]
update
From-SVN: r18651
Jason Merrill [Wed, 18 Mar 1998 00:31:01 +0000 (00:31 +0000)]
parse.y (nomods_initdcl0): Also call cp_finish_decl for a constructor_declarator.
* parse.y (nomods_initdcl0): Also call cp_finish_decl for a
constructor_declarator.
From-SVN: r18650
Jim Wilson [Tue, 17 Mar 1998 17:14:11 +0000 (09:14 -0800)]
Regenerate.
From-SVN: r18649
Jim Wilson [Tue, 17 Mar 1998 16:48:45 +0000 (08:48 -0800)]
Regenerate.
From-SVN: r18648
Mark Mitchell [Tue, 17 Mar 1998 14:59:43 +0000 (14:59 +0000)]
typeck2.c (build_x_arrow): Don't crash when an aggregate type has no overloaded operator ->.
* typeck2.c (build_x_arrow): Don't crash when an aggregate type
has no overloaded operator ->.
* call.c (build_field_call): Don't crash when presented with a
field that is actually a nested type.
* decl.c (pushtag): Deal with friend class injection in local
classes.
* call.c (build_object_call): Don't crash if OBJ is a
pointer-to-member-function.
From-SVN: r18647
Jason Merrill [Tue, 17 Mar 1998 12:20:38 +0000 (12:20 +0000)]
pt.c (push_template_decl): Complain about template with C linkage, anonymous template class.
* pt.c (push_template_decl): Complain about template with C linkage,
anonymous template class.
From-SVN: r18646
Manfred Hollstein [Tue, 17 Mar 1998 01:38:14 +0000 (01:38 +0000)]
config-ml.in: After building symlink tree call make distclean if...
�
* config-ml.in: After building symlink tree call make distclean
if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
to be the case for libiberty.
* Makefile.in (clean, distclean): Add 'info' explicitly.
From-SVN: r18645
Manfred Hollstein [Tue, 17 Mar 1998 01:38:13 +0000 (01:38 +0000)]
config-ml.in: After building symlink tree call make distclean if...
�
* config-ml.in: After building symlink tree call make distclean
if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
to be the case for libiberty.
* Makefile.in (clean, distclean): Add 'info' explicitly.
From-SVN: r18644
Manfred Hollstein [Tue, 17 Mar 1998 01:38:12 +0000 (01:38 +0000)]
config-ml.in: After building symlink tree call make distclean if...
�
* config-ml.in: After building symlink tree call make distclean
if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
to be the case for libiberty.
* Makefile.in (clean, distclean): Add 'info' explicitly.
From-SVN: r18643
Manfred Hollstein [Tue, 17 Mar 1998 01:38:10 +0000 (01:38 +0000)]
config-ml.in: After building symlink tree call make distclean if...
P
* config-ml.in: After building symlink tree call make distclean
if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
to be the case for libiberty.
* Makefile.in (clean, distclean): Add 'info' explicitly.
From-SVN: r18642
H.J. Lu [Tue, 17 Mar 1998 01:24:55 +0000 (01:24 +0000)]
configure: When making link, also check the current directory.
8
* configure: When making link, also check the current
directory. The configure scripts may create one.
From-SVN: r18641
H.J. Lu [Tue, 17 Mar 1998 01:24:54 +0000 (01:24 +0000)]
configure: When making link, also check the current directory.
p
* configure: When making link, also check the current
directory. The configure scripts may create one.
From-SVN: r18640
Jason Merrill [Tue, 17 Mar 1998 00:20:08 +0000 (19:20 -0500)]
undo
From-SVN: r18639
Jason Merrill [Tue, 17 Mar 1998 00:19:43 +0000 (19:19 -0500)]
new
From-SVN: r18638
Jason Merrill [Tue, 17 Mar 1998 00:03:43 +0000 (00:03 +0000)]
class.c (pushclass): Only use the mi_matrix stuff #ifdef MI_MATRIX.
* class.c (pushclass): Only use the mi_matrix stuff #ifdef MI_MATRIX.
* search.c: Likewise.
* lex.c (do_pending_defargs): Only call
maybe_{begin,end}_member_template_processing for FUNCTION_DECLs.
* parse.y (initdcl0_innards): Move maybeasm back into initdcl0 et al.
From-SVN: r18637
Jason Merrill [Mon, 16 Mar 1998 23:56:43 +0000 (18:56 -0500)]
fix
From-SVN: r18636
H.J. Lu [Mon, 16 Mar 1998 20:03:19 +0000 (20:03 +0000)]
New testcase from H.J. Lu for PPro FP conditional move bug.
* gcc.dg/980312-1.c: Another new test for fp on PPro.
From-SVN: r18633
J"orn Rennecke [Mon, 16 Mar 1998 16:47:30 +0000 (16:47 +0000)]
* vax.h (ADDR_VEC_ALIGN): Define.
From-SVN: r18632
Michael Meissner [Mon, 16 Mar 1998 15:35:24 +0000 (15:35 +0000)]
Ensure sum from SDA is 16-bit
From-SVN: r18631
Michael Meissner [Mon, 16 Mar 1998 13:06:49 +0000 (13:06 +0000)]
Fix off by 1 error in handling multilibs
From-SVN: r18630
Jim Wilson [Mon, 16 Mar 1998 12:57:02 +0000 (12:57 +0000)]
Patch from Ingolf Kock to fix -m68060 problems.
* config/m68k/netbsd.h (ASM_SPEC): Add %{m68060}.
From-SVN: r18629
Andrew Macleod [Mon, 16 Mar 1998 12:55:45 +0000 (12:55 +0000)]
* minor update in posting address
From-SVN: r18628
Andrew Macleod [Mon, 16 Mar 1998 12:52:33 +0000 (12:52 +0000)]
sparc.md: Add calls to 'in_same_eh_region' in 4 peepholes involving calls and...
* config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
peepholes involving calls and unconditional branches.
From-SVN: r18627
Andrew Macleod [Mon, 16 Mar 1998 12:52:09 +0000 (12:52 +0000)]
genpeep.c (main): Add "except.h" to include file list in generated file insn-peep.c.
* genpeep.c (main): Add "except.h" to include file list in generated
file insn-peep.c.
From-SVN: r18626
Andrew Macleod [Mon, 16 Mar 1998 12:51:56 +0000 (12:51 +0000)]
final.c (final): Initialize the table indicating which instructions belong in which exception region.
* final.c (final): Initialize the table indicating which instructions
belong in which exception region.
From-SVN: r18625
Andrew Macleod [Mon, 16 Mar 1998 12:51:39 +0000 (12:51 +0000)]
except.c (insn_eh_region, [...]): New static variables.
* except.c (insn_eh_region, maximum_uid): New static variables.
(set_insn_eh_region): New static function to set region numbers.
(free_insn_eh_region): New function to free EH region table.
(init_insn_eh_region): New function to initialize EH region table.
(in_same_eh_region): New function used to determine if two rtl
instructions are in the same exception region or not.
From-SVN: r18624
Andrew Macleod [Mon, 16 Mar 1998 12:51:14 +0000 (12:51 +0000)]
except.h (in_same_eh_region): New prototype.
* except.h (in_same_eh_region): New prototype.
(free_insn_eh_region, init_insn_eh_region): New prototypes.
From-SVN: r18623
Andrew Macleod [Mon, 16 Mar 1998 12:50:46 +0000 (12:50 +0000)]
except.h (in_same_eh_region): New prototype.
* except.h (in_same_eh_region): New prototype.
(free_insn_eh_region, init_insn_eh_region): New prototypes.
* except.c (insn_eh_region, maximum_uid): New static variables.
(set_insn_eh_region): New static function to set region numbers.
(free_insn_eh_region): New function to free EH region table.
(init_insn_eh_region): New function to initialize EH region table.
(in_same_eh_region): New function used to determine if two rtl
instructions are in the same exception region or not.
* final.c (final): Initialize the table indicating which instructions
belong in which exception region.
* genpeep.c (main): Add "except.h" to include file list in generated
file insn-peep.c.
* config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
peepholes involving calls and unconditional branches.
From-SVN: r18622
Ken Raeburn [Mon, 16 Mar 1998 11:56:25 +0000 (11:56 +0000)]
Change MEMORY_MOVE_COST defs and uses to be able to take register class into account.
Change MEMORY_MOVE_COST defs and uses to be able to take register class into
account. Change mips def to actually do so, others to just ignore extra args.
Doc changes too.
From-SVN: r18621
Mark Mitchell [Mon, 16 Mar 1998 11:46:07 +0000 (11:46 +0000)]
* parse.y: Deal with CONSTRUCTORS in new_initializers.
From-SVN: r18620
Jim Wilson [Mon, 16 Mar 1998 11:19:03 +0000 (11:19 +0000)]
Instructions and patches for building GNAT with EGCS.
* README.gnat: New file.
From-SVN: r18619
Mark Mitchell [Mon, 16 Mar 1998 10:54:48 +0000 (10:54 +0000)]
pt.c (tsubst_copy): Deal with BIND_EXPR in a way that more closely mimics the behavior in parse.y.
* pt.c (tsubst_copy): Deal with BIND_EXPR in a way that more
closely mimics the behavior in parse.y.
(tsubst_expr): Return the resuting BLOCK when making a tsubst'ing
into a compound statement.
From-SVN: r18618
Andreas Schwab [Mon, 16 Mar 1998 02:16:43 +0000 (02:16 +0000)]
m68k.c: Include <stdlib.h> for atoi.
* config/m68k/m68k.c: Include <stdlib.h> for atoi. Include
"recog.h" for offsettable_memref_p.
(legitimize_pic_address): Remove unused variable `offset'.
(notice_update_cc): Change return type to void. Add default label
to switch.
(standard_68881_constant_p): Remove unused variable mode.
(print_operand): Define local variable i only if SUPPORT_SUN_FPA.
(const_int_cost): Explicitly declare as returning int.
(output_dbcc_and_branch): Change return type to void.
* config/m68k/linux.h, config/m68k/m68k.md, config/m68k/m68k.c,
config/m68k/m68k.h: Replace gen_rtx (XXX, ...) with gen_rtx_XXX
(...). Use GEN_INT instead of gen_rtx_CONST_INT.
From-SVN: r18617
Jeffrey A Law [Sun, 15 Mar 1998 22:30:46 +0000 (15:30 -0700)]
Bump for snapshot
From-SVN: r18611
Jason Merrill [Sun, 15 Mar 1998 19:54:36 +0000 (14:54 -0500)]
new
From-SVN: r18596
Jason Merrill [Sun, 15 Mar 1998 19:53:08 +0000 (14:53 -0500)]
cp-tree.h (TEMPLATE_PARMS_FOR_INLINE): New macro.
* cp-tree.h (TEMPLATE_PARMS_FOR_INLINE): New macro.
* pt.c (inline_needs_template_parms): New fn.
(original_template): New fn.
(push_inline_template_parms_recursive): New fn.
(maybe_begin_member_template_processing): Use them.
(maybe_end_member_template_processing): Likewise.
(is_member_or_friend_template): Rename to is_member_template.
Member functions of local classes are never member templates.
* lex.c (do_identifier): Handle TEMPLATE_DECL that was
added in the class scope to catch redefinition error.
* pt.c (reduce_template_parm_level): Also copy
the DECL_TEMPLATE_PARMS field.
From-SVN: r18595
Mark Mitchell [Sun, 15 Mar 1998 10:57:04 +0000 (10:57 +0000)]
pt.c (tsubst): Clear TYPE_REFERENCE_TO when creating a reduced-level template type parameter.
* pt.c (tsubst): Clear TYPE_REFERENCE_TO when creating a
reduced-level template type parameter.
From-SVN: r18591
Manfred Hollstein [Sun, 15 Mar 1998 03:28:07 +0000 (03:28 +0000)]
cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
d
* cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
(DECL_NEEDS_FINAL_OVERRIDER_P): New macro.
* class.c (override_one_vtable): Set DECL_NEEDS_FINAL_OVERRIDER_P.
* decl.c (duplicate_decls): Propagate it.
* typeck2.c (abstract_virtuals_error): Use two loops to emit
abstract virtual functions and virtual functions which need a
final overrider separately.
From-SVN: r18588
Manfred Hollstein [Sun, 15 Mar 1998 03:28:04 +0000 (03:28 +0000)]
cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
a
* cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
(DECL_NEEDS_FINAL_OVERRIDER_P): New macro.
* class.c (override_one_vtable): Set DECL_NEEDS_FINAL_OVERRIDER_P.
* decl.c (duplicate_decls): Propagate it.
* typeck2.c (abstract_virtuals_error): Use two loops to emit
abstract virtual functions and virtual functions which need a
final overrider separately.
From-SVN: r18587
Manfred Hollstein [Sun, 15 Mar 1998 03:28:01 +0000 (03:28 +0000)]
cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
�
* cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
(DECL_NEEDS_FINAL_OVERRIDER_P): New macro.
* class.c (override_one_vtable): Set DECL_NEEDS_FINAL_OVERRIDER_P.
* decl.c (duplicate_decls): Propagate it.
* typeck2.c (abstract_virtuals_error): Use two loops to emit
abstract virtual functions and virtual functions which need a
final overrider separately.
From-SVN: r18586
Jason Merrill [Sun, 15 Mar 1998 00:16:49 +0000 (19:16 -0500)]
update
From-SVN: r18585
Jeff Law [Sat, 14 Mar 1998 10:55:20 +0000 (03:55 -0700)]
Initial revision
From-SVN: r18557
Jeff Law [Sat, 14 Mar 1998 10:49:19 +0000 (03:49 -0700)]
Initial revision
From-SVN: r18554
Andreas Schwab [Fri, 13 Mar 1998 02:33:38 +0000 (02:33 +0000)]
m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range check for 'M' constraint.
* config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
check for 'M' constraint.
From-SVN: r18523
Jim Wilson [Thu, 12 Mar 1998 14:49:30 +0000 (14:49 +0000)]
Don't accept GNU C macro varargs extension when pedantic.
* cccp.c (create_definition): If pedantic, call pedwarn for macro
varargs feature.
From-SVN: r18522
Bernd Schmidt [Thu, 12 Mar 1998 12:43:42 +0000 (05:43 -0700)]
i386.c (ix86_logical_operator): New function.
* i386.c (ix86_logical_operator): New function.
(split_di): Ensure that when a MEM is split, the resulting MEMs have
SImode.
* i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
to implement them.
From-SVN: r18514
Kaveh R. Ghazi [Thu, 12 Mar 1998 12:32:24 +0000 (12:32 +0000)]
Warning fixes, resulting in the addition of a new target macro:
* tm.texi (DEFAULT_RTX_COSTS): Document new macro.
* arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
* cse.c (rtx_cost): Provide a default case in an enumeration
switch, and call DEFAULT_RTX_COSTS if it's defined.
Co-Authored-By: Nick Clifton <nickc@cygnus.com>
Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>
From-SVN: r18513
Manfred Hollstein [Thu, 12 Mar 1998 01:04:46 +0000 (01:04 +0000)]
basic-block.h (compute_preds_succs): Change return type in prototype to void.
* basic-block.h (compute_preds_succs): Change return type in
prototype to void.
* flow.c (compute_preds_succs): Likewise in function definition.
* regmove.c (find_matches): Cast char used as array index to unsigned char
to supress warning.
From-SVN: r18508
Manfred Hollstein [Thu, 12 Mar 1998 01:04:45 +0000 (01:04 +0000)]
basic-block.h (compute_preds_succs): Change return type in prototype to void.
d
* basic-block.h (compute_preds_succs): Change return type in
prototype to void.
* flow.c (compute_preds_succs): Likewise in function definition.
* regmove.c (find_matches): Cast char used as array index to unsigned char
to supress warning.
From-SVN: r18507
Manfred Hollstein [Thu, 12 Mar 1998 01:04:43 +0000 (01:04 +0000)]
basic-block.h (compute_preds_succs): Change return type in prototype to void.
a
* basic-block.h (compute_preds_succs): Change return type in
prototype to void.
* flow.c (compute_preds_succs): Likewise in function definition.
* regmove.c (find_matches): Cast char used as array index to unsigned char
to supress warning.
From-SVN: r18506
Manfred Hollstein [Thu, 12 Mar 1998 01:04:42 +0000 (01:04 +0000)]
basic-block.h (compute_preds_succs): Change return type in prototype to void.
�
* basic-block.h (compute_preds_succs): Change return type in
prototype to void.
* flow.c (compute_preds_succs): Likewise in function definition.
* regmove.c (find_matches): Cast char used as array index to unsigned char
to supress warning.
From-SVN: r18505
Manfred Hollstein [Thu, 12 Mar 1998 01:01:10 +0000 (01:01 +0000)]
typeck.c (build_binary_op_nodefault): Correctly place parens around && and || in expression.
�
* typeck.c (build_binary_op_nodefault): Correctly place parens around
&& and || in expression.
From-SVN: r18504
Manfred Hollstein [Thu, 12 Mar 1998 00:43:13 +0000 (00:43 +0000)]
�
In gcc/:
* i386.h (RTX_COSTS): Insert braces around nested if.
(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
elements.
* gcc.c (default_compilers): Properly put brackets around array elements in
initializer.
* getopt.c (_getopt_internal): Add explicit braces around nested if;
reformatted.
* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
(record_reg_life_pat): Add explicit parens around && and || in expression.
(stack_reg_life_analysis): Add parens around assignment used as expression.
(convert_regs): Likewise.
In gcc/cp/:
* lang-specs.h: Properly put brackets around array elements in initializer.
* typeck.c (build_binary_op_nodefault): Correctly place parens around
&& and || in expression.
In gcc/f/:
* lang-specs.h: Properly put brackets around array elements in initializer.
From-SVN: r18503
Manfred Hollstein [Thu, 12 Mar 1998 00:43:12 +0000 (00:43 +0000)]
a
In gcc/:
* i386.h (RTX_COSTS): Insert braces around nested if.
(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
elements.
* gcc.c (default_compilers): Properly put brackets around array elements in
initializer.
* getopt.c (_getopt_internal): Add explicit braces around nested if;
reformatted.
* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
(record_reg_life_pat): Add explicit parens around && and || in expression.
(stack_reg_life_analysis): Add parens around assignment used as expression.
(convert_regs): Likewise.
In gcc/cp/:
* lang-specs.h: Properly put brackets around array elements in initializer.
* typeck.c (build_binary_op_nodefault): Correctly place parens around
&& and || in expression.
In gcc/f/:
* lang-specs.h: Properly put brackets around array elements in initializer.
From-SVN: r18502
Manfred Hollstein [Thu, 12 Mar 1998 00:43:11 +0000 (00:43 +0000)]
/
In gcc/:
* i386.h (RTX_COSTS): Insert braces around nested if.
(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
elements.
* gcc.c (default_compilers): Properly put brackets around array elements in
initializer.
* getopt.c (_getopt_internal): Add explicit braces around nested if;
reformatted.
* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
(record_reg_life_pat): Add explicit parens around && and || in expression.
(stack_reg_life_analysis): Add parens around assignment used as expression.
(convert_regs): Likewise.
In gcc/cp/:
* lang-specs.h: Properly put brackets around array elements in initializer.
* typeck.c (build_binary_op_nodefault): Correctly place parens around
&& and || in expression.
In gcc/f/:
* lang-specs.h: Properly put brackets around array elements in initializer.
From-SVN: r18501
Manfred Hollstein [Thu, 12 Mar 1998 00:43:09 +0000 (00:43 +0000)]
d
In gcc/:
* i386.h (RTX_COSTS): Insert braces around nested if.
(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
elements.
* gcc.c (default_compilers): Properly put brackets around array elements in
initializer.
* getopt.c (_getopt_internal): Add explicit braces around nested if;
reformatted.
* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
(record_reg_life_pat): Add explicit parens around && and || in expression.
(stack_reg_life_analysis): Add parens around assignment used as expression.
(convert_regs): Likewise.
In gcc/cp/:
* lang-specs.h: Properly put brackets around array elements in initializer.
* typeck.c (build_binary_op_nodefault): Correctly place parens around
&& and || in expression.
In gcc/f/:
* lang-specs.h: Properly put brackets around array elements in initializer.
From-SVN: r18500
Manfred Hollstein [Thu, 12 Mar 1998 00:43:08 +0000 (00:43 +0000)]
�
In gcc/:
* i386.h (RTX_COSTS): Insert braces around nested if.
(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
elements.
* gcc.c (default_compilers): Properly put brackets around array elements in
initializer.
* getopt.c (_getopt_internal): Add explicit braces around nested if;
reformatted.
* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
(record_reg_life_pat): Add explicit parens around && and || in expression.
(stack_reg_life_analysis): Add parens around assignment used as expression.
(convert_regs): Likewise.
In gcc/cp/:
* lang-specs.h: Properly put brackets around array elements in initializer.
* typeck.c (build_binary_op_nodefault): Correctly place parens around
&& and || in expression.
In gcc/f/:
* lang-specs.h: Properly put brackets around array elements in initializer.
From-SVN: r18499