mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
This commit was generated by cvs2svn to compensate for changes in r72562,
which included commits to RCS files with non-trunk default branches.
This commit is contained in:
commit
9520158aff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72563
@ -1,3 +1,75 @@
|
||||
2001-01-25 Bernd Schmidt <bernds@redhat.co.uk>
|
||||
|
||||
* version.c: Bump.
|
||||
|
||||
* varasm.c (force_const_mem): When putting a LABEL_REF into the
|
||||
constant pool, also put it on forced_labels list so that it won't
|
||||
be deleted.
|
||||
|
||||
2000-05-25 Alexandre Oliva <aoliva@cygnus.com>
|
||||
* emit-rtl.c (reset_used_decls): New function.
|
||||
(unshare_all_rtl_again): Call it.
|
||||
|
||||
2000-05-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||
* emit-rtl.c (unshare_all_decls): New function.
|
||||
(unshare_all_rtl): Call it.
|
||||
|
||||
2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
|
||||
* emit-rtl.c (unshare_all_rtl): Store the copied rtx.
|
||||
|
||||
2000-04-15 Richard Earnshaw (rearnsah@arm.com)
|
||||
* emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
|
||||
call unshare_all_rtl.
|
||||
|
||||
2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
|
||||
* emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
|
||||
Use unshare_all_rtl_1.
|
||||
(unshare_all_rtl_again): New function.
|
||||
(unshare_all_rtl_1): New function split out of unshare_all_rtl.
|
||||
* function.c (purge_addressof_1): Use unshare_all_rtl_again
|
||||
rather than resetting the 'used' flags ourself.
|
||||
* toplev.c (rest_of_compilation): Add current_function_decl
|
||||
to the unshare_all_rtl call.
|
||||
* tree.h: Prototype unshare_all_rtl.
|
||||
* rtl.h: Prototype unshare_all_rtl_again here.
|
||||
|
||||
2001-01-12 Bernd Schmidt <bernds@redhat.co.uk>
|
||||
|
||||
* version.c: Bump.
|
||||
|
||||
* expr.c (expand_builtin_setjmp_receiver): Emit a scheduling barrier
|
||||
as last insn.
|
||||
|
||||
2001-01-11 Bernd Schmidt <bernds@redhat.co.uk>
|
||||
|
||||
* version.c: Bump.
|
||||
|
||||
2001-01-09 Mark Mitchell <mark@codesourcery.com>
|
||||
Remove support for using UWIN as a host machine.
|
||||
* configure.in: Issue an error message.
|
||||
* configure: Regenerated.
|
||||
* config.gcc: Remove xm_* UWIN configury.
|
||||
* config/i386/xm-uwin.h: Remove.
|
||||
|
||||
* config/mips/vxworks.h: Don't terminate comment before its end.
|
||||
|
||||
* invoke.texi: Update -fvtable-thunks documentation.
|
||||
|
||||
* loop.c (scan_loop): Disable copy propagation if we find a REG_LABEL
|
||||
note.
|
||||
|
||||
Revert this patch:
|
||||
2000-12-18 David Edelsohn <edelsohn@gnu.org>
|
||||
* rs6000.c (and64_operand): Use logical_u_operand.
|
||||
|
||||
Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
|
||||
* tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
|
||||
always have side-effects.
|
||||
|
||||
Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
|
||||
* tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
|
||||
always have side-effects.
|
||||
|
||||
2001-01-01 Bernd Schmidt <bernds@redhat.co.uk>
|
||||
|
||||
* version.c: Bump.
|
||||
|
2611
contrib/gcc/NEWS
2611
contrib/gcc/NEWS
File diff suppressed because it is too large
Load Diff
1071
contrib/gcc/ONEWS
Normal file
1071
contrib/gcc/ONEWS
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
/* Alias analysis for GNU C
|
||||
Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
|
||||
Contributed by John Carr (jfc@mit.edu).
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Process declarations and variables for C compiler.
|
||||
Copyright (C) 1988, 92-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Build expressions with type checking for C compiler.
|
||||
Copyright (C) 1987, 88, 91-97, 1998 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
||||
1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Convert function calls to rtl insns, for GNU C compiler.
|
||||
Copyright (C) 1989, 92-97, 1998, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
/* Collect static initialization info into data structures that can be
|
||||
traversed by C++ initialization and finalization routines.
|
||||
Copyright (C) 1992, 93-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
||||
Free Software Foundation, Inc.
|
||||
Contributed by Chris Smith (csmith@convex.com).
|
||||
Heavily modified by Michael Meissner (meissner@cygnus.com),
|
||||
Per Bothner (bothner@cygnus.com), and John Gilmore (gnu@cygnus.com).
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Optimize by combining instructions for GNU compiler.
|
||||
Copyright (C) 1987, 88, 92-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
||||
1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Subroutines for insn-output.c for Sun SPARC.
|
||||
Copyright (C) 1987, 88, 89, 92-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
||||
1999, 2000 Free Software Foundation, Inc.
|
||||
Contributed by Michael Tiemann (tiemann@cygnus.com)
|
||||
64 bit SPARC V9 support by Michael Tiemann, Jim Wilson, and Doug Evans,
|
||||
at Cygnus Support.
|
||||
|
@ -1,5 +1,6 @@
|
||||
;;- Machine description for SPARC chip for GNU C compiler
|
||||
;; Copyright (C) 1987, 88, 89, 92-98, 1999 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
||||
;; 1999 Free Software Foundation, Inc.
|
||||
;; Contributed by Michael Tiemann (tiemann@cygnus.com)
|
||||
;; 64 bit SPARC V9 support by Michael Tiemann, Jim Wilson, and Doug Evans,
|
||||
;; at Cygnus Support.
|
||||
|
@ -1,7 +1,7 @@
|
||||
# configure.in for GNU CC
|
||||
# Process this file with autoconf to generate a configuration script.
|
||||
|
||||
# Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||
|
||||
#This file is part of GNU CC.
|
||||
|
||||
@ -396,10 +396,9 @@ GCC_FUNC_PRINTF_PTR
|
||||
|
||||
case "${host}" in
|
||||
*-*-uwin*)
|
||||
# Under some versions of uwin, vfork is notoriously buggy and the test
|
||||
# can hang configure; on other versions, vfork exists just as a stub.
|
||||
# FIXME: This should be removed once vfork in uwin's runtime is fixed.
|
||||
ac_cv_func_vfork_works=no
|
||||
AC_MSG_ERROR([
|
||||
*** UWIN may not be used as a host platform because
|
||||
*** linking with posix.dll is not allowed by the GNU GPL])
|
||||
;;
|
||||
esac
|
||||
AC_FUNC_VFORK
|
||||
@ -1564,8 +1563,6 @@ changequote(,)dnl
|
||||
i[34567]86-*-uwin*)
|
||||
changequote([,])dnl
|
||||
tm_file=i386/uwin.h
|
||||
xm_file="${xm_file} i386/xm-uwin.h"
|
||||
xm_defines="USG NO_STAB_H NO_SYS_SIGLIST"
|
||||
tmake_file="i386/t-cygwin i386/t-uwin"
|
||||
extra_objs=winnt.o
|
||||
xmake_file=i386/x-cygwin
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Definitions for specs for C++.
|
||||
Copyright (C) 1995, 96-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* CPP Library.
|
||||
Copyright (C) 1986, 87, 89, 92-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1986, 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
||||
1999, 2000 Free Software Foundation, Inc.
|
||||
Contributed by Per Bothner, 1994-95.
|
||||
Based on CCCP program by Paul Rubin, June 1986
|
||||
Adapted to ANSI C, Richard Stallman, Jan 1987
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Common subexpression elimination for GNU compiler.
|
||||
Copyright (C) 1987, 88, 89, 92-99, 2000 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
||||
1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Output Dwarf2 format symbol table information from the GNU C compiler.
|
||||
Copyright (C) 1992, 93, 95-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1992, 1993, 1995, 1996, 1997, 1998, 1999, 2000 Free Software
|
||||
Foundation, Inc.
|
||||
Contributed by Gary Funck (gary@intrepid.com).
|
||||
Derived from DWARF 1 implementation of Ron Guilmette (rfg@monkeys.com).
|
||||
Extensively modified by Jason Merrill (jason@cygnus.com).
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Emit RTL for the GNU C-Compiler expander.
|
||||
Copyright (C) 1987, 88, 92-97, 1998, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
2000, 2001 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
@ -248,6 +249,9 @@ extern int emit_lineno;
|
||||
static rtx make_jump_insn_raw PROTO((rtx));
|
||||
static rtx make_call_insn_raw PROTO((rtx));
|
||||
static rtx find_line_note PROTO((rtx));
|
||||
static void unshare_all_rtl_1 PROTO((rtx));
|
||||
static void unshare_all_decls PROTO((tree));
|
||||
static void reset_used_decls PROTO((tree));
|
||||
|
||||
rtx
|
||||
gen_rtx_CONST_INT (mode, arg)
|
||||
@ -1767,23 +1771,29 @@ restore_emit_status (p)
|
||||
free_insn = 0;
|
||||
}
|
||||
|
||||
/* Go through all the RTL insn bodies and copy any invalid shared structure.
|
||||
It does not work to do this twice, because the mark bits set here
|
||||
are not cleared afterwards. */
|
||||
/* Go through all the RTL insn bodies and copy any invalid shared
|
||||
structure. This routine should only be called once. */
|
||||
|
||||
void
|
||||
unshare_all_rtl (insn)
|
||||
register rtx insn;
|
||||
unshare_all_rtl (fndecl, insn)
|
||||
tree fndecl;
|
||||
rtx insn;
|
||||
{
|
||||
for (; insn; insn = NEXT_INSN (insn))
|
||||
if (GET_CODE (insn) == INSN || GET_CODE (insn) == JUMP_INSN
|
||||
|| GET_CODE (insn) == CALL_INSN)
|
||||
{
|
||||
PATTERN (insn) = copy_rtx_if_shared (PATTERN (insn));
|
||||
REG_NOTES (insn) = copy_rtx_if_shared (REG_NOTES (insn));
|
||||
LOG_LINKS (insn) = copy_rtx_if_shared (LOG_LINKS (insn));
|
||||
}
|
||||
tree decl;
|
||||
|
||||
/* Make sure that virtual stack slots are not shared. */
|
||||
reset_used_decls (DECL_INITIAL (current_function_decl));
|
||||
|
||||
/* Make sure that virtual parameters are not shared. */
|
||||
for (decl = DECL_ARGUMENTS (fndecl); decl; decl = TREE_CHAIN (decl))
|
||||
DECL_RTL (decl) = copy_rtx_if_shared (DECL_RTL (decl));
|
||||
|
||||
/* Make sure that virtual stack slots are not shared. */
|
||||
unshare_all_decls (DECL_INITIAL (fndecl));
|
||||
|
||||
/* Unshare just about everything else. */
|
||||
unshare_all_rtl_1 (insn);
|
||||
|
||||
/* Make sure the addresses of stack slots found outside the insn chain
|
||||
(such as, in DECL_RTL of a variable) are not shared
|
||||
with the insn chain.
|
||||
@ -1791,8 +1801,76 @@ unshare_all_rtl (insn)
|
||||
This special care is necessary when the stack slot MEM does not
|
||||
actually appear in the insn chain. If it does appear, its address
|
||||
is unshared from all else at that point. */
|
||||
stack_slot_list = copy_rtx_if_shared (stack_slot_list);
|
||||
}
|
||||
|
||||
copy_rtx_if_shared (stack_slot_list);
|
||||
/* Go through all the RTL insn bodies and copy any invalid shared
|
||||
structure, again. This is a fairly expensive thing to do so it
|
||||
should be done sparingly. */
|
||||
|
||||
void
|
||||
unshare_all_rtl_again (insn)
|
||||
rtx insn;
|
||||
{
|
||||
rtx p;
|
||||
for (p = insn; p; p = NEXT_INSN (p))
|
||||
if (GET_RTX_CLASS (GET_CODE (p)) == 'i')
|
||||
{
|
||||
reset_used_flags (PATTERN (p));
|
||||
reset_used_flags (REG_NOTES (p));
|
||||
reset_used_flags (LOG_LINKS (p));
|
||||
}
|
||||
unshare_all_rtl_1 (insn);
|
||||
}
|
||||
|
||||
/* Go through all the RTL insn bodies and copy any invalid shared structure.
|
||||
Assumes the mark bits are cleared at entry. */
|
||||
|
||||
static void
|
||||
unshare_all_rtl_1 (insn)
|
||||
rtx insn;
|
||||
{
|
||||
for (; insn; insn = NEXT_INSN (insn))
|
||||
if (GET_RTX_CLASS (GET_CODE (insn)) == 'i')
|
||||
{
|
||||
PATTERN (insn) = copy_rtx_if_shared (PATTERN (insn));
|
||||
REG_NOTES (insn) = copy_rtx_if_shared (REG_NOTES (insn));
|
||||
LOG_LINKS (insn) = copy_rtx_if_shared (LOG_LINKS (insn));
|
||||
}
|
||||
}
|
||||
|
||||
/* Go through all virtual stack slots of a function and copy any
|
||||
shared structure. */
|
||||
static void
|
||||
unshare_all_decls (blk)
|
||||
tree blk;
|
||||
{
|
||||
tree t;
|
||||
|
||||
/* Copy shared decls. */
|
||||
for (t = BLOCK_VARS (blk); t; t = TREE_CHAIN (t))
|
||||
DECL_RTL (t) = copy_rtx_if_shared (DECL_RTL (t));
|
||||
|
||||
/* Now process sub-blocks. */
|
||||
for (t = BLOCK_SUBBLOCKS (blk); t; t = TREE_CHAIN (t))
|
||||
unshare_all_decls (t);
|
||||
}
|
||||
|
||||
/* Go through all virtual stack slots of a function and mark them as
|
||||
not shared. */
|
||||
static void
|
||||
reset_used_decls (blk)
|
||||
tree blk;
|
||||
{
|
||||
tree t;
|
||||
|
||||
/* Mark decls. */
|
||||
for (t = BLOCK_VARS (blk); t; t = TREE_CHAIN (t))
|
||||
reset_used_flags (DECL_RTL (t));
|
||||
|
||||
/* Now process sub-blocks. */
|
||||
for (t = BLOCK_SUBBLOCKS (blk); t; t = TREE_CHAIN (t))
|
||||
reset_used_decls (t);
|
||||
}
|
||||
|
||||
/* Mark ORIG as in use, and return a copy of it if it was already in use.
|
||||
|
@ -1,6 +1,7 @@
|
||||
/* Medium-level subroutines: convert bit-field store and extract
|
||||
and shifts, multiplies and divides to rtl instructions.
|
||||
Copyright (C) 1987, 88, 89, 92-97, 1998 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
||||
1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Convert tree expression to rtl instructions, for GNU compiler.
|
||||
Copyright (C) 1988, 92-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
2000, 2001 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
@ -8664,6 +8665,13 @@ expand_builtin_setjmp_receiver (receiver_label)
|
||||
{
|
||||
; /* Nothing */
|
||||
}
|
||||
|
||||
/* @@@ This is a kludge. Not all machine descriptions define a blockage
|
||||
insn, but we must not allow the code we just generated to be reordered
|
||||
by scheduling. Specifically, the update of the frame pointer must
|
||||
happen immediately, not later. So emit an ASM_INPUT to act as blockage
|
||||
insn. */
|
||||
emit_insn (gen_rtx_ASM_INPUT (VOIDmode, ""));
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* lang-specs.h file for Fortran
|
||||
Copyright (C) 1995-1997, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995, 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
|
||||
Contributed by James Craig Burley.
|
||||
|
||||
This file is part of GNU Fortran.
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Data flow analysis for GNU compiler.
|
||||
Copyright (C) 1987, 88, 92-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
||||
1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Fold a constant sub-tree into a single node for C-compiler
|
||||
Copyright (C) 1987, 88, 92-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
2000 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* Subroutines needed for unwinding stack frames for exception handling. */
|
||||
/* Compile this one with gcc. */
|
||||
/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
|
||||
Contributed by Jason Merrill <jason@cygnus.com>.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
@ -100,7 +100,7 @@ Published by the Free Software Foundation
|
||||
59 Temple Place - Suite 330
|
||||
Boston, MA 02111-1307 USA
|
||||
|
||||
Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of
|
||||
this manual provided the copyright notice and this permission notice
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Perform various loop optimizations, including strength reduction.
|
||||
Copyright (C) 1987, 88, 89, 91-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996,
|
||||
1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
@ -919,6 +920,7 @@ scan_loop (loop_start, end, loop_cont, unroll_p, bct_p)
|
||||
&& VARRAY_INT (set_in_loop, regno) == 1
|
||||
&& ! side_effects_p (SET_SRC (set))
|
||||
&& ! find_reg_note (p, REG_RETVAL, NULL_RTX)
|
||||
&& ! find_reg_note (p, REG_LABEL, NULL_RTX)
|
||||
&& (! SMALL_REGISTER_CLASSES
|
||||
|| (! (GET_CODE (SET_SRC (set)) == REG
|
||||
&& REGNO (SET_SRC (set)) < FIRST_PSEUDO_REGISTER)))
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Definitions for specs for Objective-C.
|
||||
Copyright (C) 1998, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Expand the basic unary and binary arithmetic operations, for GNU compiler.
|
||||
Copyright (C) 1987, 88, 92-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
2000 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Communication between reload.c and reload1.c.
|
||||
Copyright (C) 1987, 91-95, 97, 1998 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1991, 1992, 1993, 1994, 1995, 1997, 1998, 2000
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Reload pseudo regs into hard regs for insns that require hard regs.
|
||||
Copyright (C) 1987, 88, 89, 92-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||
1998, 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Register Transfer Language (RTL) definitions for GNU C-Compiler
|
||||
Copyright (C) 1987, 91-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
2000, 2001 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
@ -1391,7 +1392,7 @@ extern int subreg_realpart_p PROTO ((rtx));
|
||||
extern void reverse_comparison PROTO ((rtx));
|
||||
extern void set_new_first_and_last_insn PROTO ((rtx, rtx));
|
||||
extern void set_new_first_and_last_label_num PROTO ((int, int));
|
||||
extern void unshare_all_rtl PROTO ((rtx));
|
||||
extern void unshare_all_rtl_again PROTO ((rtx));
|
||||
extern void set_last_insn PROTO ((rtx));
|
||||
extern void link_cc0_insns PROTO ((rtx));
|
||||
extern void add_insn PROTO ((rtx));
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Analyze RTL for C-Compiler
|
||||
Copyright (C) 1987, 88, 92-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
2000 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Expands front end tree to back end RTL for GNU C-Compiler
|
||||
Copyright (C) 1987, 88, 89, 92-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
||||
1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* system.h - Get common system includes and various definitions and
|
||||
declarations based on autoconf macros.
|
||||
Copyright (C) 1998, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Language-independent node constructors for parse phase of GNU compiler.
|
||||
Copyright (C) 1987, 88, 92-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
2000, 2001 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
@ -1121,6 +1122,26 @@ make_node (code)
|
||||
case 'c':
|
||||
TREE_CONSTANT (t) = 1;
|
||||
break;
|
||||
|
||||
case 'e':
|
||||
switch (code)
|
||||
{
|
||||
case INIT_EXPR:
|
||||
case MODIFY_EXPR:
|
||||
case RTL_EXPR:
|
||||
case PREDECREMENT_EXPR:
|
||||
case PREINCREMENT_EXPR:
|
||||
case POSTDECREMENT_EXPR:
|
||||
case POSTINCREMENT_EXPR:
|
||||
/* All of these have side-effects, no matter what their
|
||||
operands are. */
|
||||
TREE_SIDE_EFFECTS (t) = 1;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return t;
|
||||
@ -3107,6 +3128,24 @@ build1 (code, type, node)
|
||||
TREE_RAISES (t) = 1;
|
||||
}
|
||||
|
||||
switch (code)
|
||||
{
|
||||
case INIT_EXPR:
|
||||
case MODIFY_EXPR:
|
||||
case RTL_EXPR:
|
||||
case PREDECREMENT_EXPR:
|
||||
case PREINCREMENT_EXPR:
|
||||
case POSTDECREMENT_EXPR:
|
||||
case POSTINCREMENT_EXPR:
|
||||
/* All of these have side-effects, no matter what their
|
||||
operands are. */
|
||||
TREE_SIDE_EFFECTS (t) = 1;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return t;
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Front-end tree definitions for GNU compiler.
|
||||
Copyright (C) 1989, 93-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
@ -2207,6 +2208,7 @@ extern tree reorder_blocks PROTO ((tree *, tree,
|
||||
struct rtx_def *));
|
||||
extern void free_temps_for_rtl_expr PROTO ((tree));
|
||||
extern void instantiate_virtual_regs PROTO ((tree, struct rtx_def *));
|
||||
extern void unshare_all_rtl PROTO ((tree, struct rtx_def *));
|
||||
extern int max_parm_reg_num PROTO ((void));
|
||||
extern void push_function_context PROTO ((void));
|
||||
extern void pop_function_context PROTO ((void));
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Try to unroll loops, and split induction variables.
|
||||
Copyright (C) 1992, 93, 94, 95, 97, 98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1992, 1993, 1994, 1995, 1997, 1998, 1999, 2000 Free Software
|
||||
Foundation, Inc.
|
||||
Contributed by James E. Wilson, Cygnus Support/UC Berkeley.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Output variables, constants and external declarations, for GNU compiler.
|
||||
Copyright (C) 1987, 88, 89, 92-98, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
||||
1999, 2000, 2001 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
@ -3493,6 +3494,18 @@ force_const_mem (mode, x)
|
||||
|
||||
pop_obstacks ();
|
||||
}
|
||||
if (GET_CODE (x) == LABEL_REF)
|
||||
{
|
||||
extern rtx forced_labels;
|
||||
|
||||
push_obstacks_nochange ();
|
||||
rtl_in_saveable_obstack ();
|
||||
|
||||
forced_labels = gen_rtx_EXPR_LIST (VOIDmode,
|
||||
XEXP (x, 0),
|
||||
forced_labels);
|
||||
pop_obstacks ();
|
||||
}
|
||||
|
||||
/* Allocate a pool constant descriptor, fill it in, and chain it in. */
|
||||
|
||||
|
@ -1 +1 @@
|
||||
char *version_string = "2.95.3 20010101 (prerelease)";
|
||||
char *version_string = "2.95.3 20010125 (prerelease)";
|
||||
|
Loading…
Reference in New Issue
Block a user