public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/58554] New: Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk
@ 2013-09-27 17:28 pthaugen at gcc dot gnu.org
2013-09-27 19:14 ` [Bug tree-optimization/58554] [4.9 Regression] " pinskia at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: pthaugen at gcc dot gnu.org @ 2013-09-27 17:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58554
Bug ID: 58554
Summary: Revision 202619 causes runtime failure in CPU2006
benchmark 445.gobmk
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: pthaugen at gcc dot gnu.org
CC: bergner at gcc dot gnu.org, dje.gcc at gmail dot com,
rguenth at gcc dot gnu.org
Host: powerpc64-linux
Target: powerpc64-linux
Build: powerpc64-linux
gobmk started failing at runtime with the stated revision. Tracked down
offending code (from benchmark source engine/board.c) and reduced to the
following. Generated code is ignoring control dependence and simply calling
memset to set the entire array.
[pthaugen@igoo build_base_test_32.0000]$ cat junk.c
extern int board_size;
extern unsigned char board[421];
void clear_board(void)
{
int k;
for (k = 0; k < 421; k++) {
/* Original:
if (!((unsigned) (((k) / (19 + 1) - 1)) < (unsigned) board_size &&
(unsigned) (((k) % (19 + 1) - 1)) < (unsigned) board_size)) */
if (k < board_size )
board[k] = 3;
}
}
[pthaugen@igoo build_base_test_32.0000]$
/home/pthaugen/install/gcc/trunk_work/bin/gcc -S -m32 -O3 junk.c
Generated assembler for the function:
clear_board:
lis 3,board@ha
li 4,3
la 3,board@l(3)
li 5,421
b memset
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/58554] [4.9 Regression] Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk
2013-09-27 17:28 [Bug tree-optimization/58554] New: Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk pthaugen at gcc dot gnu.org
@ 2013-09-27 19:14 ` pinskia at gcc dot gnu.org
2013-09-27 19:33 ` law at redhat dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-09-27 19:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58554
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Target Milestone|--- |4.9.0
Summary|Revision 202619 causes |[4.9 Regression] Revision
|runtime failure in CPU2006 |202619 causes runtime
|benchmark 445.gobmk |failure in CPU2006
| |benchmark 445.gobmk
Severity|normal |blocker
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/58554] [4.9 Regression] Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk
2013-09-27 17:28 [Bug tree-optimization/58554] New: Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk pthaugen at gcc dot gnu.org
2013-09-27 19:14 ` [Bug tree-optimization/58554] [4.9 Regression] " pinskia at gcc dot gnu.org
@ 2013-09-27 19:33 ` law at redhat dot com
2013-09-27 19:37 ` law at redhat dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: law at redhat dot com @ 2013-09-27 19:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58554
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |law at redhat dot com
Resolution|--- |DUPLICATE
--- Comment #1 from Jeffrey A. Law <law at redhat dot com> ---
Duplicate.
*** This bug has been marked as a duplicate of bug 58553 ***
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/58554] [4.9 Regression] Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk
2013-09-27 17:28 [Bug tree-optimization/58554] New: Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk pthaugen at gcc dot gnu.org
2013-09-27 19:14 ` [Bug tree-optimization/58554] [4.9 Regression] " pinskia at gcc dot gnu.org
2013-09-27 19:33 ` law at redhat dot com
@ 2013-09-27 19:37 ` law at redhat dot com
2013-09-30 7:50 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: law at redhat dot com @ 2013-09-27 19:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58554
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Last reconfirmed| |2013-09-27
Resolution|DUPLICATE |---
Ever confirmed|0 |1
--- Comment #2 from Jeffrey A. Law <law at redhat dot com> ---
Since this doesn't depend on the recent threading changes to trigger, I'm
keeping this open as I'll probably revert a tiny piece of the threading changes
which will make 58553 go latent.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/58554] [4.9 Regression] Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk
2013-09-27 17:28 [Bug tree-optimization/58554] New: Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk pthaugen at gcc dot gnu.org
` (2 preceding siblings ...)
2013-09-27 19:37 ` law at redhat dot com
@ 2013-09-30 7:50 ` rguenth at gcc dot gnu.org
2013-09-30 10:40 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-09-30 7:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58554
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/58554] [4.9 Regression] Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk
2013-09-27 17:28 [Bug tree-optimization/58554] New: Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk pthaugen at gcc dot gnu.org
` (3 preceding siblings ...)
2013-09-30 7:50 ` rguenth at gcc dot gnu.org
@ 2013-09-30 10:40 ` rguenth at gcc dot gnu.org
2013-09-30 12:22 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-09-30 10:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58554
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ok, this one shows that pattern detection does not consider conditionally
executed stores properly. I have a fix.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/58554] [4.9 Regression] Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk
2013-09-27 17:28 [Bug tree-optimization/58554] New: Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk pthaugen at gcc dot gnu.org
` (4 preceding siblings ...)
2013-09-30 10:40 ` rguenth at gcc dot gnu.org
@ 2013-09-30 12:22 ` rguenth at gcc dot gnu.org
2013-09-30 12:43 ` rguenth at gcc dot gnu.org
2013-09-30 12:46 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-09-30 12:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58554
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Sep 30 12:22:00 2013
New Revision: 203031
URL: http://gcc.gnu.org/viewcvs?rev=203031&root=gcc&view=rev
Log:
2013-09-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/58554
* tree-loop-distribution.c (classify_partition): Require unconditionally
executed stores for memcpy and memset recognition.
(tree_loop_distribution): Calculate dominance info.
* gcc.dg/torture/pr58554.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr58554.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-loop-distribution.c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/58554] [4.9 Regression] Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk
2013-09-27 17:28 [Bug tree-optimization/58554] New: Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk pthaugen at gcc dot gnu.org
` (5 preceding siblings ...)
2013-09-30 12:22 ` rguenth at gcc dot gnu.org
@ 2013-09-30 12:43 ` rguenth at gcc dot gnu.org
2013-09-30 12:46 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-09-30 12:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58554
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/58554] [4.9 Regression] Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk
2013-09-27 17:28 [Bug tree-optimization/58554] New: Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk pthaugen at gcc dot gnu.org
` (6 preceding siblings ...)
2013-09-30 12:43 ` rguenth at gcc dot gnu.org
@ 2013-09-30 12:46 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-09-30 12:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58554
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Ganesh.Gopalasubramanian@am
| |d.com
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 58577 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-09-30 12:46 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-27 17:28 [Bug tree-optimization/58554] New: Revision 202619 causes runtime failure in CPU2006 benchmark 445.gobmk pthaugen at gcc dot gnu.org
2013-09-27 19:14 ` [Bug tree-optimization/58554] [4.9 Regression] " pinskia at gcc dot gnu.org
2013-09-27 19:33 ` law at redhat dot com
2013-09-27 19:37 ` law at redhat dot com
2013-09-30 7:50 ` rguenth at gcc dot gnu.org
2013-09-30 10:40 ` rguenth at gcc dot gnu.org
2013-09-30 12:22 ` rguenth at gcc dot gnu.org
2013-09-30 12:43 ` rguenth at gcc dot gnu.org
2013-09-30 12:46 ` rguenth 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).