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: [RFC][4.4] Conversion of tree.h STRIP_* macros into static inline functions


Attached is a revised version of this patch, incorporating review comments; thanks for the feedback.

The patch exceeds 100Kb, so is compressed. Introductory text inlined below.

----------

Turn assorted STRIP_* operations in tree.h from macros into inline functions, allowing for better type safety and debuggability with gdb, and for more natural usage from some client code. Fix call sites as appropriate.

This is a maintainability patch, with no runtime effects. Targetted for gcc 4.4, rather than 4.3.

Tested with bootstrap and regression tests for C, Ada, C++, Fortran, Java, Objc, Obj-C++, and Treelang on linux i386.

...

Attachment: tree_2.patch.gz
Description: GNU Zip compressed data


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