This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/58500] [C++1y] Crash with auto in function parameter


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58500

--- Comment #2 from abutcher at gcc dot gnu.org ---
Author: abutcher
Date: Mon Sep 23 22:43:44 2013
New Revision: 202851

URL: http://gcc.gnu.org/viewcvs?rev=202851&root=gcc&view=rev
Log:
Fix 58500.

gcc/cp/
    PR c++/58500
    * type-utils.h (find_type_usage): Only traverse one type level into
    member function pointers.

gcc/testsuite/
    PR c++/58500
    * g++.dg/cpp1y/pr58500.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/pr58500.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/type-utils.h
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]