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 fortran/30452] Strange syntax error with high-value character



------- Comment #4 from Thomas dot Koenig at online dot de  2007-01-13 11:51 -------
Subject: Re:  Strange syntax error with high-value character

jvdelisle at gcc dot gnu dot org wrote:

> Turns out that the character 254 which is Hex FE is also the 2's complement
> representation of -2 which is what is used to signal an error if there is a
> missing delimiter.  It should not be converting this to an int -2

Here's a patch which fixes the testcase.

Currently regtesting.


------- Comment #5 from Thomas dot Koenig at online dot de  2007-01-13 11:51 -------
Created an attachment (id=12895)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12895&action=view)


-- 


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


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