Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/gcc We might've switched modes, re-in...
details: https://anonhg.NetBSD.org/src/rev/915bc4abe8db
branches: trunk
changeset: 1003915:915bc4abe8db
user: maya <maya%NetBSD.org@localhost>
date: Fri Oct 04 12:46:43 2019 +0000
description:
We might've switched modes, re-init the move cost table again if necessary.
Fixes unlikely segfault on VAX.
diffstat:
external/gpl3/gcc/dist/gcc/ira-color.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 74c604013726 -r 915bc4abe8db external/gpl3/gcc/dist/gcc/ira-color.c
--- a/external/gpl3/gcc/dist/gcc/ira-color.c Fri Oct 04 12:34:40 2019 +0000
+++ b/external/gpl3/gcc/dist/gcc/ira-color.c Fri Oct 04 12:46:43 2019 +0000
@@ -1377,6 +1377,7 @@
e.g. DImode for AREG on x86. For such cases the
register move cost will be maximal. */
mode = narrower_subreg_mode (mode, ALLOCNO_MODE (cp->second));
+ ira_init_register_move_cost_if_necessary (mode);
cost = (cp->second == allocno
? ira_register_move_cost[mode][rclass][aclass]
Home |
Main Index |
Thread Index |
Old Index