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++/25632] [4.0/4.1/4.2 Regression] ICE with const int copied into two different functions



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-01-03 14:12 -------
Caused by either:
2005-10-16  Mark Mitchell  <mark@codesourcery.com>

        PR c++/24389
        * decl2.c (mark_used): Use uses_template_parms instead of
        dependent_type_p.
        * init.c (constant_value_1): Handle uninstantiated templates
        specially. 
        * pt.c (instantiate_decl): Add sanity check.
or
2005-10-11  Mark Mitchell  <mark@codesourcery.com>

        PR c++/21089
        * call.c (convert_like_real): Use decl_constant_value, not
        integral_constant_value.
        * init.c (constant_value_1): New function.
        (integral_constant_value): Use it.
        (decl_constant_value): Likewise.
        * typeck.c (decay_conversion): Use decl_constant_value, not
        integral_constant_value.


-- 


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



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