public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5534: simple case that fails to link when using -frepo
@ 2002-07-06  7:42 lerdsuwa
  0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2002-07-06  7:42 UTC (permalink / raw)
  To: bgreen, gcc-bugs, gcc-prs, nobody

Synopsis: simple case that fails to link when using -frepo

State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Sat Jul  6 07:42:08 2002
State-Changed-Why:
    Fixed in GCC 3.1.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5534


^ permalink raw reply	[flat|nested] 2+ messages in thread

* c++/5534: simple case that fails to link when using -frepo
@ 2002-01-29 14:06 bgreen
  0 siblings, 0 replies; 2+ messages in thread
From: bgreen @ 2002-01-29 14:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5534
>Category:       c++
>Synopsis:       simple case that fails to link when using -frepo
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 29 14:06:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bryan Green
>Release:        3.0.3
>Organization:
>Environment:
Configured with: /home/bgreen/gcc/gcc-3.0.3/configure --prefix=/usr/local/gcc-3.0.3 --enable-threads=posix
Thread model: posix
gcc version 3.0.3
Linux 2.4.2-2smp-081701 #2 SMP i686 unknown
>Description:
The code submitted, when compiled with -frepo option,
causes numerous iterations of:
 collect: recompiling frepo.C
 collect: relinking
before failing with an undefined symbol.
The source to the problem is in the use of the unnamed
namespace for the structure definition.
The example code uses an stl list, but changing it to
a vector or deque shows equivalent results.
>How-To-Repeat:
#include <list>

namespace {
    struct data {
        int v;
    };
}

int main(int,char **)
{
    std::list<data> llist;
    return 0;
}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-06 14:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-06  7:42 c++/5534: simple case that fails to link when using -frepo lerdsuwa
  -- strict thread matches above, loose matches on Subject: below --
2002-01-29 14:06 bgreen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).