public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23093] New: base class template specialization in library
@ 2005-07-27 15:43 john dot gravley at cctechnol dot com
  2005-07-27 15:45 ` [Bug c++/23093] " john dot gravley at cctechnol dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: john dot gravley at cctechnol dot com @ 2005-07-27 15:43 UTC (permalink / raw)
  To: gcc-bugs

I have found an apparent bug in gcc 3.4.4 under Cygwin. The attached test case
(and the code it's derived from) works as expected with Cygwin gcc 3.3.3 with
the exact same Cygwin install except the compiler packages. It also works fine
with various versions of gcc on other platforms, including 3.4.2 (FC3) and 4.0
(FC4).

The test case is all of the files in the attached
gcc-3.4.4-bug-test-case.tar.gz.  I sent the sample instead of the preprocessed
files because the bug only presents itself when the base class code is in a
library.  If you include it in the main file or just link it in as a .o, the
code works fine.



gcc version (results of gcc -v)
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose
--prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,java,objc --enable-nls
--without-included-gettext --enable-version-specific-runtime-libs
--without-x --enable-libgcj --disable-java-awt --with-system-zlib
--enable-interpreter --disable-libgcj-debug --enable-threads=posix
--enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions
--enable-hash-synchronization --enable-libstdcxx-debug : (reconfigured)
Thread model: posix
gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)

system (results of uname -a)
CYGWIN_NT-5.0 trivia 1.5.17(0.129/4/2) 2005-05-25 19:38 i686 unknown
unknown Cygwin

command line (see Makefile and baselib.mak)

There are no compiler warnings or errors.

-- 
           Summary: base class template specialization in library
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: john dot gravley at cctechnol dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23093


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

* [Bug c++/23093] base class template specialization in library
  2005-07-27 15:43 [Bug c++/23093] New: base class template specialization in library john dot gravley at cctechnol dot com
@ 2005-07-27 15:45 ` john dot gravley at cctechnol dot com
  2005-07-27 15:48 ` john dot gravley at cctechnol dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: john dot gravley at cctechnol dot com @ 2005-07-27 15:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From john dot gravley at cctechnol dot com  2005-07-27 15:43 -------
Created an attachment (id=9372)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9372&action=view)
results of cygcheck

Cygwin bug reporting requests this file.  It is included in case it useful
here.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23093


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

* [Bug c++/23093] base class template specialization in library
  2005-07-27 15:43 [Bug c++/23093] New: base class template specialization in library john dot gravley at cctechnol dot com
  2005-07-27 15:45 ` [Bug c++/23093] " john dot gravley at cctechnol dot com
@ 2005-07-27 15:48 ` john dot gravley at cctechnol dot com
  2005-07-27 16:04 ` [Bug target/23093] " pinskia at gcc dot gnu dot org
  2005-07-27 16:35 ` gerrit at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: john dot gravley at cctechnol dot com @ 2005-07-27 15:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From john dot gravley at cctechnol dot com  2005-07-27 15:45 -------
Created an attachment (id=9373)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9373&action=view)
This is the set of test case files.

This set of files exhibits the apparent bug.  Makefiles are not perfect.  You
will need to do a 'make clean' in between builds for them to behave as
expected.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23093


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

* [Bug target/23093] base class template specialization in library
  2005-07-27 15:43 [Bug c++/23093] New: base class template specialization in library john dot gravley at cctechnol dot com
  2005-07-27 15:45 ` [Bug c++/23093] " john dot gravley at cctechnol dot com
  2005-07-27 15:48 ` john dot gravley at cctechnol dot com
@ 2005-07-27 16:04 ` pinskia at gcc dot gnu dot org
  2005-07-27 16:35 ` gerrit at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-27 16:04 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |target
 GCC target triplet|                            |i686-pc-cygwin


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23093


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

* [Bug target/23093] base class template specialization in library
  2005-07-27 15:43 [Bug c++/23093] New: base class template specialization in library john dot gravley at cctechnol dot com
                   ` (2 preceding siblings ...)
  2005-07-27 16:04 ` [Bug target/23093] " pinskia at gcc dot gnu dot org
@ 2005-07-27 16:35 ` gerrit at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: gerrit at gcc dot gnu dot org @ 2005-07-27 16:35 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gerrit at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23093


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

end of thread, other threads:[~2005-07-27 16:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-27 15:43 [Bug c++/23093] New: base class template specialization in library john dot gravley at cctechnol dot com
2005-07-27 15:45 ` [Bug c++/23093] " john dot gravley at cctechnol dot com
2005-07-27 15:48 ` john dot gravley at cctechnol dot com
2005-07-27 16:04 ` [Bug target/23093] " pinskia at gcc dot gnu dot org
2005-07-27 16:35 ` gerrit at gcc dot gnu dot org

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