[Bug c++/57694] [c++11] constexpr constructor does not work with const address of own member

2014-11-02 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57694

--- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com ---
This is fixed for 5.0 in r216750. I'm adding the testcase and closing the bug.


[Bug c++/57694] [c++11] constexpr constructor does not work with const address of own member

2014-11-02 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57694

--- Comment #3 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org ---
Author: paolo
Date: Sun Nov  2 09:31:12 2014
New Revision: 217013

URL: https://gcc.gnu.org/viewcvs?rev=217013root=gccview=rev
Log:
2014-11-02  Paolo Carlini  paolo.carl...@oracle.com

PR c++/57694
* g++.dg/cpp0x/constexpr-ctor15.C: New.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-ctor15.C
Modified:
trunk/gcc/testsuite/ChangeLog


[Bug c++/57694] [c++11] constexpr constructor does not work with const address of own member

2014-11-02 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57694

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |5.0

--- Comment #4 from Paolo Carlini paolo.carlini at oracle dot com ---
Done.


[Bug c++/57694] [c++11] constexpr constructor does not work with const address of own member

2014-05-23 Thread lts-rudolph at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57694

Klaus Rudolph lts-rudolph at gmx dot de changed:

   What|Removed |Added

Version|4.8.1   |4.9.0
  Known to fail|4.9.0   |4.8.3

--- Comment #1 from Klaus Rudolph lts-rudolph at gmx dot de ---
I retested the problem with 4.9.0 and got

sorry, unimplemented: use of the value of the object being constructed in a
constant expression