Re: [PATCH] teach gengtype about 'mutable'

2019-10-15 Thread Richard Biener
Yes, it is. :) On Mon, Oct 14, 2019 at 10:09 PM Nathan Sidwell wrote: > > On 10/14/19 3:46 PM, Jeff Law wrote: > > On 10/14/19 6:09 AM, Nathan Sidwell wrote: > >> On 10/14/19 7:16 AM, Richard Biener wrote: > >>> On Sun, Oct 13, 2019 at 4:45 PM Nathan Sidwell wrote: > > In constifying

Re: [PATCH] teach gengtype about 'mutable'

2019-10-14 Thread Nathan Sidwell
On 10/14/19 3:46 PM, Jeff Law wrote: On 10/14/19 6:09 AM, Nathan Sidwell wrote: On 10/14/19 7:16 AM, Richard Biener wrote: On Sun, Oct 13, 2019 at 4:45 PM Nathan Sidwell wrote: In constifying some more of line-map I discovered gengtype didn't know mutable. Added thusly. mutable is bad. 

Re: [PATCH] teach gengtype about 'mutable'

2019-10-14 Thread Jeff Law
On 10/14/19 6:09 AM, Nathan Sidwell wrote: > On 10/14/19 7:16 AM, Richard Biener wrote: >> On Sun, Oct 13, 2019 at 4:45 PM Nathan Sidwell wrote: >>> >>> In constifying some more of line-map I discovered gengtype didn't >>> know mutable. >>> Added thusly. >> >> mutable is bad.  Why do you want to

Re: [PATCH] teach gengtype about 'mutable'

2019-10-14 Thread Nathan Sidwell
On 10/14/19 7:16 AM, Richard Biener wrote: On Sun, Oct 13, 2019 at 4:45 PM Nathan Sidwell wrote: In constifying some more of line-map I discovered gengtype didn't know mutable. Added thusly. mutable is bad. Why do you want to use it? the line map info has a caching field. mutable is

Re: [PATCH] teach gengtype about 'mutable'

2019-10-14 Thread Richard Biener
On Sun, Oct 13, 2019 at 4:45 PM Nathan Sidwell wrote: > > In constifying some more of line-map I discovered gengtype didn't know > mutable. > Added thusly. mutable is bad. Why do you want to use it? > nathan > > -- > Nathan Sidwell

[PATCH] teach gengtype about 'mutable'

2019-10-13 Thread Nathan Sidwell
In constifying some more of line-map I discovered gengtype didn't know mutable. Added thusly. nathan -- Nathan Sidwell 2019-10-13 Nathan Sidwell * gengtype-lex.l (CXX_KEYWORD): Add 'mutable'. Index: gcc/gengtype-lex.l ===