[Bug c++/53650] [4.7 Regression] large array causes huge memory use
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 22 16:29:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53650
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> 2013-01-22 16:29:07 UTC ---
Author: jason
Date: Tue Jan 22 16:28:58 2013
New Revision: 195380
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195380
Log:
PR c++/53650
* call.c (type_has_extended_temps): New.
* cp-tree.h: Declare it.
* decl.c (check_initializer): Use build_aggr_init for arrays
if it is false.
* init.c (build_vec_init): Avoid mixed signed/unsigned arithmetic.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/init/array34.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/call.c
branches/gcc-4_7-branch/gcc/cp/cp-tree.h
branches/gcc-4_7-branch/gcc/cp/decl.c
branches/gcc-4_7-branch/gcc/cp/init.c
More information about the Gcc-bugs
mailing list