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++/20453] [4.1 Regression] GCC fails to treat a valid constant expression as a template argument


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-17 16:09 -------
This is also fixed on the mainline.
It was fixed by:
2005-03-17  Nathan Sidwell  <nathan@codesourcery.com>

        PR c++/20186
        * pt.c (contains_dependent_cast_p): Remove.
        (fold_non_dependent_expr): Don't use it.
        (value_dependent_expression_p): Use a switch statement.
        reference_exprs can be dependent.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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