diff options
author | Jason Merrill <jason@redhat.com> | 2011-05-21 18:01:45 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2011-05-21 18:01:45 -0400 |
commit | fa4a1e468dd4fc44b1d805142d60ff1c3330276e (patch) | |
tree | 57ee63c2245a76365777794f04ac71029e7c2bb2 /gcc/tree-vect-loop.c | |
parent | b6413764c0dd056f000c6541913e95af9bddbb3e (diff) | |
download | gcc-fa4a1e468dd4fc44b1d805142d60ff1c3330276e.zip gcc-fa4a1e468dd4fc44b1d805142d60ff1c3330276e.tar.gz gcc-fa4a1e468dd4fc44b1d805142d60ff1c3330276e.tar.bz2 |
re PR c++/48945 ([C++0x] static constexpr member function cannot be defined out-of class)
PR c++/48945
* decl.c (grokdeclarator): Don't add set const function-cv-qual
for constexpr fns to memfn_quals, just add it to the type.
(revert_static_member_fn): Don't complain about quals.
(check_static_quals): New.
(grokfndecl): Call it.
(start_preparsed_function): Don't call revert_static_member_fn.
From-SVN: r174007
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions