https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116731
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> --- (In reply to Sunil Dora from comment #5) > Dear GCC Team, > > I am writing to request the backport of this fix (Wrange-loop-construct) to > GCC version 13.3. Due to particular project requirements, we are unable to > upgrade our GCC version at this time. This fix not only supports our project > but could also benefit other community members facing similar constraints. > > To implement the trivially constructible check in GCC 13.3, I identified > that it requires the use of TREE_VEC instead of TREE_LIST. However, the > following dependent patches are missing in this version: > > Commit 58b7dbf865b146a4e65dbda9be6df78f212c03b6 > Commit 76fa66ea397cb255ab1d68a90ff6b878236e9620 > Commit d180a5524ccdab8ef839ee55efecf60ce5b0240b These patches are definitely not backportable to 13. I need to see if we can backport the patch without also introducing invasive changes, but I've been busy with stage 1 work. > I have tested the upstream fix, along with the dependent patches, and can > confirm that it works as expected in version 13.3. > > Would it be appropriate for me to submit a patch for GCC 13.3 that > incorporates these changes? > > Thank you for your consideration. I look forward to your guidance on how to > proceed.