https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90073
--- Comment #4 from Rodrigo ---
(In reply to H.J. Lu from comment #3)
> Fixed on
>
> https://gitlab.com/x86-gcc/wip/tree/usr/hjl/pr89226/master
>
> which will be submitted for GCC 10.
>
> *** This bug has been marked as a duplicate of bug 8922
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90073
--- Comment #2 from Rodrigo ---
(In reply to H.J. Lu from comment #1)
> The problem is with the default -mtune=generic.
>
> [hjl@gnu-cfl-1 gcc]$ cat /tmp/foo.cc
> #include
>
> using data = long long __attribute__((vector_size(64)));
> void f(d
: unassigned at gcc dot gnu.org
Reporter: rcc.dark at gmail dot com
Target Milestone: ---
Created attachment 46155
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46155&action=edit
Source code and assembly output
Hi all, the following code generates very poor assembly code f
++
Assignee: unassigned at gcc dot gnu.org
Reporter: rcc.dark at gmail dot com
Target Milestone: ---
Created attachment 45928
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45928&action=edit
Source code that triggers the bug
Hi all, this code does not compile (&
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70970
--- Comment #4 from Rodrigo ---
Well, without auto-vectorization the code should work (x86 allows non-SSE
misaligned reads and writes). But I think understand your rationale.
Thanks.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70970
--- Comment #2 from Rodrigo ---
Just noticed a dumb mistake in the parameter order of memalign (_aligned_malloc
is (size, alignment); memalign is (alignment, size)) but the problem persists.
Also forgot that I had to use -march=native under 5.3.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70970
Rodrigo changed:
What|Removed |Added
Attachment #38424|0 |1
is obsolete|
-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: rcc.dark at gmail dot com
Target Milestone: ---
Created attachment 38424
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38424&action=edit
the code
Sorry if this has been reported before. I have tested i
++
Assignee: unassigned at gcc dot gnu.org
Reporter: rcc.dark at gmail dot com
Target Milestone: ---
Hi all. The following code does not compile under MinGW-64 GCC 5.2.0 / Linux-64
GCC 5.3.1:
#include
#include
int main( )
{
auto lambda = [](auto i) {
return i == 5