This is the mail archive of the gcc-cvs@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]

r242349 - in /trunk/gcc: cp/ChangeLog cp/conste...


Author: jason
Date: Sun Nov 13 06:52:15 2016
New Revision: 242349

URL: https://gcc.gnu.org/viewcvs?rev=242349&root=gcc&view=rev
Log:
Fix constexpr lvalue use of __real and __imag.

	* constexpr.c (potential_constant_expression_1): REALPART_EXPR and
	IMAGPART_EXPR can be lvalues.

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


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