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++/50233] Internal compiler error: in build_value_init_noctor, at cp/init.c:336


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50233

--- Comment #5 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> 2011-08-30 09:52:19 UTC ---
I just notice that the current exclusion of reinterpret_cast in constant
expressions would make it impossible to define addressof as a constexpr
function. C++11 currently invalidates the special portable language rule of
reinterpret_cast, addressof is based on, see also the recent example given in
bug 49171, comment 2.


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