This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/61247] vectorization fails for unsigned is used for IV but casted to int before using as the index (and then casted for internal type)
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 18 Oct 2016 05:43:14 +0000
- Subject: [Bug tree-optimization/61247] vectorization fails for unsigned is used for IV but casted to int before using as the index (and then casted for internal type)
- Auto-submitted: auto-generated
- References: <bug-61247-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61247
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Summary|vectorization fails if |vectorization fails for
|conversion from unsigned |unsigned is used for IV but
|int to signed int is |casted to int before using
|involved |as the index (and then
| |casted for internal type)
Severity|minor |enhancement
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
t999.cc:12:17: note: not vectorized: data ref analysis failed _4 = *_18;
t999.cc:12:17: note: bad data references.
Creating dr for *_18
analyze_innermost: failed: evolution of base is not affine.
base_address:
offset from base address:
constant offset from base address:
step:
aligned to:
base_object: *_18