This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix PR 25886. Convert OMP_CLAUSE_* into sub-codes.


Diego Novillo wrote:
Committed. I added of omp_clause_kind for GATHER_STATISTICS.

Tested on x86 and x86-64 with --enable-gather-detailed-mem-stats.


This patch breaks bootstrap for --disable-checking.


#define OMP_CLAUSE_REDUCTION_CODE(NODE) \
(OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_REDUCTION)->omp_clause.subcode.reduction_code)


etc.

OMP_CLAUSE_SUBCODE_CHECK is only defined 'if defined ENABLE_TREE_CHECKING'

Andreas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]