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

--- Comment #1 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Author: tnfchris
Date: Fri Mar  1 13:34:14 2019
New Revision: 269309

URL: https://gcc.gnu.org/viewcvs?rev=269309&root=gcc&view=rev
Log:
AArch64: Make every option in options.def one line 

Due to config.gcc all the options need to be on one line because of the grep
lines which would select only the first line of the option.

This causes it not to select the right bits on options that are spread over
multiple lines when the --with-arch configure option is used.  The issue
happens
silently and you just get a compiler with an incorrect set of default flags.

This solution just collapses everything back to one line as they were in GCC7.
Unfortunately this does make some lines quite long.

I do have an alternate patch which used the pre-processors to first flatten the
file in config.gcc.  I will send that one out for GCC 10.

gcc/ChangeLog:

        PR target/89517
        * config/aarch64/aarch64-option-extensions.def (fp, simd, crypto, fp16,
        rdma, dotprod, sha2, sha3, sm4, fp16fml, sve): Collapse line.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64-option-extensions.def

Reply via email to