projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fb3ae1
)
Copy comment to go with the subtraction patch.
author
Richard Henderson
<rth@gcc.gnu.org>
Wed, 11 Feb 1998 00:54:15 +0000
(16:54 -0800)
committer
Richard Henderson
<rth@gcc.gnu.org>
Wed, 11 Feb 1998 00:54:15 +0000
(16:54 -0800)
From-SVN: r17850
gcc/f/com.c
patch
|
blob
|
history
diff --git
a/gcc/f/com.c
b/gcc/f/com.c
index 4934134ab1eeda4613840fef9ac37870827553a7..8ccf8c3b8132bf229076148cb769f52a74f63684 100644
(file)
--- a/
gcc/f/com.c
+++ b/
gcc/f/com.c
@@
-13026,6
+13026,8
@@
ffecom_ptr_to_expr (ffebld expr)
i >= 0;
--i, array = TYPE_MAIN_VARIANT (TREE_TYPE (array)))
{
+ /* The initial subtraction should happen in the original type so
+ that (possible) negative values are handled appropriately. */
item
= ffecom_2 (PLUS_EXPR,
build_pointer_type (TREE_TYPE (array)),