public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ix86/heads/apx)] Fix constraint mapping
@ 2023-09-26  3:32 Hongyu Wang
  0 siblings, 0 replies; only message in thread
From: Hongyu Wang @ 2023-09-26  3:32 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7045adf7ef2fb1a1121f2fd9f871595ccf4a04dc

commit 7045adf7ef2fb1a1121f2fd9f871595ccf4a04dc
Author: Hongyu Wang <hongyu.wang@intel.com>
Date:   Tue Sep 26 11:31:44 2023 +0800

    Fix constraint mapping

Diff:
---
 gcc/config/i386/i386.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/i386/i386.cc b/gcc/config/i386/i386.cc
index 58fa054635a..f583c95e522 100644
--- a/gcc/config/i386/i386.cc
+++ b/gcc/config/i386/i386.cc
@@ -23233,7 +23233,7 @@ static void map_egpr_constraints (vec<const char *> &constraints)
     {
       const char *cur = constraints[i];
 
-      if (startswith (con, "=@cc"))
+      if (startswith (cur, "=@cc"))
 	continue;
 
       int len = strlen (cur);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-26  3:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-26  3:32 [gcc(refs/vendors/ix86/heads/apx)] Fix constraint mapping Hongyu Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).