Re: Where is OMP_CLAUSE_CHECK defined?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 11, 2012, at 12:38 PM, Amittai Aviram wrote:

> On Feb 10, 2012, at 2:35 PM, Ian Lance Taylor wrote:
> 
>> Amittai Aviram <amittai.aviram@xxxxxxxx> 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@xxxxxxxx
> http://www.amittai.com


OOPS!  I just found it, in gcc/gcc/coretypes.h:

union tree_node;
typedef union tree_node * tree;

But where's the definition of union tree_node?  Thanks!

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




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux