[Bug debug/107193] [13 regression] bootstrap error caused by r13-3172-gf30e9fd33e56a5
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 11 06:35:57 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107193
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eugene Rozenfeld <erozen@gcc.gnu.org>:
https://gcc.gnu.org/g:80f414e6d73f9f1683f93d83ce63a6a482e54bee
commit r13-3213-g80f414e6d73f9f1683f93d83ce63a6a482e54bee
Author: Eugene Rozenfeld <erozen@microsoft.com>
Date: Mon Oct 10 14:10:31 2022 -0700
Fix PR107193.
The bug was introduced in f30e9fd33e56a5a721346ea6140722e1b193db42.
A variable (cur_locus_e) was incorrectly declared inside a loop.
I also moved two other declarations (last and locus) down to make
the code more clear.
Tested on x86_64-pc-linux-gnu.
gcc/ChangeLog:
PR debug/107193
* tree-cfg.cc (assign_discriminators): Move declaration of
cur_locus_e
out of the loop.
More information about the Gcc-bugs
mailing list