This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30452] Strange syntax error with high-value character
- From: "Thomas dot Koenig at online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jan 2007 11:51:25 -0000
- Subject: [Bug fortran/30452] Strange syntax error with high-value character
- References: <bug-30452-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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