Jeffrey A Law [Wed, 8 Mar 2000 04:47:42 +0000 (04:47 +0000)]
loop.c (check_dbra_loop): When checking a loop for reversability...
2000-01-18 Clinton Popetz <cpopetz@cygnus.com>
* loop.c (check_dbra_loop): When checking a loop for
reversability, check the source of any stores to ensure they
don't depend on an initial value.
Jeffrey A Law [Wed, 8 Mar 2000 04:42:11 +0000 (04:42 +0000)]
v850.c (expand_epilogue): Interrupt functions no longer allocate extra stack for function calls.
Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
* config/v850/v850.c (expand_epilogue): Interrupt functions no
longer allocate extra stack for function calls.
Jeffrey A Law [Wed, 8 Mar 2000 04:38:45 +0000 (04:38 +0000)]
[multiple changes]
1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): Don't forget
to define tanh.
1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
building meta-expressions don't forget to take the contained
closures.
1999-10-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/valarray_meta.h: (_BinClos::_BinClos): Fix typo.
1999-09-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/complext.cc (pow): Don't expect floating point promotion
in presence of template argument deduction. There is no such
thing.
Bring bugfixes into the release branch.
stmt.c (expand_value_return): Correctly convert VAL when promoting function return.
Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* stmt.c (expand_value_return): Correctly convert VAL when promoting
function return.
Jeffrey A Law [Tue, 4 Jan 2000 09:24:24 +0000 (09:24 +0000)]
[multiple changes]
Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
* config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
if the pic register is used.
Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
* cse.c: Update comments.
(cse_insn): When converting a conditional/computed jump into
an unconditional jump, always make sure a BARRIER immediately
follows the converted jump. Do not delete unreachable code.
(cse_basic_block): Do not delete unreachable code.
* toplev.c (rest_of_compilation): Move call to
delete_trivially_dead_insns after the conditional call to
jump_optimize.
Thu Sep 16 00:46:35 1999 Geoff Keating <geoffk@cygnus.com>
* loop.c (basic_induction_var): A non-integer variable which is
being set by a paradoxical subreg is probably not a biv.
1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
* loop.c (check_dbra_loop): Check bl->biv->add_val is a
CONST_INT before using its INTVAL.
Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
have been an hyphen, fixed.
* configure: Rebuilt.
Jeffrey A Law [Fri, 24 Dec 1999 18:05:28 +0000 (18:05 +0000)]
[multiple changes]
1999-12-23 Martin v. L�wis <loewis@informatik.hu-berlin.de>
* fold-const.c (operand_equal_p): Use memcmp to compare string
constants.
Suggested by D. J. Bernstein
Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
* h8300.md (HImode preinc peephole): Fix typo.
1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
* loop.c (check_dbra_loop): Can't reverse a biv that has
maybe_multiple set.
Alexandre Oliva [Mon, 1 Nov 1999 00:35:43 +0000 (00:35 +0000)]
sol2gas.h: I had installed the wrong version of Sept 22's patch in the release branch.
* config/i386/sol2gas.h: I had installed the wrong version of Sept
22's patch in the release branch. Fixed.
* configure.in: Likewise.
* configure: Rebuilt.
Reported by Jason Beardsley <jbeardsley@origin.ea.com>
Jeffrey A Law [Mon, 25 Oct 1999 06:44:53 +0000 (06:44 +0000)]
loop.c (note_set_pseudo_multiple_uses_retval): New variable.
* loop.c (note_set_pseudo_multiple_uses_retval): New variable.
(note_set_pseudo_multiple_uses): New function.
(check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
if a pseudo set in the loop exit is used elsewhere.
Jeffrey A Law [Sat, 16 Oct 1999 21:20:32 +0000 (21:20 +0000)]
gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
* gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
(expr_equiv_p): Reject memories with different alias sets.
Jeffrey A Law [Tue, 12 Oct 1999 06:39:14 +0000 (06:39 +0000)]
tlink.c (scan_linker_output): Skip the initial underscore in a mangled name if appropriate.
Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
* tlink.c (scan_linker_output): Skip the initial underscore in
a mangled name if appropriate.
Jeffrey A Law [Tue, 12 Oct 1999 05:38:53 +0000 (05:38 +0000)]
haifa-sched.c (insn_unit): Fix typo on out of range test.
Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
* haifa-sched.c (insn_unit): Fix typo on out of range test.
* sched.c (insn_unit): Likewise.
Bring over from teh mainline sources.
David Edelsohn [Mon, 11 Oct 1999 01:10:58 +0000 (01:10 +0000)]
rs6000.md (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
* rs6000.md (scc patterns): Disable most SImode variants if
TARGET_POWERPC64.
* rs6000.c (expand_block_move): Fix gen_movsi typos.
Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
* rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
before the fctiwz insn.
Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
* config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
make sure that HIGH instructions are copied into BASE_REGS.
David Edelsohn [Wed, 22 Sep 1999 22:22:25 +0000 (18:22 -0400)]
rs6000.c (expand_block_move): DImode loads and stores require word-aligned displacements.
* rs6000.c (expand_block_move): DImode loads and stores require
word-aligned displacements. Increment address registers with
adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
* config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
(ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
* config/i386/sol2dbg.h: Removed.
* config/i386/sol2gas.h: New file, to enable gas work-around.
* configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
Don't use sol2dbg.h.
* configure: Rebuilt.
Jeffrey A Law [Tue, 7 Sep 1999 08:25:56 +0000 (08:25 +0000)]
fold-const.c (fold_range_test): Do not try to fold the range test if the rhs or lhs has side effects.
Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
* fold-const.c (fold_range_test): Do not try to fold the range
test if the rhs or lhs has side effects.
Jeffrey A Law [Tue, 7 Sep 1999 08:11:16 +0000 (08:11 +0000)]
[multiple changes]
Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
* fix-header.c (main): Do not pass a null pointer to strcmp.
Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
Mark Mitchell <mark@codesourcery.com>
* c-common.c (c_get_alias_set): Fix support for poitners and
references.
Jeffrey A Law [Tue, 7 Sep 1999 07:45:42 +0000 (07:45 +0000)]
Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com> with much...
Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
with much help from Jeffrey A Law and Richard Henderson
* i386.md: In the 6 insns which call output_fix_trunc,
earlyclobber operands[0].
Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
* jump.c (duplicate_loop_exit_test): Call reg_scan_update after
creating new registers.
Jeffrey A Law [Tue, 7 Sep 1999 07:38:56 +0000 (07:38 +0000)]
cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
* cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
* pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
operand.
Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
* i386.c (output_strlen_unroll): Don't write xops[7]
label if it wasn't set.
Jeffrey A Law [Tue, 7 Sep 1999 07:34:05 +0000 (07:34 +0000)]
[multiple changes]
Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
* function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
the fact that ALIGN is measured in bits, not bytes.
Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
* c-common.c (combine_strings): Always set TREE_CONSTANT.
Bring over a couple bugfixes to the gcc-2.95 branch.
Jeffrey A Law [Fri, 13 Aug 1999 07:44:06 +0000 (07:44 +0000)]
fixincludes: Fix the return type of bsearch, char* -> void*.
Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* fixincludes: Fix the return type of bsearch, char* -> void*.
* fixinc/inclhack.def: Likewise.
Joe Buck [Wed, 11 Aug 1999 06:50:31 +0000 (06:50 +0000)]
invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
* invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
Fix documentation of -ansi flag to describe its C++ behavior.
Remove bogus reference to GCC 2.9.
Jeffrey A Law [Mon, 9 Aug 1999 05:55:17 +0000 (05:55 +0000)]
rs6000.h (struct rs6000_args): Add sysv_gregno.
Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
* rs6000.h (struct rs6000_args): Add sysv_gregno.
* rs6000.c (init_cumulative_args): Init sysv_gregno.
(function_arg_boundary): Align DFmode.
(function_arg_advance): Restructure for ABI_V4; use sysv_gregno
to get fp reg and stack overflow correct.
(function_arg): Likewise.
(function_arg_pass_by_reference): True for TFmode for ABI_V4.
(setup_incoming_varargs): Restructure for ABI_V4; use
function_arg_advance to skip final named argument.
(expand_builtin_saveregs): Properly unskip the last integer arg
when doing varargs. Adjust overflow location calculation.
* ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
explicitly unsigned.
(__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
(__VA_GP_REGSAVE): Similarly.
(__va_longlong_p): Delete.
(__va_arg_type_violation): New declaration.
(va_arg): Restructure. Flag promotion errors. Align double.
TFmode passed by reference.
* rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
in the HOST_BITS_PER_WIDE_INT > 32 case.
Andreas Schwab [Sat, 7 Aug 1999 06:01:46 +0000 (06:01 +0000)]
iostream.cc: Add missing calls to isfx and setup a cleanup region for the locked stream.
* iostream.cc: Add missing calls to isfx and setup a cleanup
region for the locked stream.
* iostream.h: Likewise.
* isgetline.cc: Likewise.
* isgetsb.cc: Likewise.
* isscan.cc: Likewise.
Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, libdir, libsubdir and tooldir.
* Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
libdir, libsubdir and tooldir.
Applied in the libchill, libiberty, libobjc, and libf2c subdirs
* rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
Disable patterns performing SImode comparisons with SImode values
if TARGET_POWERPC64 and instruction does not sign-extend or does
not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
differ for signed quantities.
(indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
(tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
(decrement_and_branch_on_count): Add 64-bit variant.
Jason Merrill [Sat, 7 Aug 1999 01:31:58 +0000 (01:31 +0000)]
decl.c (bad_specifiers): It's OK to have an EH spec on a function pointer.
* decl.c (bad_specifiers): It's OK to have an EH spec on a function
pointer.
* pt.c (maybe_get_template_decl_from_type_decl): Make sure that
we're looking at a class.
* decl.c (lookup_name_real): Set the complain flag if we're
looking for a namespace member.
* decl.c (pushdecl): Only give an error for shadowing a parm
from *this* function.
* decl2.c (build_expr_from_tree, case METHOD_CALL_EXPR): Only
build_expr_from_tree on the args of a TEMPLATE_ID_EXPR.
* class.c (mark_overriders): Fix order of args to overrides.
(warn_hidden): Likewise. Fix for having virtual and non-virtual
functions with the same name.
* cp-tree.h (DECL_VIRTUAL_CONTEXT): New macro.
* typeck.c (expand_ptrmemfunc_cst): Calculate delta correctly for
virtual functions and MI. Simplify.
* typeck.c (c_expand_return): Downgrade pedwarn about returning NULL
from op new to warning.
* decl2.c (reparse_absdcl_as_casts): Don't warn about old-style
casts in system headers or extern "C" blocks.
* pt.c (do_decl_instantiation): Downgrade duplicate instantiation
errors to pedwarn.