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++/37965] [4.4 regression] ICE with invalid auto variable in template



------- Comment #3 from jakub at gcc dot gnu dot org  2008-10-31 21:31 -------
Subject: Bug 37965

Author: jakub
Date: Fri Oct 31 21:30:05 2008
New Revision: 141501

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141501
Log:
        PR c++/37965
        * decl.c (cp_finish_decl): Diagnose type_uses_auto type with
        no initializer.

        * g++.dg/cpp0x/auto7.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/auto7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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