re PR rtl-optimization/84643 (gcc/optabs.c:6549:26: runtime error: load of value 131075, which is not a valid value for type 'memmodel')

PR rtl-optimization/84643
	* memmodel.h (enum memmodel): Add MEMMODEL_MAX enumerator.

From-SVN: r258662
This commit is contained in:
Jakub Jelinek 2018-03-19 21:46:23 +01:00 committed by Jakub Jelinek
parent ac9ec1988a
commit 42f8338d59
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-03-19 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/84643
* memmodel.h (enum memmodel): Add MEMMODEL_MAX enumerator.
2018-03-19 Maxim Ostapenko <m.ostapenko@samsung.com>
PR sanitizer/78651

View File

@ -45,7 +45,9 @@ enum memmodel
MEMMODEL_LAST = 6,
MEMMODEL_SYNC_ACQUIRE = MEMMODEL_ACQUIRE | MEMMODEL_SYNC,
MEMMODEL_SYNC_RELEASE = MEMMODEL_RELEASE | MEMMODEL_SYNC,
MEMMODEL_SYNC_SEQ_CST = MEMMODEL_SEQ_CST | MEMMODEL_SYNC
MEMMODEL_SYNC_SEQ_CST = MEMMODEL_SEQ_CST | MEMMODEL_SYNC,
/* Say that all the higher bits are valid target extensions. */
MEMMODEL_MAX = INTTYPE_MAXIMUM (int)
};
/* Return the memory model from a host integer. */