[Bug c++/70824] [6/7 Regression] cc1plus consumes all available memory on specific template code
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Sun May 29 21:35:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70824
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
In the constant_value_1 loop, instantiate_non_dependent_or_null turns the
DECL_INITIAL of the decl which is a CONSTRUCTOR:
<constructor 0x7ffff6da8e70
type <array_type 0x7ffff6db0888
type <integer_type 0x7ffff6d9c2a0 int readonly type_6 SI
into a new VAR_DECL:
<var_decl 0x7ffff6db6120 ._1
type <array_type 0x7ffff6db0888
type <integer_type 0x7ffff6d9c2a0 int readonly type_6 SI
and the loop never ends.
More information about the Gcc-bugs
mailing list