https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68483
--- Comment #6 from lvqcl.mail at gmail dot com ---
(In reply to Richard Biener from comment #2)
> With i?86 I can confirm your observation but I don't see it fixed on trunk.
Sorry, the GCC 6.x compiler that I downloaded was built wit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68483
--- Comment #1 from lvqcl.mail at gmail dot com ---
(In reply to lvqcl.mail from comment #0)
"gcc version 6.0.0 20151121 (experimental)" from dongsheng-daily (mingw-w64)
generates the same code as 4.9.2. So this regression was fixed in 6.x branch.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68482
--- Comment #2 from lvqcl.mail at gmail dot com ---
(In reply to Marc Glisse from comment #1)
> The extra cast so 32-bit unsigned and 64-bit pointers can interact confuses
> the compiler. Trunk (gcc-6) seems to work fine though, can you c
Assignee: unassigned at gcc dot gnu.org
Reporter: lvqcl.mail at gmail dot com
Target Milestone: ---
#include
void test(int32_t* input, int32_t* out, unsigned x1, unsigned x2)
{
unsigned i, j;
unsigned end = x1;
for(i = j = 0; i < 1000
Assignee: unassigned at gcc dot gnu.org
Reporter: lvqcl.mail at gmail dot com
Target Milestone: ---
GCC ver: 5.2.0 and 4.9.2
Arch: x86-64
Options: -S -O2 -ftree-vectorize -msse2
Code:
#include
void test(int32_t* input, int32_t* out, unsigned x1, unsigned x2)
{
unsigned i, j
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61423
--- Comment #1 from lvqcl.mail at gmail dot com ---
Created attachment 32897
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32897&action=edit
test program
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: lvqcl.mail at gmail dot com
The attached program works incorrectly when compiled for i686 with '-O3 -msse2'
or '-O1 -ftree-vectorize -msse2'.
GCC compiles the function
#