public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/102387] New: [12 Regression] ICE Segmentation fault since r12-2429-g62acc72a957b5614
@ 2021-09-17 12:19 marxin at gcc dot gnu.org
2021-09-17 12:19 ` [Bug tree-optimization/102387] " marxin at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-17 12:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102387
Bug ID: 102387
Summary: [12 Regression] ICE Segmentation fault since
r12-2429-g62acc72a957b5614
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: richard.sandiford at arm dot com
Target Milestone: ---
The following crashes:
$ cat loop.f90
integer, dimension (3, 3) :: a
call test1(a, (/123456/))
call test1(a(:2, :), (/124578/))
contains
subroutine test1(p, q)
integer, dimension(*) :: p
integer, dimension(:) :: q
if (any (p(size0) .ne. q)) STOP
end
end
$ gfortran loop.f90 --param=unroll-jam-min-percent=0 -Ofast -fno-tree-ch
--param=max-completely-peeled-insns=1 --param=early-inlining-insns=100
-fno-tree-vrp
loop.f90:8:14:
8 | if (any (p(size0) .ne. q)) STOP
| 1
Warning: Legacy Extension: REAL array index at (1)
during GIMPLE pass: unrolljam
loop.f90:3:35:
3 | call test1(a(:2, :), (/124578/))
| ^
internal compiler error: Segmentation fault
0xf7a54a crash_signal
/home/marxin/Programming/gcc/gcc/toplev.c:328
0x7ffff786239f ???
../sysdeps/unix/sysv/linux/sigaction.c:10
0x10ef65c tree_transform_and_unroll_loop(loop*, unsigned int, edge_def*,
tree_niter_desc*, void (*)(loop*, void*), void*)
/home/marxin/Programming/gcc/gcc/tree-ssa-loop-manip.c:1425
0x1bc688b tree_loop_unroll_and_jam
/home/marxin/Programming/gcc/gcc/gimple-loop-jam.c:590
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/102387] [12 Regression] ICE Segmentation fault since r12-2429-g62acc72a957b5614
2021-09-17 12:19 [Bug tree-optimization/102387] New: [12 Regression] ICE Segmentation fault since r12-2429-g62acc72a957b5614 marxin at gcc dot gnu.org
@ 2021-09-17 12:19 ` marxin at gcc dot gnu.org
2021-09-20 8:37 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-17 12:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102387
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-09-17
Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org
Target Milestone|--- |12.0
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
I can take a look.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/102387] [12 Regression] ICE Segmentation fault since r12-2429-g62acc72a957b5614
2021-09-17 12:19 [Bug tree-optimization/102387] New: [12 Regression] ICE Segmentation fault since r12-2429-g62acc72a957b5614 marxin at gcc dot gnu.org
2021-09-17 12:19 ` [Bug tree-optimization/102387] " marxin at gcc dot gnu.org
@ 2021-09-20 8:37 ` rguenth at gcc dot gnu.org
2021-09-30 22:33 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-09-20 8:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102387
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Likely a duplicate of PR102385?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/102387] [12 Regression] ICE Segmentation fault since r12-2429-g62acc72a957b5614
2021-09-17 12:19 [Bug tree-optimization/102387] New: [12 Regression] ICE Segmentation fault since r12-2429-g62acc72a957b5614 marxin at gcc dot gnu.org
2021-09-17 12:19 ` [Bug tree-optimization/102387] " marxin at gcc dot gnu.org
2021-09-20 8:37 ` rguenth at gcc dot gnu.org
@ 2021-09-30 22:33 ` pinskia at gcc dot gnu.org
2021-09-30 22:34 ` pinskia at gcc dot gnu.org
2021-09-30 22:35 ` pinskia at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-30 22:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102387
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 101897 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/102387] [12 Regression] ICE Segmentation fault since r12-2429-g62acc72a957b5614
2021-09-17 12:19 [Bug tree-optimization/102387] New: [12 Regression] ICE Segmentation fault since r12-2429-g62acc72a957b5614 marxin at gcc dot gnu.org
` (2 preceding siblings ...)
2021-09-30 22:33 ` pinskia at gcc dot gnu.org
@ 2021-09-30 22:34 ` pinskia at gcc dot gnu.org
2021-09-30 22:35 ` pinskia at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-30 22:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102387
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |suochenyao at 163 dot com
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 102385 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/102387] [12 Regression] ICE Segmentation fault since r12-2429-g62acc72a957b5614
2021-09-17 12:19 [Bug tree-optimization/102387] New: [12 Regression] ICE Segmentation fault since r12-2429-g62acc72a957b5614 marxin at gcc dot gnu.org
` (3 preceding siblings ...)
2021-09-30 22:34 ` pinskia at gcc dot gnu.org
@ 2021-09-30 22:35 ` pinskia at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-30 22:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102387
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|ASSIGNED |RESOLVED
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 102385.
*** This bug has been marked as a duplicate of bug 102385 ***
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-09-30 22:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-17 12:19 [Bug tree-optimization/102387] New: [12 Regression] ICE Segmentation fault since r12-2429-g62acc72a957b5614 marxin at gcc dot gnu.org
2021-09-17 12:19 ` [Bug tree-optimization/102387] " marxin at gcc dot gnu.org
2021-09-20 8:37 ` rguenth at gcc dot gnu.org
2021-09-30 22:33 ` pinskia at gcc dot gnu.org
2021-09-30 22:34 ` pinskia at gcc dot gnu.org
2021-09-30 22:35 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).