https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93996
--- Comment #4 from Andrew Pinski ---
The bad tree comes from the mem_attrs from (mem/v:SI (reg/f:DI 0 x0 [97]) [-1
S4 A32]) inside the following instruction:
$3 = (insn:TI 30 34 31 3 (set (reg:SI 1 x1 [98])
(unspec_volatile:SI [
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93996
--- Comment #3 from Andrew Pinski ---
This has to be a latent bug.
Also it does not reproduce with a natively built compiler which is even more
interesting.
Reduced testcase:
_Atomic int i = 5, j = 2;
void fn5 (int a[++i][j = 10]) {}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93996
Martin Liška changed:
What|Removed |Added
Priority|P3 |P1
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93996
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Known to work|