public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/67673] New: support restrict pointer to restrict pointer
@ 2015-09-21 17:29 vries at gcc dot gnu.org
2015-09-28 7:52 ` [Bug tree-optimization/67673] " vries at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2015-09-21 17:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67673
Bug ID: 67673
Summary: support restrict pointer to restrict pointer
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
The test-case gcc/testsuite/g++.dg/tree-ssa/restrict2.C contains an xfail:
...
struct S { int *__restrict p; int q; };
int
f5 (S *__restrict x, S *__restrict y)
{
x->p[0] = 5;
y->p[0] = 0;
// We might handle this some day
// { dg-final { scan-tree-dump-times "return 5" 1 "optimized" { xfail *-*-* } }
}
return x->p[0];
}
...
See also https://gcc.gnu.org/ml/gcc-patches/2011-09/msg01466.html .
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug tree-optimization/67673] support restrict pointer to restrict pointer
2015-09-21 17:29 [Bug tree-optimization/67673] New: support restrict pointer to restrict pointer vries at gcc dot gnu.org
@ 2015-09-28 7:52 ` vries at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2015-09-28 7:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67673
vries at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from vries at gcc dot gnu.org ---
https://gcc.gnu.org/ml/gcc-cvs/2015-09/msg00687.html:
Author: rguenth
Date: Wed Sep 23 11:11:48 2015
New Revision: 228040
URL: https://gcc.gnu.org/viewcvs?rev=228040&root=gcc&view=rev
Log:
2015-09-23 Richard Biener <rguenther@suse.de>
* tree-ssa-structalias.c (intra_create_variable_infos): Build
representatives for all restrict qualified pointer destinations.
* g++.dg/tree-ssa/restrict2.C: Un-XFAIL testcase.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/tree-ssa/restrict2.C
trunk/gcc/tree-ssa-structalias.c
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-28 7:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-21 17:29 [Bug tree-optimization/67673] New: support restrict pointer to restrict pointer vries at gcc dot gnu.org
2015-09-28 7:52 ` [Bug tree-optimization/67673] " vries 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).