diff options
author | pfg <pfg@FreeBSD.org> | 2013-12-12 18:15:32 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-12-12 18:15:32 +0000 |
commit | 4bda5ad442033e7431a147e520f5977706e24fa2 (patch) | |
tree | 7b6b120517c1009026b40fb07c5e9346ae61871f /contrib/gcc/rtlanal.c | |
parent | 465403a5cc91e82c71efd87f017455ae0609eb30 (diff) | |
download | FreeBSD-src-4bda5ad442033e7431a147e520f5977706e24fa2.zip FreeBSD-src-4bda5ad442033e7431a147e520f5977706e24fa2.tar.gz |
MFC r258081, r258138, r258143, r258179, r258157, r258204, 258205,
r258206, r258207, r258321
This is a series of commits inspired on Google's gcc-4.2.1 for
Android that were taken from the gcc pre-4.3 under the GPLv2.
gcc: Backport fixes for -W parentheses in C++
This fixes GCC 19564.
gcc: merge rs6000 change from FSF pre-gcc43
Don't set MASK_PPC_GFXOPT for 8540 or 8548.
Merge vrp-tree fix from gcc-4.3
Fix missed conversion from / to >> (GCC PR32521)
Merge in GCCr120505 to include definition of TREE_OVERFLOW_P
gcc: warn about integer overflow in constant expressions in the C++ frontend.
gcc: Add a new option -Wvla to warn variable length array.
libcpp: preprocessor speedup patches from upstream gcc.
gcc: add femit-struct-debug support to reduce Reduce dwarf debug size
gcc: Fix postreload-gcse treatment of call-clobbered registers.
gcc: Record some previous commits in the ChangeLog.gcc43 file.
Diffstat (limited to 'contrib/gcc/rtlanal.c')
-rw-r--r-- | contrib/gcc/rtlanal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc/rtlanal.c b/contrib/gcc/rtlanal.c index 54f2f72..4e513e8 100644 --- a/contrib/gcc/rtlanal.c +++ b/contrib/gcc/rtlanal.c @@ -748,8 +748,8 @@ reg_set_p (rtx reg, rtx insn) || (CALL_P (insn) && ((REG_P (reg) && REGNO (reg) < FIRST_PSEUDO_REGISTER - && TEST_HARD_REG_BIT (regs_invalidated_by_call, - REGNO (reg))) + && overlaps_hard_reg_set_p (regs_invalidated_by_call, + GET_MODE (reg), REGNO (reg))) || MEM_P (reg) || find_reg_fusage (insn, CLOBBER, reg))))) return 1; |