public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* recent changes (on HEAD) broke STLport build
@ 2002-08-02  3:32 Ritzert
  2002-08-02 13:58 ` Mark Mitchell
  0 siblings, 1 reply; 2+ messages in thread
From: Ritzert @ 2002-08-02  3:32 UTC (permalink / raw)
  To: gcc; +Cc: gcc-bugs

Hi all,

my nightly autobuild failed when compiling STLport. I was able to
reduce the error to this small testcase:

bash-2.05a$ cat dll_main.ii
class __new_alloc {
public:
  static void allocate() {}
};

template <class _Alloc>
class __debug_alloc : public _Alloc {
public:
  static void allocate();
};

template <class _Alloc>
void __debug_alloc<_Alloc>::allocate() {
  _Alloc::allocate();
}

template class __debug_alloc<__new_alloc>;

bash-2.05a$ gcc -c dll_main.ii
dll_main.ii: In static member function `static void
   __debug_alloc<_Alloc>::allocate() [with _Alloc = __new_alloc]':
dll_main.ii:17:   instantiated from here
dll_main.ii:13: error: `static void __debug_alloc<_Alloc>::allocate()
[with
   _Alloc = __new_alloc]' is inaccessible
dll_main.ii:14: error: within this context


The compile went well with the compiler built 24hours before. Looking
at the ChangeLog (available on request) I suspect it might be caused by
this patch:
http://gcc.gnu.org/ml/gcc-patches/2002-07/msg01911.html . This is only
a wild assumption, however. I will try to verify (or falsify) it by
backing out the patch and retrying.

Is this fixable within a short period of time or shall I file a bug
report so it won't be lost?

Regards,
Michael

PS: If it matters: System is i386-unknown-freebsd4.5.

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

* Re: recent changes (on HEAD) broke STLport build
  2002-08-02  3:32 recent changes (on HEAD) broke STLport build Ritzert
@ 2002-08-02 13:58 ` Mark Mitchell
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Mitchell @ 2002-08-02 13:58 UTC (permalink / raw)
  To: Ritzert, gcc; +Cc: gcc-bugs

> http://gcc.gnu.org/ml/gcc-patches/2002-07/msg01911.html

You are almost certainly correct; I will investigate.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

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

end of thread, other threads:[~2002-08-02 20:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-02  3:32 recent changes (on HEAD) broke STLport build Ritzert
2002-08-02 13:58 ` Mark Mitchell

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).