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.
Alexandre Oliva [Fri, 6 Aug 1999 20:42:55 +0000 (20:42 +0000)]
pt.c (tsubst): Use build_index_type to build in-template array index type.
* pt.c (tsubst): Use build_index_type to build in-template array
index type. Fixes g++.oliva/dwarf1.C.
* decl.c (grokdeclarator): Likewise, just for consistency, as it
doesn't seem to trigger the bug without it.
rs6000.c (current_file_function_operand): Return zero for weak functions.
* rs6000.c (current_file_function_operand): Return zero for
weak functions.
(rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
weak symbols.
* rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
for weak symbols.
Jeffrey A Law [Wed, 4 Aug 1999 07:09:48 +0000 (07:09 +0000)]
flow.c (delete_unreachable_blocks): Do not call merge_blocks or tidy_fallthru_edge if...
* flow.c (delete_unreachable_blocks): Do not call merge_blocks
or tidy_fallthru_edge if the last insn in the block is not
an unconditional jump or a simple conditional jump.
Jeffrey A Law [Mon, 2 Aug 1999 05:07:23 +0000 (05:07 +0000)]
tree.c (build_type_attribute_variant): Move current_obstack restore after build_qualified_type call.
Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
* tree.c (build_type_attribute_variant): Move current_obstack restore
after build_qualified_type call.
Brought over from the mainline sources. Fixes spurious core dumps/aborts.
Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.c (fixup_addr_diff_vecs): Emit braf reference label.
(braf_label_ref_operand): Delete.
* sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
* sh.md (casesi_jump_2): Operand1 is now the inside of a
label_ref, and has no predicate.
The patten has a predicate to guard against invalid substitutions.
(dummy_jump): Delete.
(casesi): Update use of casesi_jump_2.
Bring over from the mainline tree.