Module Name: src Committed By: kalvisd Date: Sun Sep 29 06:42:14 UTC 2024
Modified Files: src/external/gpl3/gcc/dist/gcc: recog.cc Log Message: gcc: vax: add #ifdef NB_FIX_VAX_BACKEND guard clauses OK rin@ To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/dist/gcc/recog.cc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gcc/dist/gcc/recog.cc diff -u src/external/gpl3/gcc/dist/gcc/recog.cc:1.2 src/external/gpl3/gcc/dist/gcc/recog.cc:1.3 --- src/external/gpl3/gcc/dist/gcc/recog.cc:1.2 Sun Sep 29 06:17:31 2024 +++ src/external/gpl3/gcc/dist/gcc/recog.cc Sun Sep 29 06:42:14 2024 @@ -1485,9 +1485,11 @@ general_operand (rtx op, machine_mode mo if (!reload_completed && maybe_ne (SUBREG_BYTE (op), 0) && MEM_P (sub) +#ifdef NB_FIX_VAX_BACKEND && (maybe_gt (SUBREG_BYTE (op), GET_MODE_SIZE (GET_MODE (sub))) || !multiple_p (SUBREG_BYTE (op), GET_MODE_SIZE (mode)) ) +#endif /* NB_FIX_VAX_BACKEND */ ) return false;