http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48771
--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-04-28 09:21:25 UTC --- Author: paolo Date: Thu Apr 28 09:21:23 2011 New Revision: 173062 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173062 Log: /cp 2011-04-28 Paolo Carlini <paolo.carl...@oracle.com> PR c++/48771 * semantics.c (literal_type_p): Reference types are literal types, per the FDIS. (valid_type_in_constexpr_fundecl_p): Remove. (is_valid_constexpr_fn): Adjust. /testsuite 2011-04-28 Paolo Carlini <paolo.carl...@oracle.com> PR c++/48771 * g++.dg/ext/is_literal_type1.C: New. Added: trunk/gcc/testsuite/g++.dg/ext/is_literal_type1.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog