Attachment 'GCC_in_C++.html'

Download

GCC Migration to C++

Language

C++03

macros preparing for C++0x

Language Features Already in Use

Overloading: macros

Run-Time Type Identification: testing TREE_CODE

Templates: VEC macros

Virtual Tables: hooks

Garbage Collection: ggc

Language Features not Aready in Use

Standard Library: affects bootstrapping

Exceptions: not in the short term

Default Arguments: not a good idea

Locals: declare at first use

//Comments: use less space

Easier Migration

Convert predicate/accessor macros to inline functions.

Convert C casts to C++ casts.

Harder Migration

Convert buckets of unions to class hierarchy.

Convert free functions to member functions.

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.

You are not allowed to attach a file to this page.