]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
CRIS: Correct "T" to define_memory_constraint, not define_constraint
authorHans-Peter Nilsson <hp@axis.com>
Tue, 28 Mar 2023 01:23:33 +0000 (03:23 +0200)
committerHans-Peter Nilsson <hp@bitrange.com>
Tue, 28 Mar 2023 01:23:33 +0000 (03:23 +0200)
This patch has no effect on builds using reload of libgcc, newlib libc, my
own at-a-glance-testsuite and coremark.  That somewhat surprisingly
also goes for LRA builds, even with all CRIS reload_in_progress
augmented to include lra_in_progress.  I just noticed it when checking
because another port had a similar fix, where it mattered for LRA.

* config/cris/constraints.md ("T"): Correct to
define_memory_constraint.

gcc/config/cris/constraints.md

index 5efb61364f461b38abbd78e170c167ce9432b463..fa9aa19d13e38a08ac9867245952490d9081a867 100644 (file)
                                               || reload_completed)")))
 
 ;; Extra constraints.
-(define_constraint "T"
+(define_memory_constraint "T"
   "Memory three-address operand."
   ;; All are indirect-memory:
   (and (match_code "mem")