aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath
diff options
context:
space:
mode:
authorRobert Dubner <rdubner@symas.com>2025-07-31 07:45:26 -0400
committerRobert Dubner <rdubner@symas.com>2025-08-15 15:40:07 -0400
commit810340f9fed56dc2a0e7e1db3f19b383f6e4cb95 (patch)
treec2f757b4a0bb10ab9a275e693cc5be184dff84fa /libjava/classpath
parentf5696e9b1113b0a8e464cabb8cc26c871b1d9289 (diff)
downloadgcc-810340f9fed56dc2a0e7e1db3f19b383f6e4cb95.zip
gcc-810340f9fed56dc2a0e7e1db3f19b383f6e4cb95.tar.gz
gcc-810340f9fed56dc2a0e7e1db3f19b383f6e4cb95.tar.bz2
real: Eliminate access to uninitialized memory.
When compiling this program with gcobol: identification division. program-id. prog. data division. working-storage section. 01 val pic v9(5) value .001. procedure division. display val goback. the rounding up of .99999...9999 to 1.000...0000 causes a read of the first byte of the output buffer. Although harmless, it generates a valgrind warning. The following change clears that warning. gcc/ChangeLog: * real.cc (real_to_decimal_for_mode): Set str[0] to known value.
Diffstat (limited to 'libjava/classpath')
0 files changed, 0 insertions, 0 deletions