public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cameron314 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/51048] Class template inheritance doesn't work well with function-local types
Date: Sat, 28 Sep 2013 15:10:00 -0000	[thread overview]
Message-ID: <bug-51048-4-kxURyspbC5@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-51048-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from Cameron <cameron314 at gmail dot com> ---
Comment on attachment 30923
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30923
Self contained test case to reproduce bug 51048

Tested with g++ 4.8.1. g++ -v yields:
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin
--enable-initfini-array --enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-isl=/builddir/build/BUILD/gcc-4.8.1-20130603/obj-x86_64-redhat-linux/isl-install
--with-cloog=/builddir/build/BUILD/gcc-4.8.1-20130603/obj-x86_64-redhat-linux/cloog-install
--with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.1 20130603 (Red Hat 4.8.1-1) (GCC)


  parent reply	other threads:[~2013-09-28 15:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09  6:42 [Bug c++/51048] New: " Fetrovsky at gmail dot com
2011-11-09 12:38 ` [Bug c++/51048] " daniel.kruegler at googlemail dot com
2013-07-30 22:55 ` paolo.carlini at oracle dot com
2013-09-28 15:08 ` cameron314 at gmail dot com
2013-09-28 15:10 ` cameron314 at gmail dot com [this message]
2015-06-15 11:16 ` paolo.carlini at oracle dot com
2015-06-15 12:01 ` paolo.carlini at oracle dot com
2015-06-15 19:27 ` paolo at gcc dot gnu.org
2015-10-12 13:16 ` paolo at gcc dot gnu.org
2015-10-12 13:17 ` paolo.carlini at oracle dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-51048-4-kxURyspbC5@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).