On 5/20/25 1:22 AM, Stefan Schulze Frielinghaus wrote:
Since genoutput has no information about hard register names we cannot
statically verify those names in constraints of the machine description.
Therefore, we have to do it at runtime.  Although verification shouldn't
be too expensive, restrict it to checking builds.  This should be
sufficient since hard register constraints in machine descriptions
probably change rarely, and each commit should be tested with checking
anyway, or at the very least before a release is taken.
---
  gcc/genoutput.cc | 46 ++++++++++++++++++++++++++++++++++++++++++++++
  gcc/output.h     |  2 ++
  gcc/toplev.cc    |  4 ++++
  3 files changed, 52 insertions(+)
OK.  Needs a ChangeLog entry.
jeff

Reply via email to