[Bug c/5675] [4.0 regression] const variables wrongly considered part of constant expressions

geoffk at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Oct 25 02:21:00 GMT 2004


------- Additional Comments From geoffk at gcc dot gnu dot org  2004-10-25 02:21 -------
GCC is now more consistent about when this bug triggers, so some cases which passed in 3.4 fail in 
4.0.

There are testcases for this bug, gcc.dg/c90-const-expr-3.c and gcc.dg/c99-const-expr-3.c.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-02-16 04:46:57         |2004-10-25 02:21:16
               date|                            |
            Summary|const variables wrongly     |[4.0 regression] const
                   |considered part of constant |variables wrongly considered
                   |expressions                 |part of constant expressions


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



More information about the Gcc-bugs mailing list