diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2011-04-28 09:21:23 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2011-04-28 09:21:23 +0000 |
commit | 83b6b866e6860bb7555d91c1f05f9215f15a60f0 (patch) | |
tree | b445fe20c14867fb8e479fb47f81ec43981c9619 /gcc/java/mangle.c | |
parent | 8576f20aedfbbdc1b82ce89be28fbf4a14d9a857 (diff) | |
download | gcc-83b6b866e6860bb7555d91c1f05f9215f15a60f0.zip gcc-83b6b866e6860bb7555d91c1f05f9215f15a60f0.tar.gz gcc-83b6b866e6860bb7555d91c1f05f9215f15a60f0.tar.bz2 |
re PR c++/48771 ([C++0x] is_literal_type incorrect for references to non-literal types)
/cp
2011-04-28 Paolo Carlini <paolo.carlini@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.carlini@oracle.com>
PR c++/48771
* g++.dg/ext/is_literal_type1.C: New.
From-SVN: r173062
Diffstat (limited to 'gcc/java/mangle.c')
0 files changed, 0 insertions, 0 deletions