https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115563
--- Comment #6 from mjr19 at cam dot ac.uk ---
A further comment to aid others reading this report. It is not just unnecessary
brackets which used to prevent vectorisation, but also necessary ones.
subroutine foo(a,b,c,n)
complex (kind(1d0)) :
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115563
--- Comment #5 from mjr19 at cam dot ac.uk ---
I'm glad this was useful, and thanks for the impressively rapid fix. I stumbled
across this by chance whilst trying to construct a minimal example for a rather
different missed vectorisation case.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115563
--- Comment #4 from Andrew Pinski ---
Note I have a fix for this which I attached to PR 68855 and will be submitting
it after the bootstrap/test finishes. Thanks again for the testcase and the
decent bug report. It definitely was useful.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115563
--- Comment #3 from Andrew Pinski ---
Note the full IR:
_9 = COMPLEX_EXPR <_15, _14>;
_11 = ((_9));
_19 = REALPART_EXPR <_11>;
_20 = IMAGPART_EXPR <_11>;
REALPART_EXPR <(*a_7(D))[_6]> = _19;
IMAGPART_EXPR <(*a_7(D))[_6]> = _20;
Yes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115563
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|UNCONFIRME
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115563
Andrew Pinski changed:
What|Removed |Added
CC||pinskia at gcc dot gnu.org
--- Comment