projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab29fdf
)
(expand_builtin, case BUILT_IN_RETURN_ADDRESS): Call tree_int_cst_sgn.
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 14 Mar 1994 10:10:47 +0000
(
05:10
-0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 14 Mar 1994 10:10:47 +0000
(
05:10
-0500)
From-SVN: r6778
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index 23b009a7fd2533642d827dd1303f1b81cf07f5b0..c750cb60e68a6ac75baf2d9a534663b469101b0b 100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-7032,7
+7032,7
@@
expand_builtin (exp, target, subtarget, mode, ignore)
error ("invalid arg to `__builtin_return_address'");
return const0_rtx;
}
- else if (tree_int_cst_
lt (TREE_VALUE (arglist), integer_zero_node)
)
+ else if (tree_int_cst_
sgn (TREE_VALUE (arglist)) < 0
)
{
error ("invalid arg to `__builtin_return_address'");
return const0_rtx;