This is the mail archive of the
mailing list for the GCC project.
[00/11] Diagnose ambiguous .md attribute uses
- From: Richard Sandiford <richard dot sandiford at arm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 05 Jul 2019 16:05:51 +0100
- Subject: [00/11] Diagnose ambiguous .md attribute uses
While doing the SVE ACLE work, I hit a case in which a pattern had
two iterators and used an attribute without saying which iterator
it was referring to. The choice of iterator made a difference and
in this case the implicit choice happened to be the "wrong" one.
This series raises an error for cases in which an unprefixes attribute
could expand to different things depending on the iterator chosen.
It also tries to fix all instances in the ports.
Bootstrapped & regression-tested on aarch64-linux-gnu and
x86_64-linux-gnu. Also tested by building at least one target
per CPU directory and (a) checking for errors and (b) diffing the
autogenerated files before and after the patch.