* cse.c (delete_dead_from_cse): If a libcall produces a constant
result and that result can be substituted into SET_SRC of the
insn with the REG_RETVAL note, then perform the substitution
and delete the libcall.
From-SVN: r17871
* mips/mips.c (movdi_operand): Direct referances to symbols
that arn't mips16 consts in mips16 mode arn't valid operands.
* mips/mips.c (mips_move_2words): Add gprel handling.
From-SVN: r17867
* tree.c (is_overloaded_fn): Use really_overloaded_fn.
(really_overloaded_fn): Move check here from is_overloaded_fn.
(get_first_fn): Use really_overloaded_fn and is_overloaded_fn.
From-SVN: r17863
* cp-tree.h (push_template_decl): Return the decl passed in, or an
equivalent duplicate.
* decl.c (pushtag): Use the return value from push_template_decl.
(duplicate_decls): When duplicating a template declaration, merge
the DECL_TEMPLATE_RESULTs as well.
(make_implicit_typename): Don't try to dive into typename types to
find a context for making a new implicit typename.
(start_decl): Use the return value from push_template_decl.
(grokdeclarator): Complain about declarations list `const operator
int'. Since we don't correctly handle in-class initializations of
non-static data members, complain about this (now illegal)
practice. Issue an error for initializations of non-const statics
since that is illegal as well, and since we don't handle that case
correctly either.
(start_function): Use the return value from push_template_decl.
(start_method): Likewise.
* decl2.c (grokfield): Likewise. Since the change to
grokdeclarator ensures that all initialized fields are in fact
static, remove a redundant test for TREE_PUBLIC.
* parse.y (initlist): Disable labeled initializers since they do
not work as per the documentation, and since they do not use the
same syntax as the C front end.
* pt.c (push_template_decl): Return the decl passed in, or an
equivalent duplicate.
(lookup_template_class): When searching in a nested context,
use the right arguments.
(uses_template_parms): Handle the DECL_INITIAL for a CONST_DECL.
* typeck.c (build_component_ref): Assign the correct type to the
result of build_vfn_ref.
From-SVN: r17852
* Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
reorg.o, regmove.o): Depend on insn-codes.h, it gets included
indirectly via expr.h.
From-SVN: r17849
* i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
and format string match.
From-SVN: r17840
* flow.c (life_analysis): Do not conside the stack pointer live at
the end of a function if the fucntio ncalls alloca.
(mark_used_regs): Similarly.
From-SVN: r17839
* lib/old-dejagnu.exp (old-dejagnu): Added the
"execution test - XFAIL *-*-*" handling in the spirit of
"excess errors test -". Changed the "execution test fails"
handling to be like "excess errors test fails".
* Update various tests accordingly.
From-SVN: r17798
also -fugly-comma combined with `IARGC()' invocation:
* bad.def (FFEBAD_NULL_ARGUMENT_W): New diagnostic.
* expr.c (ffeexpr_finished_): Don't reject null expressions
in the argument-expression context -- let outer context
handle that.
(ffeexpr_token_arguments_): Warn about null expressions
here if -fpedantic (as appropriate).
Obey -fugly-comma for only external-procedure invocations.
From-SVN: r17793
Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* loop.c (strength_reduce): When placing increment for auto-inc
case, do comparison in loop order.
From-SVN: r17781