https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120353
--- Comment #6 from qinzhao at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #5) > Why has this been backported to 15 branch? > Generally accepts-invalid bugs aren't backported to release branches, or > similar changes which cause rejection of more code than was accepted before > on the branch, or more warnings than before on the branch. > It is ok to e.g. error on something we'd ICEd on before. > The reason for this is so that people need to do (if possible) porting of > their codes to a newer gcc version just once a year for major releases, so > that they don't need to repeat it every week or month again. So, you mean, for a patch that might make the compiler issue more warnings should not be backported to a release branch? since such new warnings in a previously released compiler might force the users to upgrade to newer gcc version sooner than they want. should I revert the patch from GCC15?