aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/java
diff options
context:
space:
mode:
authorLee Millward <lee.millward@codesourcery.com>2006-09-25 19:58:10 +0000
committerLee Millward <lmillward@gcc.gnu.org>2006-09-25 19:58:10 +0000
commit9b910171a09f1ea69821c0c8a7f53cc0c33401f7 (patch)
tree2c56dcc26e3d0df9849f035f979db2f24b1c0063 /libjava/classpath/java
parent60feef2c2dd41cc6c6e9cd492c3e1199595326d8 (diff)
downloadgcc-9b910171a09f1ea69821c0c8a7f53cc0c33401f7.zip
gcc-9b910171a09f1ea69821c0c8a7f53cc0c33401f7.tar.gz
gcc-9b910171a09f1ea69821c0c8a7f53cc0c33401f7.tar.bz2
re PR c++/27667 (ICE with in-class specialization)
PR c++/27667 * cp-tree.h (begin_specialization): Return bool instead of void. * pt.c (check_specialization_scope): Likwise. Adjust comment. Return false if a specialization isn't permitted in the current scope,. (begin_specialization): Use the return value of check_specialization_scope. * parser.c (cp_parser_explicit_specialization): If begin_specialization returned false, skip the rest of the specialization. * g++.dg/template/spec33.C: New test. * g++.old-deja/g++.pt/spec20.C: Adjust error markers. From-SVN: r117206
Diffstat (limited to 'libjava/classpath/java')
0 files changed, 0 insertions, 0 deletions