* c-exp.y (parse_number): Check for overflow regardless of range
authorJim Kingdon <jkingdon@engr.sgi.com>
Sat, 15 Jan 1994 17:14:18 +0000 (17:14 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Sat, 15 Jan 1994 17:14:18 +0000 (17:14 +0000)
commita9b32d6192a3f30e3e7f34881f4914875a383f92
treea87c58b4cebd5dc459e2b4c35f4fe06b81b90989
parent2069bd10d59f4d2e6bc14ce7be5c2df0ca79751e
* c-exp.y (parse_number): Check for overflow regardless of range
checking.  Fix overflow check to use unsigned LONGEST, not
unsigned int.

* c-exp.y (parse_number): Make it so that integer constants are
builtin_type_long_long if builtin_type_long isn't big enough or if
an "LL" suffix is used.  Properly handle "UL" or "LU" suffixes.
gdb/ChangeLog
gdb/c-exp.y