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/5675] [4.0 regression] const variables wrongly considered part of constant expressions


------- Additional Comments From ian at airs dot com  2005-01-13 02:34 -------
Just a note that reverting this patch:
    http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01334.html
fixes this regression.  Reverting that patch

Jan said that his patch did not change the results of the test, so presumably
something else changed somewhere.

Reverting that patch removes most of the warnings from c90-const-expr-3.c and
c99-const-expr-3.c, although we still get warnings for +0.0, 0.0+0.0, and
(double)0.0.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at airs dot com


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


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