This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/50067] [4.7 Regression] Wrong code with -fpredictive-commoning
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 19 Aug 2011 11:36:42 +0000
- Subject: [Bug tree-optimization/50067] [4.7 Regression] Wrong code with -fpredictive-commoning
- Auto-submitted: auto-generated
- References: <bug-50067-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50067
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-08-19 11:36:42 UTC ---
Can't we just standardize on some particular element size (say derived from
DR_BASE_ADDRESS's type or even record it in the data_reference structure), use
it if it can be expressed in those units and give up otherwise (both for
ARRAY_REF and for MEM_REF offsets)?