------- Comment #2 from howarth at nitro dot med dot uc dot edu 2008-12-18 12:51 ------- Suspect this regression is due to...
r142799 | jason | 2008-12-17 14:08:14 -0500 (Wed, 17 Dec 2008) | 20 lines gcc/cp: * semantics.c (describable_type): New function. (finish_decltype_type): Use it for dependent exprs. * cp-tree.h: Declare it. * mangle.c (write_type) [DECLTYPE_TYPE]: Set skip_evaluation. (write_expression): If skip_evaluation, use type stubs. * tree.c (cp_tree_equal): Handle PARM_DECLs from different declarations of a function. * init.c (build_new): Do auto deduction if type is describable. * decl.c (cp_finish_decl): Likewise. * parser.c (cp_parser_omp_for_loop): Likewise. gcc/testsuite: * g++.dg/cpp0x/auto6.C: Test more stuff. * g++.dg/cpp0x/auto12.C: New test. libiberty: * cp-demangle.c (d_expression): Handle rvalue stubs too. [DEMANGLE_COMPONENT_CAST]: Update mangling. (d_print_comp): Avoid extra ", " with empty template argument packs. Remove handling for obsolete T() mangling. since we are also failing the new auto12.C testcase on i686-apple-darwin9. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38567