[Bug c/12245] [4.2/4.3/4.4 regression] Uses lots of memory when compiling large initialized arrays
hubicka at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Feb 23 13:42:00 GMT 2009
------- Comment #44 from hubicka at gcc dot gnu dot org 2009-02-23 13:41 -------
Hi,
I believe that using fold_convert instead of fold_build1 means that we would
bypass folding done in fold_unary that handles stuff like two conversions in a
row while fold_convert is primarily about returning constant when result is
constant.
Since I want to avoid wrapping fold calls all frontends except for C++
consistently put around convert_to_* calls, I want to do this kind of folding.
I believe only reason to avoid folding is C++ template stuff.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245
More information about the Gcc-bugs
mailing list