https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101162
--- Comment #2 from Andrew Pinski ---
I was just about to assign this to myself as I had just came up with a fix:
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 85e90f42b8e..5e4bdeace1e 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101162
--- Comment #3 from Jakub Jelinek ---
Created attachment 51046
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51046&action=edit
gcc12-pr101162.patch
Untested fix.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101162
Martin Liška changed:
What|Removed |Added
CC||marxin at gcc dot gnu.org
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101162
--- Comment #5 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:92d9c9e705f039f42734139c233202888d2bf01b
commit r12-1726-g92d9c9e705f039f42734139c233202888d2bf01b
Author: Jakub Jelinek
Date: T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101162
Jakub Jelinek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---