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]

Re: Eliminating Assembler Already Defined Messages for Java Library


Per Bothner wrote:

> Note I have disabled some error checks for assigning to final
> variables.

> I don't see how it can possibly do the right thing, which
> is to check for "definite assignment" and "definite unnassignment" as
> defined in the (revised) language spec;

Yeah, its broken, see PR 2155:

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2155&database=gcc

We should probibly get rid of the checks on the branch as well - accepts-illegal
is better than rejects-legal IMHO.

regards

  [ bryce ]



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