OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* tree.h (build_int_cst): New, sign extended constant.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
java
/
typeck.c
diff --git
a/gcc/java/typeck.c
b/gcc/java/typeck.c
index
830b95c
..
0c61174
100644
(file)
--- a/
gcc/java/typeck.c
+++ b/
gcc/java/typeck.c
@@
-357,8
+357,7
@@
build_prim_array_type (tree element_type, HOST_WIDE_INT length)
if (length != -1)
{
- tree max_index = build_int_cst (sizetype,
- length - 1, (0 == length ? -1 : 0));
+ tree max_index = build_int_cst (sizetype, length - 1);
index = build_index_type (max_index);
}
return build_array_type (element_type, index);