[Bug tree-optimization/77654] restrict pointer attribute not preserved with -fprefetch-loop-arrays

2016-09-23 Thread mrs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77654

mrs at gcc dot gnu.org  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||mrs at gcc dot gnu.org
 Resolution|--- |FIXED

--- Comment #5 from mrs at gcc dot gnu.org  ---
Fixed.

[Bug tree-optimization/77654] restrict pointer attribute not preserved with -fprefetch-loop-arrays

2016-09-23 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77654

--- Comment #4 from mpf at gcc dot gnu.org ---
Author: mpf
Date: Fri Sep 23 15:48:01 2016
New Revision: 240439

URL: https://gcc.gnu.org/viewcvs?rev=240439=gcc=rev
Log:
Ensure points-to information is maintained for prefetch.

gcc/
PR tree-optimization/77654
* tree-ssa-alias.c (issue_prefetch_ref): Add call
to duplicate_ssa_name_ptr_info.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-loop-prefetch.c

[Bug tree-optimization/77654] restrict pointer attribute not preserved with -fprefetch-loop-arrays

2016-09-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77654

--- Comment #3 from Richard Biener  ---
Looks good though addr_base should always be a pointer but it might not be an
SSA name so better check that.  Patches should go to gcc-patc...@gcc.gnu.org
btw.

[Bug tree-optimization/77654] restrict pointer attribute not preserved with -fprefetch-loop-arrays

2016-09-19 Thread doug.gilmore at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77654

--- Comment #2 from Doug Gilmore  ---
Created attachment 39652
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39652=edit
Prototype fix for bug.

[Bug tree-optimization/77654] restrict pointer attribute not preserved with -fprefetch-loop-arrays

2016-09-19 Thread doug.gilmore at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77654

--- Comment #1 from Doug Gilmore  ---
Created attachment 39651
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39651=edit
Additional tracing used to identify problem.