diff options
author | Alexandre Oliva <oliva@adacore.com> | 2021-04-03 19:54:39 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2021-04-03 19:54:39 -0300 |
commit | ba0f6902666430e5d065a92b3d5292cba91813d3 (patch) | |
tree | 06537e150d29d1f3ac3bf893eb06341e49b9ea0d /gcc/lto-section-in.c | |
parent | 5bba3415ec251820ba0c9533aef1bef919dfbfdd (diff) | |
download | gcc-ba0f6902666430e5d065a92b3d5292cba91813d3.zip gcc-ba0f6902666430e5d065a92b3d5292cba91813d3.tar.gz gcc-ba0f6902666430e5d065a92b3d5292cba91813d3.tar.bz2 |
initialize pr94314-3.C counter
The int counter in the main loop was uninitialized, so we might end up
looping a very large number of times before completing successfully.
I suspect that was unintended, so I'm adding a zero initializer.
for gcc/testsuite/ChangeLog
* g++.dg/pr94314-3.C: Zero-initialize main loop counter.
Diffstat (limited to 'gcc/lto-section-in.c')
0 files changed, 0 insertions, 0 deletions