aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-parloops.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2008-11-18 13:11:32 -0500
committerJason Merrill <jason@gcc.gnu.org>2008-11-18 13:11:32 -0500
commit3f50c84611bd118046835a42512360c40d2aa299 (patch)
tree8602d347fb3d3d55d2e49fb14e9f56ed321f7a29 /gcc/tree-parloops.c
parent43db6c722af049642c4dd9e504f32cfca668c940 (diff)
downloadgcc-3f50c84611bd118046835a42512360c40d2aa299.zip
gcc-3f50c84611bd118046835a42512360c40d2aa299.tar.gz
gcc-3f50c84611bd118046835a42512360c40d2aa299.tar.bz2
re PR c++/37962 (ICE with (auto*) casts)
PR c++/37962 cp/ * parser.c (cp_parser_type_id): Complain about auto. * decl.c (grokdeclarator): Complain about parameters and conversion functions declared with auto. * call.c (standard_conversion): Use CLASS_TYPE_P instead of MAYBE_CLASS_TYPE_P. * cp-tree.h (TYPE_NON_AGGREGATE_CLASS): Likewise. testsuite/ * g++.dg/cpp0x/auto[38].C: Adjust expected errors. * g++.dg/cpp0x/auto9.C: New test. * g++.dg/cpp0x/auto10.C: New test. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r141970
Diffstat (limited to 'gcc/tree-parloops.c')
0 files changed, 0 insertions, 0 deletions