[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-02-21 Thread jsm28 at gcc dot gnu dot org
--- Additional Comments From jsm28 at gcc dot gnu dot org 2005-02-21 14:15 --- The following checklist for implementation of extended identifiers has been discussed with and prioritised by Zack. No doubt Neil will point out if there are any missing technical points. External specificat

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-02-21 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-02-21 19:47 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) On Mon, 21 Feb 2005, geoffk at geoffk dot org wrote: > > * These rules apply to identifiers as preprocessing tokens at any > > time, including be

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-02-21 Thread zack at codesourcery dot com
--- Additional Comments From zack at codesourcery dot com 2005-02-21 20:14 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) "geoffk at geoffk dot org" <[EMAIL PROTECTED]> writes: > Although I agree that these are all (except the below) nice things to > have, I don't thi

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-02-21 Thread zack at codesourcery dot com
--- Additional Comments From zack at codesourcery dot com 2005-02-21 20:23 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) "geoffk at geoffk dot org" <[EMAIL PROTECTED]> writes: >>> The second half would a pp-number, instead. It is always true that >>> splitting an ide

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-02-21 Thread zack at codesourcery dot com
--- Additional Comments From zack at codesourcery dot com 2005-02-21 20:54 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) "geoffk at geoffk dot org" <[EMAIL PROTECTED]> writes: >>> The second half would a pp-number, instead. It is always true that >>> splitting an ide

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-02-21 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-02-21 23:00 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) jsm28 at gcc dot gnu dot org wrote:- > * The greedy algorithm applies for lexing UCNs: for example, > a\U000z is three preprocessing tokens {

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-02-21 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-02-22 02:13 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) On Mon, 21 Feb 2005, zack at codesourcery dot com wrote: > Standing policy is that all cases which provoke undefined behavior > inside the prepro

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-02-21 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-02-22 02:22 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) On Mon, 21 Feb 2005, neil at daikokuya dot co dot uk wrote: > jsm28 at gcc dot gnu dot org wrote:- > > > * The greedy algorithm applies for lexi

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-02-21 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-02-22 02:28 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) On Mon, 21 Feb 2005, geoffk at geoffk dot org wrote: > My suggestion is that this can be simplified as follows: > > - a CPP token is in the inpu

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-03-12 Thread jsm28 at gcc dot gnu dot org
--- Additional Comments From jsm28 at gcc dot gnu dot org 2005-03-12 11:14 --- Another reason why spelling needs preserving (in addition to implementing # correctly) is for the constraints on duplicate macro definitions. #define foo \u00c1 #define foo \u00C1 is invalid (different spell

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-07-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 02:14 --- Unassigning from Zack since he is now gone from GCC development. -- What|Removed |Added

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2004-12-15 Thread zack at codesourcery dot com
--- Additional Comments From zack at codesourcery dot com 2004-12-16 02:16 --- Subject: Re: gcc and UCN in identifiers: bug PR 9449 Al Simons <[EMAIL PROTECTED]> writes: > Hi, Zack. > > I'm looking into adding UCN support for identifiers into the HP > C/C++ compiler, and wondered if th

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2004-12-15 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2004-12-16 02:36 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) "zack at codesourcery dot com" <[EMAIL PROTECTED]> writes: | Joseph Myers insists that this situation cannot arise, because | C99/C++'s lists

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2004-12-15 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2004-12-16 02:54 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) On Thu, 16 Dec 2004, zack at codesourcery dot com wrote: > Joseph Myers insists that this situation cannot arise, because > C99/C++'s lists of va

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2004-12-15 Thread zack at codesourcery dot com
--- Additional Comments From zack at codesourcery dot com 2004-12-16 03:03 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) Because of the ABI implications, I consider it completely unacceptable to implement this feature according to the letter of C99 or C++98. Ever. O

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2004-12-16 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2004-12-16 12:33 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) On Thu, 16 Dec 2004, zack at codesourcery dot com wrote: > Because of the ABI implications, I consider it completely unacceptable Which ABI impl

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2004-12-16 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2004-12-16 23:04 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) The following example illustrates the problems with lack of normalisation. (I still expect WG14 and WG21 to consider the lack of normalisation t

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2004-12-16 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2004-12-16 14:23 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) On examination of the different lists in C and C++, I'd add the use of UCNs accepted in one language only to the cases that should receive a def

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-01-06 Thread zack at gcc dot gnu dot org
--- Additional Comments From zack at gcc dot gnu dot org 2005-01-07 07:10 --- Joseph - I never properly answered your question in comment #7, although arguably the answer is already in comment #4. I should mention I take as a basic premise that without exception, a sequence of UCNs and

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-01-07 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-01-07 10:27 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) On Fri, 7 Jan 2005, zack at gcc dot gnu dot org wrote: > An obvious rebuttal to this is that the compiler used in step 4 is broken. As > you say

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-01-07 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-01-07 14:27 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) "joseph at codesourcery dot com" <[EMAIL PROTECTED]> writes: | I've had no on-list response yet to the query about this I sent to the | WG14

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-01-07 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-01-07 15:01 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) On Fri, 7 Jan 2005, gdr at integrable-solutions dot net wrote: > > --- Additional Comments From gdr at integrable-solutions dot net > 2005

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-01-07 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-01-07 15:39 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) "joseph at codesourcery dot com" <[EMAIL PROTECTED]> writes: | I've now sent it to c++std-compat (having checked that the C++ list of | char

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-01-07 Thread geoffk at gcc dot gnu dot org
--- Additional Comments From geoffk at gcc dot gnu dot org 2005-01-08 02:20 --- So, just to be clear on this, the translation unit: const char * \u00c5 = "a-ring"; float \u212b = 1e-10; 1. Is a valid translation unit in C99? 2. Invokes undefined behaviour? 3. Requires a diagnostic? Lo

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-01-07 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-01-08 04:11 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) Doug Gwyn has now said It was certainly the original intent of C99 that identifiers would match only if encoded identically. It would probab

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-01-07 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-01-08 04:45 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) "joseph at codesourcery dot com" <[EMAIL PROTECTED]> writes: | Subject: Re: UCNs not recognized in identifiers | (c++/c99) | | Doug Gwyn h

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-01-07 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-01-08 05:32 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) On Sat, 8 Jan 2005, gdr at integrable-solutions dot net wrote: > Joseph -- > > You said you resent your message to c++std-compat. I don't bel

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-01-08 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-01-09 03:20 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) "joseph at codesourcery dot com" <[EMAIL PROTECTED]> writes: | --- Additional Comments From joseph at codesourcery dot com 2005-01-08 0

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-09-15 Thread geoffk at gcc dot gnu dot org
--- Additional Comments From geoffk at gcc dot gnu dot org 2005-09-15 22:34 --- (In reply to comment #39) > Another reason why spelling needs preserving (in addition to implementing # > correctly) is for the constraints on duplicate macro definitions. > > #define foo \u00c1 > #define fo

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-09-15 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-09-15 22:53 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) geoffk at gcc dot gnu dot org wrote:- > > --- Additional Comments From geoffk at gcc dot gnu dot org 2005-09-15 > 22:34 --- > (In repl

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-09-15 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-09-15 22:53 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) On Thu, 15 Sep 2005, geoffk at gcc dot gnu dot org wrote: > --- Additional Comments From geoffk at gcc dot gnu dot org 2005-09-15 > 22:34 -

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-09-15 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-09-15 22:58 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) joseph at codesourcery dot com wrote:- > I don't believe I said I'd file a DR unless I saw a defect. There is no > defect because models A or C

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-09-15 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-09-15 23:37 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) On Thu, 15 Sep 2005, neil at daikokuya dot co dot uk wrote: > > Yes, "spelling" is meant in terms of the source code characters. > > The idea

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-09-15 Thread geoffk at geoffk dot org
--- Additional Comments From geoffk at geoffk dot org 2005-09-16 00:01 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) On 15/09/2005, at 3:53 PM, joseph at codesourcery dot com wrote: > Yes, "spelling" is meant in terms of the source code characters. > The idea is t

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2014-11-05 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9449 --- Comment #47 from Joseph S. Myers --- Author: jsm28 Date: Wed Nov 5 16:19:10 2014 New Revision: 217144 URL: https://gcc.gnu.org/viewcvs?rev=217144&root=gcc&view=rev Log: Enable -fextended-identifiers by default. As proposed at

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2014-11-05 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9449 Joseph S. Myers changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2014-11-06 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9449 --- Comment #49 from Joseph S. Myers --- Author: jsm28 Date: Thu Nov 6 21:08:52 2014 New Revision: 217202 URL: https://gcc.gnu.org/viewcvs?rev=217202&root=gcc&view=rev Log: Preserve original spellings of extended identifiers. This patch makes c

Re: [Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-01-07 Thread Gabriel Dos Reis
"joseph at codesourcery dot com" <[EMAIL PROTECTED]> writes: | I've now sent it to c++std-compat (having checked that the C++ list of | characters also includes combining characters in more than one combining | class so the same issues can arise there at least in principle, whether or | not the

Re: [Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-09-15 Thread Neil Booth
geoffk at gcc dot gnu dot org wrote:- > > --- Additional Comments From geoffk at gcc dot gnu dot org 2005-09-15 > 22:34 --- > (In reply to comment #39) > > Another reason why spelling needs preserving (in addition to implementing # > > correctly) is for the constraints on duplicate macr