aboutsummaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2000-05-09 11:07:48 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2000-05-09 07:07:48 -0400
commitf8cd412619e4c5a820500b620666b28184daaf25 (patch)
tree7fff4281075af411c0bb40feb51d8ea6d8072bc2 /gcc/alias.c
parentcf7637a0838398cba4afa7e4eb68bcb587222d2d (diff)
downloadgcc-f8cd412619e4c5a820500b620666b28184daaf25.zip
gcc-f8cd412619e4c5a820500b620666b28184daaf25.tar.gz
gcc-f8cd412619e4c5a820500b620666b28184daaf25.tar.bz2
alias.c (nonlocal_reference_p): Minor reformatting.
* alias.c (nonlocal_reference_p): Minor reformatting. * reload.c (find_equiv_reg): Simplify logic for CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and some some reformatting. * reload1.c (reload_combine): Don't assume everything in CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit. From-SVN: r33797
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index e29c57e..0aab362 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -1427,7 +1427,8 @@ nonlocal_reference_p (x)
if (code == CALL_INSN && CONST_CALL_P (x))
{
x = CALL_INSN_FUNCTION_USAGE (x);
- if (!x) return 0;
+ if (x == 0)
+ return 0;
}
else
x = PATTERN (x);