[Bug c++/61614] [4.9/4.10 Regression] Bogus error: taking address of temporary array

paolo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 27 14:34:00 GMT 2014


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



More information about the Gcc-bugs mailing list