This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/71391] error on aggregate initialization with side-effects in a constexpr function


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71391

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE
      Known to fail|7.0                         |

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
This appears to have been fixed in r224381 (gcc 6.0.0):

r224381 | jason | 2015-06-11 11:45:01 -0400 (Thu, 11 Jun 2015) | 3 lines

        PR c++/66450
        * constexpr.c (cxx_eval_store_expression): Avoid messing up outer
        ctx->ctor.

*** This bug has been marked as a duplicate of bug 66450 ***

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]