[Bug preprocessor/53404] warning column reported on comment in warning during bootstrap

2019-03-01 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53404

Eric Gallager  changed:

   What|Removed |Added

 CC||dmalcolm at gcc dot gnu.org,
   ||dodji at gcc dot gnu.org

--- Comment #6 from Eric Gallager  ---
cc-ing diagnostics maintainers

[Bug preprocessor/53404] warning column reported on comment in warning during bootstrap

2017-11-09 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53404

Eric Gallager  changed:

   What|Removed |Added

   Keywords||build, diagnostic
 Status|WAITING |NEW

--- Comment #5 from Eric Gallager  ---
(In reply to Eric Gallager from comment #4)
> (In reply to Eric Gallager from comment #3)
> > (In reply to Manuel López-Ibáñez from comment #2)
> > > I don't see this any longer.
> > 
> > I think I might've seen this before, but I'll have to double-check the next
> > time I bootstrap to make sure
> 
> The warnings I get from gengtype-lex.c when bootstrapping are now:
> 
> ../../gcc/gengtype-lex.l: In function ‘int yylex(const char**)’:
> gengtype-lex.c:287:13: warning: this statement may fall through
> [-Wimplicit-fallthrough=]
>   *yy_cp = '\0'; \
>   ~~~^~~
> ../../gcc/gengtype-lex.l:116:1: note: in expansion of macro
> ‘YY_DO_BEFORE_ACTION’
>  *yylval = XDUPVAR (const char, yytext, yyleng, yyleng + 1);
>  ^   ~~~
> ../../gcc/gengtype-lex.l:113:1: note: here
>  "~" |
>  ^~~~
> gengtype-lex.c:287:13: warning: this statement may fall through
> [-Wimplicit-fallthrough=]
>   *yy_cp = '\0'; \
>   ~~~^~~
> ../../gcc/gengtype-lex.l:133:1: note: in expansion of macro
> ‘YY_DO_BEFORE_ACTION’
>  
>  ^  
> ../../gcc/gengtype-lex.l:131:1: note: here
>  "ENUM_BITFIELD"{WS}?"("{WS}?{ID}{WS}?")" {
>  ^~~~
> 
> ...which is no longer in a comment, but it still seems like there's some
> wrong location information involved. Separate issue or the same thing?

I'm gonna assume it's the same thing and confirm this.

[Bug preprocessor/53404] warning column reported on comment in warning during bootstrap

2017-08-09 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53404

--- Comment #4 from Eric Gallager  ---
(In reply to Eric Gallager from comment #3)
> (In reply to Manuel López-Ibáñez from comment #2)
> > I don't see this any longer.
> 
> I think I might've seen this before, but I'll have to double-check the next
> time I bootstrap to make sure

The warnings I get from gengtype-lex.c when bootstrapping are now:

../../gcc/gengtype-lex.l: In function ‘int yylex(const char**)’:
gengtype-lex.c:287:13: warning: this statement may fall through
[-Wimplicit-fallthrough=]
  *yy_cp = '\0'; \
  ~~~^~~
../../gcc/gengtype-lex.l:116:1: note: in expansion of macro
‘YY_DO_BEFORE_ACTION’
 *yylval = XDUPVAR (const char, yytext, yyleng, yyleng + 1);
 ^   ~~~
../../gcc/gengtype-lex.l:113:1: note: here
 "~" |
 ^~~~
gengtype-lex.c:287:13: warning: this statement may fall through
[-Wimplicit-fallthrough=]
  *yy_cp = '\0'; \
  ~~~^~~
../../gcc/gengtype-lex.l:133:1: note: in expansion of macro
‘YY_DO_BEFORE_ACTION’

 ^  
../../gcc/gengtype-lex.l:131:1: note: here
 "ENUM_BITFIELD"{WS}?"("{WS}?{ID}{WS}?")" {
 ^~~~

...which is no longer in a comment, but it still seems like there's some wrong
location information involved. Separate issue or the same thing?

[Bug preprocessor/53404] warning column reported on comment in warning during bootstrap

2017-08-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53404

Eric Gallager  changed:

   What|Removed |Added

 CC||egallager at gcc dot gnu.org

--- Comment #3 from Eric Gallager  ---
(In reply to Manuel López-Ibáñez from comment #2)
> I don't see this any longer.

I think I might've seen this before, but I'll have to double-check the next
time I bootstrap to make sure

[Bug preprocessor/53404] warning column reported on comment in warning during bootstrap

2016-04-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53404

Manuel López-Ibáñez  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2016-04-02
 CC||manu at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #2 from Manuel López-Ibáñez  ---
I don't see this any longer.

[Bug preprocessor/53404] warning column reported on comment in warning during bootstrap

2012-05-18 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53404

Andi Kleen andi-gcc at firstfloor dot org changed:

   What|Removed |Added

  Component|c   |preprocessor

--- Comment #1 from Andi Kleen andi-gcc at firstfloor dot org 2012-05-18 
16:52:59 UTC ---
Probably more a preprocessor problem