Re: Can our C++ vectors hold derived classes?

2013-06-12 Thread Andrew Pinski
On Wed, Jun 12, 2013 at 10:23 AM, Martin Jambor wrote: > Hi everyone, but especially Diego :-) > > it seems to me that our new C++ vectors have some problems holding > derived classes. For example, when try to compile the following I think the answer is simple. vec supports POD only, once you h

[PATCH] Remake initial changes from old lambda branch to support explicit lambda template support and fixup against mainline gcc/cp changes.

2013-06-12 Thread Adam Butcher
This only supports the explicit template parameter syntax and does not correctly support conversion to static ptr-to-function for generic stateless lambdas. --- gcc/cp/mangle.c| 2 ++ gcc/cp/parser.c| 43 +-- gcc/cp/semantics.c | 24

Re: [lambda] First stage remake of old lambda patches

2013-06-12 Thread Adam Butcher
Hi Jason, I did find some code in the end but it wasn't much use due to the changes in gcc/cp since the old lambda branch from which the original patch was based. I've since been finding 10 minutes here and there to have a hack about and have finally got the first stage of generic lambda support

Can our C++ vectors hold derived classes?

2013-06-12 Thread Martin Jambor
Hi everyone, but especially Diego :-) it seems to me that our new C++ vectors have some problems holding derived classes. For example, when try to compile the following struct zzzA { int kind; }; struct zzzB : public zzzA { int some, data, here; }; struct container

MELT 0.9.9 rc3 plugin release candidate for GCC 4.6, 4.7, 4.8

2013-06-12 Thread Basile Starynkevitch
Dear All It is my pleasure to annnounce the MELT plugin 0.9.9 rc3 release candidate 3 (for GCC 4.6, 4.7, 4.8). This is a significant release of the MELT plugin (and the last able to work as plugin to GCC 4.6) References http://gcc.gnu.org/ml/gcc/2013-06/msg00018.html & http://gcc.gnu.org/ml/g

Re: Hurd port for GCC Go (was: [PATCH] gccgo patch 0-2 (9))

2013-06-12 Thread Svante Signell
Hi Thomas, On Tue, 2013-06-11 at 10:31 +0200, Thomas Schwinge wrote: > Hi! > > On Fri, 07 Jun 2013 11:14:31 +0200, Svante Signell > wrote: > > Attached are patches to enable gccgo to build properly on Debian > > GNU/Hurd on gcc-4.7 (4.7.3-4). > > Thanks! I've begun integrating them into my GC