public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/66980] New: [graphite] -floop-nest-optimize produces wrong code
@ 2015-07-23 21:01 spop at gcc dot gnu.org
2015-10-01 22:04 ` [Bug tree-optimization/66980] " spop at gcc dot gnu.org
2015-10-01 23:46 ` spop at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: spop at gcc dot gnu.org @ 2015-07-23 21:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66980
Bug ID: 66980
Summary: [graphite] -floop-nest-optimize produces wrong code
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: spop at gcc dot gnu.org
Target Milestone: ---
$ cat s.c
void foo(unsigned char *in, unsigned char *out, int w, int h)
{
unsigned int i, j;
for (i = 0; i < 3*w*h; i++)
for (j = 0; j < 3*w*h; j++)
out[i * w + j] = in[(i * w + j)*3] + in[(i * w + j)*3 + 1] + in[(i * w +
j)*3 + 2];
}
$ gcc -O3 -floop-nest-optimize -S s.c -o -
[...]
foo:
ret
[...]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/66980] [graphite] -floop-nest-optimize produces wrong code
2015-07-23 21:01 [Bug tree-optimization/66980] New: [graphite] -floop-nest-optimize produces wrong code spop at gcc dot gnu.org
@ 2015-10-01 22:04 ` spop at gcc dot gnu.org
2015-10-01 23:46 ` spop at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: spop at gcc dot gnu.org @ 2015-10-01 22:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66980
--- Comment #1 from Sebastian Pop <spop at gcc dot gnu.org> ---
Author: spop
Date: Thu Oct 1 22:04:07 2015
New Revision: 228357
URL: https://gcc.gnu.org/viewcvs?rev=228357&root=gcc&view=rev
Log:
correctly handle non affine data references
2015-10-01 Sebastian Pop <s.pop@samsung.com>
Aditya Kumar <aditya.k7@samsung.com>
PR tree-optimization/66980
* graphite-scop-detection.c (stmt_has_simple_data_refs_p): Return false
when data reference analysis has failed.
Added:
trunk/gcc/testsuite/gcc.dg/graphite/scop-pr66980.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/graphite-scop-detection.c
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/66980] [graphite] -floop-nest-optimize produces wrong code
2015-07-23 21:01 [Bug tree-optimization/66980] New: [graphite] -floop-nest-optimize produces wrong code spop at gcc dot gnu.org
2015-10-01 22:04 ` [Bug tree-optimization/66980] " spop at gcc dot gnu.org
@ 2015-10-01 23:46 ` spop at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: spop at gcc dot gnu.org @ 2015-10-01 23:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66980
Sebastian Pop <spop at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Sebastian Pop <spop at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-01 23:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-23 21:01 [Bug tree-optimization/66980] New: [graphite] -floop-nest-optimize produces wrong code spop at gcc dot gnu.org
2015-10-01 22:04 ` [Bug tree-optimization/66980] " spop at gcc dot gnu.org
2015-10-01 23:46 ` spop 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).