void* vector

2006-12-09 Thread Alexey Smirnov
Hello, I am trying to use vec.h to implement a vector of pointers: typedef void* handle_t; DEF_VEC_I(handle_t); DEF_VEC_ALLOC_I(handle_t,heap); extern VEC(handle_t,heap) *handles; It does not compile: In function 'VEC_handle_t_must_be_integral_type': error: wrong type argument to bit-comple

Re: void* vector

2006-12-09 Thread Alexey Smirnov
vector. It is impossible to dereference a void*. Therefore, we need to use either VEC_I or structure object, but the latter is a stretch. On 12/9/06, Steven Bosscher <[EMAIL PROTECTED]> wrote: On 12/9/06, Alexey Smirnov <[EMAIL PROTECTED]> wrote: > typedef void* handle_t; > &g

GCC Internals Wikibook

2006-03-02 Thread Alexey Smirnov
Hello, There is a wikibook that describes the internals of GCC and GEM, an extensibility framework. http://en.wikibooks.org/wiki/GNU_C_Compiler_Internals GEM allows programmers to write extensions to GNU C. We will submit the framework as a GCC patch. Please give us feedback on the framework

Re: GCC Internals Wikibook

2006-03-06 Thread Alexey Smirnov
There is a wikibook that describes the internals of GCC and GEM, an extensibility framework. Your internals documentation looks pretty good, so I have made a link to it from gcc.gnu.org/readings.html. Thanks, It describes AST part of GCC source code. We would like to ask developers to work o

Re: documentation on inlining model needed

2006-03-08 Thread Alexey Smirnov
Recently, I'm very interested in the inlining model of gcc.I need a detailed documentation describing how the inlining is implemented in gcc 4.0. Anybody who has been or is working on it please send me a documentation. I'd really appreciate your help. There is no such documentation; you're going