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]

r196018 - in /trunk/gcc: cp/ChangeLog cp/semant...


Author: jakub
Date: Wed Feb 13 16:09:27 2013
New Revision: 196018

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196018
Log:
	PR c++/56302
	* semantics.c (finish_asm_stmt): If input constraints allow
	neither register nor memory, try maybe_constant_value to get
	a constant if possible.

	* g++.dg/torture/pr56302.C: New test.
	* g++.dg/cpp0x/constexpr-56302.C: New test.
	* c-c++-common/pr56302.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/pr56302.c
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-56302.C
    trunk/gcc/testsuite/g++.dg/torture/pr56302.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


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