Module Name: src Committed By: maya Date: Sat Sep 14 15:00:05 UTC 2019
Modified Files: src/external/gpl3/gcc/dist/gcc: ira-color.c Log Message: Revert ira-color.c r1.2. "VAX does not fully populate the register move costs table, so do not access it w/o checks. Hack to work around PR toolchain/53176." Will commit a more upstream-friendly variant shortly. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/dist/gcc/ira-color.c 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/ira-color.c diff -u src/external/gpl3/gcc/dist/gcc/ira-color.c:1.3 src/external/gpl3/gcc/dist/gcc/ira-color.c:1.4 --- src/external/gpl3/gcc/dist/gcc/ira-color.c:1.3 Sat Jan 19 12:10:04 2019 +++ src/external/gpl3/gcc/dist/gcc/ira-color.c Sat Sep 14 15:00:04 2019 @@ -2771,13 +2771,7 @@ allocno_copy_cost_saving (ira_allocno_t } else gcc_unreachable (); - cost += cp->freq * - ( ira_register_move_cost - && ira_register_move_cost[allocno_mode] - && ira_register_move_cost[allocno_mode][rclass] - ) - ? ira_register_move_cost[allocno_mode][rclass][rclass] - : 0; + cost += cp->freq * ira_register_move_cost[allocno_mode][rclass][rclass]; } return cost; }