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++/54038] [4.7/4.8 Regression] finalize_type_size enters infinite loop becasue TYPE_NEXT_VARIANT (variant) == variant


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

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-20 16:11:51 UTC ---
Author: jason
Date: Fri Jul 20 16:11:42 2012
New Revision: 189719

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189719
Log:
    PR c++/54038
    * tree.c (build_cplus_array_type): Use build_cplus_array_type to build
    canonical array type rather than mess with its TYPE_*_VARIANT.

Added:
    trunk/gcc/testsuite/g++.dg/other/array7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.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]