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: [tuples] C++ify gimple.h


On 10/12/07, Aldy Hernandez <aldyh@redhat.com> wrote:
> The C++ front end does not like implicit casts to void *.  This patch fixes all
> allocations of gimple_stmt_iterator's.
>
> Committed to branch.
>
>         * gimple.h (_ALLOC_GSI): New.
>         Use it throughout when allocating a new gimple_stmt_iterator.

Can you make this macro, a function like macro instead of just a
normal macro?  It looks funny otherwise as I think there are no side
effects.

Thanks,
Andrew Pinski


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