Thread View: gnu.g++.bug
1 messages
1 total messages
Started by Dirk Grunwald
Tue, 17 Oct 1989 18:00
gcc.c in latest g++.xtar.Z
Author: Dirk Grunwald
Date: Tue, 17 Oct 1989 18:00
Date: Tue, 17 Oct 1989 18:00
32 lines
1444 bytes
1444 bytes
There's a slight error w.r.t. collect. My patches from two versions
ago were applied to the source of one version ago; this causes the
USE_COLLECT patch to land in the middle of the do_spec call to ld. The
correct source should look like (sorry, forgot to make RCS file, so no diff)
/* Run ld to link all the compiler output files. */
if (error_count == 0)
{
int tmp = execution_count;
value = do_spec (link_spec);
if (value < 0)
error_count = 1;
linker_was_run = (tmp != execution_count);
}
#ifdef USE_COLLECT
/* C++: now collect all the requirements for
calling global constructors and destructors,
and write them to a file. We will link this file
in when we run. */
if (linker_was_run && ! error_count)
{
int tmp = execution_count;
value = do_spec (collect_spec);
if (value < 0)
error_count = 1;
linker_was_run &= (tmp != execution_count);
}
#endif
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads