summaryrefslogtreecommitdiff
path: root/libjava/classpath/gnu/java/beans/decoder/ArrayHandler.java
diff options
context:
space:
mode:
authorLewis Hyatt <lhyatt@gmail.com>2025-11-15 23:10:52 -0500
committerLewis Hyatt <lhyatt@gcc.gnu.org>2025-11-15 23:36:39 -0500
commit37a0ec2591c6d984d1527345245005b627124553 (patch)
treea2fb61135d77f4732a16552a8bc965dcacb0166e /libjava/classpath/gnu/java/beans/decoder/ArrayHandler.java
parenta8cf8cb33606f07d392cd23900845ecf7548799d (diff)
diagnostics: Fix -fdump-internal-locations for 64-bit location_t
When adding support for 64-bit location_t in GCC 15, I missed a couple changes needed for the internal debugging tool -fdump-internal-locations to work properly. This would previously ICE on a location_t large enough to overflow a signed 32-bit int. gcc/ChangeLog: * diagnostics/context.cc (num_digits): Change argument type from `int' to `uint64_t'. (test_num_digits): Add test for 64-bit argument. * diagnostic.h (num_digits): Adjust prototype. * input.cc (write_digit): Accept argument in range 0-9 instead of an arbitrary int. (write_digit_row): Adjust to change in write_digit(). gcc/testsuite/ChangeLog: * gcc.dg/plugin/location-overflow-test-3.c: New test. * gcc.dg/plugin/plugin.exp: Add the new test.
Diffstat (limited to 'libjava/classpath/gnu/java/beans/decoder/ArrayHandler.java')
0 files changed, 0 insertions, 0 deletions