mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-01 13:26:47 +08:00
* ada-lang.c (ada_evaluate_subexp) [OP_ATR_SIZE]: Use
archecture-neutral builtin_type_int32 instead of builtin_type_int.
This commit is contained in:
parent
2ac8a782d9
commit
6d2e05aaf9
@ -1,3 +1,8 @@
|
||||
2008-09-10 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* ada-lang.c (ada_evaluate_subexp) [OP_ATR_SIZE]: Use
|
||||
archecture-neutral builtin_type_int32 instead of builtin_type_int.
|
||||
|
||||
2008-09-10 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* ada-lang.c (ada_evaluate_subexp) [BINOP_ADD, BINOP_SUB]:
|
||||
|
@ -9074,9 +9074,9 @@ ada_evaluate_subexp (struct type *expect_type, struct expression *exp,
|
||||
if (noside == EVAL_SKIP)
|
||||
goto nosideret;
|
||||
else if (noside == EVAL_AVOID_SIDE_EFFECTS)
|
||||
return value_zero (builtin_type_int, not_lval);
|
||||
return value_zero (builtin_type_int32, not_lval);
|
||||
else
|
||||
return value_from_longest (builtin_type_int,
|
||||
return value_from_longest (builtin_type_int32,
|
||||
TARGET_CHAR_BIT
|
||||
* TYPE_LENGTH (value_type (arg1)));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user