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++/54501] infinite recursion on illegal code


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

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-10-18 22:48:49 UTC ---
Author: paolo
Date: Thu Oct 18 22:48:35 2012
New Revision: 192592

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192592
Log:
/cp
2012-10-18  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/54501
    * decl.c (reshape_init_array_1): Avoid infinite loops.

/testsuite
2012-10-18  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/54501
    * g++.dg/init/array30.C: New.
    * g++.dg/init/array31.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/init/array30.C
    trunk/gcc/testsuite/g++.dg/init/array31.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


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