This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/62171] restrict pointer to struct with restrict pointers parm doesn't prevent aliases
- From: "ncahill_alt at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 19 Aug 2016 18:12:44 +0000
- Subject: [Bug tree-optimization/62171] restrict pointer to struct with restrict pointers parm doesn't prevent aliases
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-62171-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62171
--- Comment #16 from ncahill_alt at yahoo dot com ---
(In reply to Richard Biener from comment #15)
> (In reply to ncahill_alt from comment #14)
> > This test is failing for me in GCC 6.1.0 (i386). It complains about having
> > no vectype.
> >
> > Why that is, I don't know. But it doesn't seem to be a problem otherwise,
> > it seems pretty safe to ignore except that it could vectorize the loop but
> > doesn't.
> >
> > I wonder if it would be easier just to have this be UNSUPPORTED on i386.
>
> It should be by means of the { dg-require-effective-target vect_double }
> directive. Does it work if you remove the { dg-options ... } one?
It does, the test still runs but the result is a pass. If I place the
dg-options line below the require-target line, it fails.