This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: Cleanup linkage handling
On Jul 30, 2004, at 12:02 PM, Gabriel Dos Reis wrote:
Mark Mitchell <mark@codesourcery.com> writes:
| This patch makes the C++ front end always work in unit-at-a-time
mode.
| This has approximately no compile-time impact, in my testing, and
| permits some cleanups of the various decisions about whether to emit
| definitions, weak definitions, or external references -- all of those
| decisions are now put off until the end of the translation unit.
|
| This are still more complicated that they should be, but part of that
| is what we get for having all of:
|
| * #pragma interface, #pragma implementation
I would not cry if these suddendly died...
I wouldn't either. But: we tried removing them a couple months ago and
found that other people did cry. If we remove them, we'll have to
either do the usual staged removal or at least show people some other
way to do the things they're currently using those pragmas for.
--Matt