This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52446] GCC 4.7.0 can't build some templates, but gcc4.6 branch svn can
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 01 Mar 2012 08:15:07 +0000
- Subject: [Bug c++/52446] GCC 4.7.0 can't build some templates, but gcc4.6 branch svn can
- Auto-submitted: auto-generated
- References: <bug-52446-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52446
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-01 08:15:07 UTC ---
The code is invalid based on that part of the changes.
The trick is to include the header which defines "void sq_vm_free(void
*p,SQUnsignedInteger size);" before the call to it:
sq_vm_free((_vals),((_allocated * sizeof(T))));;
Again this code is invalid and should be rejected for the reason reported.
(In reply to comment #2)
> I also try -fno-permissive
Try -fpermissive since -fno-permissive is the default.