* [Bug middle-end/66314] ice in verify_loop_structure
2015-05-27 19:15 [Bug c/66314] New: ice in verify_loop_structure dcb314 at hotmail dot com
@ 2015-05-28 7:34 ` rguenth at gcc dot gnu.org
2015-05-28 7:56 ` [Bug middle-end/66314] [6 Regression] " rguenth at gcc dot gnu.org
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-05-28 7:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66314
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2015-05-28
Component|c |middle-end
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/66314] [6 Regression] ice in verify_loop_structure
2015-05-27 19:15 [Bug c/66314] New: ice in verify_loop_structure dcb314 at hotmail dot com
2015-05-28 7:34 ` [Bug middle-end/66314] " rguenth at gcc dot gnu.org
@ 2015-05-28 7:56 ` rguenth at gcc dot gnu.org
2015-05-28 14:44 ` rguenth at gcc dot gnu.org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-05-28 7:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66314
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |5.1.0
Target Milestone|--- |6.0
Summary|ice in |[6 Regression] ice in
|verify_loop_structure |verify_loop_structure
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/66314] [6 Regression] ice in verify_loop_structure
2015-05-27 19:15 [Bug c/66314] New: ice in verify_loop_structure dcb314 at hotmail dot com
2015-05-28 7:34 ` [Bug middle-end/66314] " rguenth at gcc dot gnu.org
2015-05-28 7:56 ` [Bug middle-end/66314] [6 Regression] " rguenth at gcc dot gnu.org
@ 2015-05-28 14:44 ` rguenth at gcc dot gnu.org
2015-05-28 14:50 ` ktkachov at gcc dot gnu.org
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-05-28 14:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66314
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Broken by DOM2.
Can somebody reduce this?
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/66314] [6 Regression] ice in verify_loop_structure
2015-05-27 19:15 [Bug c/66314] New: ice in verify_loop_structure dcb314 at hotmail dot com
` (2 preceding siblings ...)
2015-05-28 14:44 ` rguenth at gcc dot gnu.org
@ 2015-05-28 14:50 ` ktkachov at gcc dot gnu.org
2015-05-28 15:24 ` jakub at gcc dot gnu.org
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-05-28 14:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66314
--- Comment #3 from ktkachov at gcc dot gnu.org ---
Created attachment 35644
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35644&action=edit
Reduced testcase
Confirmed on aarch64-none-elf with current trunk.
Attaching reduced testcase
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/66314] [6 Regression] ice in verify_loop_structure
2015-05-27 19:15 [Bug c/66314] New: ice in verify_loop_structure dcb314 at hotmail dot com
` (3 preceding siblings ...)
2015-05-28 14:50 ` ktkachov at gcc dot gnu.org
@ 2015-05-28 15:24 ` jakub at gcc dot gnu.org
2015-05-28 15:25 ` jakub at gcc dot gnu.org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-05-28 15:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66314
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
char *a;
int b, c, d;
static int
fn1 (int b, int c)
{
while (a)
if (*a)
return -126;
if (b)
return -12;
if (c == -12)
return c;
}
void
fn2 (int b, int c)
{
for (;;)
{
d = fn1 (b, c);
switch (d)
{
case -126:
continue;
default:
return;
}
}
}
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/66314] [6 Regression] ice in verify_loop_structure
2015-05-27 19:15 [Bug c/66314] New: ice in verify_loop_structure dcb314 at hotmail dot com
` (4 preceding siblings ...)
2015-05-28 15:24 ` jakub at gcc dot gnu.org
@ 2015-05-28 15:25 ` jakub at gcc dot gnu.org
2015-05-29 10:51 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-05-28 15:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66314
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #4)
> char *a;
> int b, c, d;
int d;
is enough I guess.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/66314] [6 Regression] ice in verify_loop_structure
2015-05-27 19:15 [Bug c/66314] New: ice in verify_loop_structure dcb314 at hotmail dot com
` (5 preceding siblings ...)
2015-05-28 15:25 ` jakub at gcc dot gnu.org
@ 2015-05-29 10:51 ` rguenth at gcc dot gnu.org
2015-05-29 11:07 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-05-29 10:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66314
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri May 29 10:50:58 2015
New Revision: 223861
URL: https://gcc.gnu.org/viewcvs?rev=223861&root=gcc&view=rev
Log:
2015-05-29 Richard Biener <rguenther@suse.de>
PR tree-optimization/66314
* tree-ssa-threadupdate.c (create_block_for_threading): Add
parameter that says which loop the new block belongs to.
(ssa_create_duplicates): Blocks duplicated for the threaded
path belong to the loop of the thread destination.
* gcc.dg/asan/pr66314.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/asan/pr66314.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-threadupdate.c
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/66314] [6 Regression] ice in verify_loop_structure
2015-05-27 19:15 [Bug c/66314] New: ice in verify_loop_structure dcb314 at hotmail dot com
` (6 preceding siblings ...)
2015-05-29 10:51 ` rguenth at gcc dot gnu.org
@ 2015-05-29 11:07 ` rguenth at gcc dot gnu.org
2015-06-01 13:55 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-05-29 11:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66314
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/66314] [6 Regression] ice in verify_loop_structure
2015-05-27 19:15 [Bug c/66314] New: ice in verify_loop_structure dcb314 at hotmail dot com
` (7 preceding siblings ...)
2015-05-29 11:07 ` rguenth at gcc dot gnu.org
@ 2015-06-01 13:55 ` rguenth at gcc dot gnu.org
2015-06-01 13:58 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-01 13:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66314
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Jun 1 13:55:12 2015
New Revision: 223979
URL: https://gcc.gnu.org/viewcvs?rev=223979&root=gcc&view=rev
Log:
2015-06-01 Richard Biener <rguenther@suse.de>
Revert
2015-05-29 Richard Biener <rguenther@suse.de>
PR tree-optimization/66314
* tree-ssa-threadupdate.c (create_block_for_threading): Add
parameter that says which loop the new block belongs to.
(ssa_create_duplicates): Blocks duplicated for the threaded
path belong to the loop of the thread destination.
* gcc.dg/asan/pr66314.c: New testcase.
Removed:
trunk/gcc/testsuite/gcc.dg/asan/pr66314.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-threadupdate.c
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/66314] [6 Regression] ice in verify_loop_structure
2015-05-27 19:15 [Bug c/66314] New: ice in verify_loop_structure dcb314 at hotmail dot com
` (8 preceding siblings ...)
2015-06-01 13:55 ` rguenth at gcc dot gnu.org
@ 2015-06-01 13:58 ` rguenth at gcc dot gnu.org
2015-06-01 14:00 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-01 13:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66314
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
Reopen.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/66314] [6 Regression] ice in verify_loop_structure
2015-05-27 19:15 [Bug c/66314] New: ice in verify_loop_structure dcb314 at hotmail dot com
` (9 preceding siblings ...)
2015-06-01 13:58 ` rguenth at gcc dot gnu.org
@ 2015-06-01 14:00 ` rguenth at gcc dot gnu.org
2015-07-21 8:11 ` trippels at gcc dot gnu.org
2015-08-03 16:27 ` law at redhat dot com
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-01 14:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66314
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |ASSIGNED
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
Adding gcc/testsuite/gcc.dg/torture/pr66349.c
Adding gcc/testsuite/gcc.dg/torture/pr66357.c
Adding gcc/testsuite/gfortran.fortran-torture/compile/pr66352.f90
were added for the regressions caused by the original fix.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/66314] [6 Regression] ice in verify_loop_structure
2015-05-27 19:15 [Bug c/66314] New: ice in verify_loop_structure dcb314 at hotmail dot com
` (10 preceding siblings ...)
2015-06-01 14:00 ` rguenth at gcc dot gnu.org
@ 2015-07-21 8:11 ` trippels at gcc dot gnu.org
2015-08-03 16:27 ` law at redhat dot com
12 siblings, 0 replies; 14+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-07-21 8:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66314
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hpa at zytor dot com
--- Comment #11 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
*** Bug 66899 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/66314] [6 Regression] ice in verify_loop_structure
2015-05-27 19:15 [Bug c/66314] New: ice in verify_loop_structure dcb314 at hotmail dot com
` (11 preceding siblings ...)
2015-07-21 8:11 ` trippels at gcc dot gnu.org
@ 2015-08-03 16:27 ` law at redhat dot com
12 siblings, 0 replies; 14+ messages in thread
From: law at redhat dot com @ 2015-08-03 16:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66314
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #13 from Jeffrey A. Law <law at redhat dot com> ---
Fixed on trunk
^ permalink raw reply [flat|nested] 14+ messages in thread