This is the mail archive of the gcc-patches@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]

Re: [JAVA, PATCH] PR java/8923: ICE when modifying a variable decleared "final static"


Simon Martin writes:
 > 
 > 2006-07-27  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.

OK, thanks.

Andrew.


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