This is the mail archive of the gcc-help@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: Where is OMP_CLAUSE_CHECK defined?


On Feb 10, 2012, at 2:35 PM, Ian Lance Taylor wrote:

> Amittai Aviram <amittai.aviram@yale.edu> writes:
> 
>> But I cannot find any definition for OMP_CLAUSE_CHECK.  Where does GCC define this macro?  Thanks.
> 
> It is defined in the generated file tree-check.h.  After building gcc,
> look at gcc/tree-check.h in your build directory.  tree-check.h is built
> by the gencheck program.
> 
> At present the definition is
> 
> #define OMP_CLAUSE_CHECK(t)	TREE_CHECK (t, OMP_CLAUSE)
> 
> Ian

OK, I see—thanks!  Now I am wondering about the "tree" type.  Lots of files use it, including gcc/gcc/tree.h, but I haven't been able to find its definition so far.  Any hints?  Thanks again!

Amittai Aviram
PhD Student in Computer Science
Yale University
646 483 2639
amittai.aviram@yale.edu
http://www.amittai.com


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