[Bug c++/20220] [4.0/4.1 Regression] Rejecting invalid template code, breaks most of Boost

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 28 12:50:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-28 01:09 -------
(In reply to comment #3)
> This worked with 4.0.0 20050113 but fails with 20050210.
To get a smaller window, it fails with 20050201.
Hmm, it passes with 20050225.
I think this was fixed by:
        PR c++/19991
        * init.c (integral_constant_value): Iterate if the value of a decl
        is itself a constant.

Since this is fixed both the orginal full test case and the reduced version, I am going to close it as fixed.
Giovanni if you want to apply the testcase I think that would be useful for the future.

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


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



More information about the Gcc-bugs mailing list