]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
Fix PR rust/20110
authorTom Tromey <tom@tromey.com>
Wed, 18 May 2016 23:22:30 +0000 (17:22 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 10 Jun 2016 15:57:09 +0000 (09:57 -0600)
commit347dc1025db1c0acf616ab6520c3f36448f25e8b
treeab361773f82b20a3171e5fb7fc05266f11b1c90a
parentedef7b8cf3d811ce8630591dbed1257ba16164ff
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.
gdb/ChangeLog
gdb/rust-exp.y
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.rust/expr.exp