https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86831

--- Comment #10 from janus at gcc dot gnu.org ---
(In reply to janus from comment #5)
> However, in-pack.f90 is the only one that is made to fail by the combination
> of -Ofast and -march=skylake-avx512. I think it's the same problem as PR
> 86735 (at least it behaves in the same way).

Indeed that problem goes away when gfortran is configured to use
GNU assembler (GNU Binutils) 2.31.51.20181124 (as opposed to 2.30, with which
it fails). That means it's indeed a duplicate of PR 86735 (and caused by a
binutils bug).


> Here is a reduction that shows the failure:

Maybe it makes sense to add this (or the test case from PR 86735) to the
testsuite? Although it is not caused by a bug in gcc itself, it would still be
useful to detect if gcc is configured to use a problematic binutils version, I
guess. (Note that only the skylake-avx512 architecture is affected.)

Reply via email to