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 java/8923] [4.0/4.1/4.2 Regression] ICE when modifying a variable decleared "final static"



------- Comment #9 from aph at gcc dot gnu dot org  2006-08-10 19:35 -------
Subject: Bug 8923

Author: aph
Date: Thu Aug 10 19:35:07 2006
New Revision: 116069

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116069
Log:
2006-08-10  Simon Martin  <simartin@users.sourceforge.net>

        PR java/8923
        * parse.y (build_incdec): Emit an error instead of an ICE if '++'
        or '--' is used with a constant operand.
        (java_complete_lhs): When processing a '++' or '--' expression,
        don't call java_complete_tree but java_complete_lhs, so that a
        static final variable operand is never replaced by its value. This
        avoids an ICE later on.
        (patch_unaryop): Fixed typo in comment.


Modified:
    trunk/gcc/java/ChangeLog
    trunk/gcc/java/parse.y


-- 


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


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