diff options
author | Tom Tromey <tom@tromey.com> | 2016-05-18 17:22:30 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2016-06-10 09:57:09 -0600 |
commit | 347dc1025db1c0acf616ab6520c3f36448f25e8b (patch) | |
tree | ab361773f82b20a3171e5fb7fc05266f11b1c90a /djunpack.bat | |
parent | edef7b8cf3d811ce8630591dbed1257ba16164ff (diff) | |
download | gdb-347dc1025db1c0acf616ab6520c3f36448f25e8b.zip gdb-347dc1025db1c0acf616ab6520c3f36448f25e8b.tar.gz gdb-347dc1025db1c0acf616ab6520c3f36448f25e8b.tar.bz2 |
Fix PR rust/20110
PR rust/20110 concerns the type of an integer constant that is too
large for "i32", the default integer type. This patch changes the
type of such a constant to i64. This is important because such values
are often addresses, so truncating them by default is unfriendly.
Built and regtested on x86-64 Fedora 23.
2016-06-10 Tom Tromey <tom@tromey.com>
PR rust/20110:
* rust-exp.y (lex_number): Don't truncate large numbers to i32.
2016-06-10 Tom Tromey <tom@tromey.com>
PR rust/20110:
* gdb.rust/expr.exp: Add test for integer constant larger than
i32.
Diffstat (limited to 'djunpack.bat')
0 files changed, 0 insertions, 0 deletions