This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61614] [4.9/4.10 Regression] Bogus error: taking address of temporary array
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Jun 2014 14:34:11 +0000
- Subject: [Bug c++/61614] [4.9/4.10 Regression] Bogus error: taking address of temporary array
- Auto-submitted: auto-generated
- References: <bug-61614-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61614
--- Comment #6 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Fri Jun 27 14:33:39 2014
New Revision: 212074
URL: https://gcc.gnu.org/viewcvs?rev=212074&root=gcc&view=rev
Log:
/cp
2014-06-27 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/61614
* semantics.c (finish_compound_literal): Revert r204228.
/testsuite
2014-06-27 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/61614
* g++.dg/ext/complit14.C: New.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/ext/complit14.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/semantics.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog