* [Bug tree-optimization/116577] [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations
2024-09-03 6:17 [Bug tree-optimization/116577] New: [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations tnfchris at gcc dot gnu.org
@ 2024-09-03 6:20 ` pinskia at gcc dot gnu.org
2024-09-03 6:23 ` pinskia at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-09-03 6:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116577
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |15.0
CC| |pinskia at gcc dot gnu.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/116577] [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations
2024-09-03 6:17 [Bug tree-optimization/116577] New: [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations tnfchris at gcc dot gnu.org
2024-09-03 6:20 ` [Bug tree-optimization/116577] " pinskia at gcc dot gnu.org
@ 2024-09-03 6:23 ` pinskia at gcc dot gnu.org
2024-09-03 7:12 ` tnfchris at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-09-03 6:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116577
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu.org
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Either r15-3363-g9aaedfc4146c5e or r15-3362-g464067a2421506 .
r15-3362 added vect_lower_load_permutations .
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/116577] [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations
2024-09-03 6:17 [Bug tree-optimization/116577] New: [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations tnfchris at gcc dot gnu.org
2024-09-03 6:20 ` [Bug tree-optimization/116577] " pinskia at gcc dot gnu.org
2024-09-03 6:23 ` pinskia at gcc dot gnu.org
@ 2024-09-03 7:12 ` tnfchris at gcc dot gnu.org
2024-09-03 7:14 ` tnfchris at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2024-09-03 7:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116577
--- Comment #2 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
---
module type
type a
complex(kind(1.0d0)) j
real(kind(1.0d0)) k
real(kind(1.0d0)) l
end type
contains
subroutine b(c,g)
type(a), dimension(:) :: c
target c
type(a), dimension(:), target :: g
type(a), pointer :: d,h
do i=1,e
h => c(i)
d => g(i)
h%j = d%j
h%l = d%l
h%k = f
end do
end
end
compiled with -mcpu=neoverse-v1 -Ofast reproduces the ICE
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/116577] [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations
2024-09-03 6:17 [Bug tree-optimization/116577] New: [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations tnfchris at gcc dot gnu.org
` (2 preceding siblings ...)
2024-09-03 7:12 ` tnfchris at gcc dot gnu.org
@ 2024-09-03 7:14 ` tnfchris at gcc dot gnu.org
2024-09-03 7:23 ` pinskia at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2024-09-03 7:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116577
--- Comment #3 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
reproducer should be saved with extension .f90
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/116577] [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations
2024-09-03 6:17 [Bug tree-optimization/116577] New: [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations tnfchris at gcc dot gnu.org
` (3 preceding siblings ...)
2024-09-03 7:14 ` tnfchris at gcc dot gnu.org
@ 2024-09-03 7:23 ` pinskia at gcc dot gnu.org
2024-09-03 7:27 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-09-03 7:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116577
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2024-09-03
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Tamar Christina from comment #2)
> compiled with -mcpu=neoverse-v1 -Ofast reproduces the ICE
Here is a C testcase:
```
struct a
{
_Complex double j;
double k;
double l;
};
void b(struct a *__restrict c,
struct a *__restrict g,
int e, double f)
{
for(int i = 0; i < e; i++)
{
c[i].j = g[i].j;
c[i].l = g[i].l;
c[i].k = f;
}
}
```
`-march=armv9-a -O3 ` is enough to reproduce it.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/116577] [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations
2024-09-03 6:17 [Bug tree-optimization/116577] New: [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations tnfchris at gcc dot gnu.org
` (4 preceding siblings ...)
2024-09-03 7:23 ` pinskia at gcc dot gnu.org
@ 2024-09-03 7:27 ` pinskia at gcc dot gnu.org
2024-09-03 7:28 ` pinskia at gcc dot gnu.org
2024-09-03 8:35 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-09-03 7:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116577
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #4)
> (In reply to Tamar Christina from comment #2)
> > compiled with -mcpu=neoverse-v1 -Ofast reproduces the ICE
>
> `-march=armv9-a -O3 ` is enough to reproduce it.
The k field is not needed:
```
struct a
{
_Complex double j;
double l;
};
void b(struct a *__restrict c,
struct a *__restrict g,
int e, double f)
{
for(int i = 0; i < e; i++)
{
c[i].j = g[i].j;
c[i].l = g[i].l;
}
}
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/116577] [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations
2024-09-03 6:17 [Bug tree-optimization/116577] New: [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations tnfchris at gcc dot gnu.org
` (5 preceding siblings ...)
2024-09-03 7:27 ` pinskia at gcc dot gnu.org
@ 2024-09-03 7:28 ` pinskia at gcc dot gnu.org
2024-09-03 8:35 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-09-03 7:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116577
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|aarch64* |aarch64* x86_64
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #5)
> (In reply to Andrew Pinski from comment #4)
> > (In reply to Tamar Christina from comment #2)
> > > compiled with -mcpu=neoverse-v1 -Ofast reproduces the ICE
> >
> > `-march=armv9-a -O3 ` is enough to reproduce it.
'-O3' is enough with this reduced testcase and can reproduce on x86_64 too.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/116577] [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations
2024-09-03 6:17 [Bug tree-optimization/116577] New: [15 Regression] tonto in SPECCPU 2006 ICEs in vect_lower_load_permutations tnfchris at gcc dot gnu.org
` (6 preceding siblings ...)
2024-09-03 7:28 ` pinskia at gcc dot gnu.org
@ 2024-09-03 8:35 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-09-03 8:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116577
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think r15-3394-g7c9394e84c5423 should have fixed this.
^ permalink raw reply [flat|nested] 9+ messages in thread