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++/55993] [C++11] derived-to-base conversion fails in constant expression


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

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> 2013-02-13 17:56:33 UTC ---
Author: jason
Date: Wed Feb 13 17:56:28 2013
New Revision: 196023

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196023
Log:
    PR c++/55993
    * semantics.c (cxx_fold_indirect_ref): Handle empty bases at
    non-zero offsets, too.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-empty6.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c


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